Skip to content

Commit

Permalink
[14.0][IMP] custom_p:
Browse files Browse the repository at this point in the history
  • Loading branch information
Berezi authored and anajuaristi committed Dec 20, 2024
1 parent 9b29a37 commit 85853b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_p/models/sale_order_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ def _get_invoice_qty(self):
@api.model
def create(self, values):
result = super(SaleOrderLine, self).create(values)
if not self.order_id.commitment_date:
if not result.order_id.commitment_date:
result.order_id.commitment_date = result.order_id.expected_date
return result

0 comments on commit 85853b6

Please sign in to comment.