Skip to content

Commit

Permalink
[FIX] delivery_send_to_shipper_at_operation
Browse files Browse the repository at this point in the history
When duplicating an already send picking, allow to register it at the
shipper
  • Loading branch information
jbaudoux committed Oct 12, 2023
1 parent 03de721 commit 6490c23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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
Expand All @@ -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:
Expand Down
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]>

0 comments on commit 6490c23

Please sign in to comment.