diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-05-13 14:56:55 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-05-13 14:56:55 +0700 |
| commit | 2469ee37cfe854f0419a8c3fbabed5bc32bcaa6e (patch) | |
| tree | ef4807012bd9b17ad2c595e9e4a6d4909ef0ffaa /indoteknik_custom/models/purchase_order_sales_match.py | |
| parent | f134f03f0e9998001a6fec44502a1e5a0a6b821b (diff) | |
push
Diffstat (limited to 'indoteknik_custom/models/purchase_order_sales_match.py')
| -rw-r--r-- | indoteknik_custom/models/purchase_order_sales_match.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchase_order_sales_match.py b/indoteknik_custom/models/purchase_order_sales_match.py index ed013dd5..0bd0092b 100644 --- a/indoteknik_custom/models/purchase_order_sales_match.py +++ b/indoteknik_custom/models/purchase_order_sales_match.py @@ -27,6 +27,7 @@ class PurchaseOrderSalesMatch(models.Model): purchase_price_so = fields.Float(string='Purchase Price Sale Order', related='sale_line_id.purchase_price') purchase_price_po = fields.Float('Purchase Price PO', compute='_compute_purchase_price_po') purchase_line_id = fields.Many2one('purchase.order.line', string='Purchase Line', compute='_compute_purchase_line_id') + hold_outgoing_so = fields.Boolean(string='Hold Outgoing SO', related='sale_id.hold_outgoing') def _compute_purchase_line_id(self): for line in self: |
