diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-09-25 15:36:04 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-09-25 15:36:04 +0700 |
| commit | f504c45874db3e7a52e33a63911527931896fc07 (patch) | |
| tree | 7d66365676bb254df0c299b6fcc2ea1dfc93c97d /indoteknik_custom/models/purchase_order_line.py | |
| parent | 1fe1fb9b986db7191f6b90e005ddb30f4973711d (diff) | |
| parent | e7ff231d611df44b71cbd497424b6077b1c88a87 (diff) | |
Merge branch 'production' of https://bitbucket.org/altafixco/indoteknik-addons into production
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: |
