-
-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] delivery_send_to_shipper_at_operation
When duplicating an already send picking, allow to register it at the shipper
- Loading branch information
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Copyright 2021 Camptocamp SA | ||
# Copyright 2023 Jacques-Etienne Baudoux (BCIM) <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) | ||
|
||
from lxml import etree | ||
|
@@ -16,7 +17,7 @@ | |
class StockPicking(models.Model): | ||
_inherit = "stock.picking" | ||
|
||
delivery_notification_sent = fields.Boolean(default=False) | ||
delivery_notification_sent = fields.Boolean(default=False, copy=False) | ||
|
||
def _send_confirmation_email(self): | ||
for picking in self: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
* Sébastien Alix <[email protected]> | ||
* `Trobz <https://trobz.com>`_: | ||
* Nguyen Hoang Hiep <[email protected]> | ||
* Jacques-Etienne Baudoux (BCIM) <[email protected]> |