diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-25 15:17:15 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-25 15:17:15 +0700 |
| commit | e7ff231d611df44b71cbd497424b6077b1c88a87 (patch) | |
| tree | b0577072e8f74570b7acc64159f5c50cc903e993 /indoteknik_custom/models/purchase_order_line.py | |
| parent | 447b8587ff5203e7ee0b27967bf27d2e4bf9ab48 (diff) | |
fix miss compute margin po
Diffstat (limited to 'indoteknik_custom/models/purchase_order_line.py')
| -rwxr-xr-x | indoteknik_custom/models/purchase_order_line.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchase_order_line.py b/indoteknik_custom/models/purchase_order_line.py index 39aeba0f..95e85122 100755 --- a/indoteknik_custom/models/purchase_order_line.py +++ b/indoteknik_custom/models/purchase_order_line.py @@ -29,6 +29,7 @@ class PurchaseOrderLine(models.Model): qty_available_store = fields.Float(string='Available') suggest = fields.Char(string='Suggest') price_vendor = fields.Float(string='Price Vendor', compute='compute_price_vendor') + so_line_id = fields.Many2one('sale.order.line', string='ID SO Line') def compute_price_vendor(self): for line in self: |
