diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2023-07-07 08:58:49 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2023-07-07 08:58:49 +0000 |
| commit | 2c0bb838b406503aa6a10cc0c21d474429246e18 (patch) | |
| tree | 56b352d3968d6947b247a7eb8624b124a6ec0933 | |
| parent | 981d77b17338cf1a0fe2d83c69258a9f3cdebe0f (diff) | |
| parent | 2028568c5aba7a63a3dd5e4786d2e78fa77f0906 (diff) | |
Merged in so-purchase-price (pull request #45)
fix bug purchase price so
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index ecd43960..5a3cada9 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -661,6 +661,7 @@ class SaleOrderLine(models.Model): [('product_id', '=', self.product_id.id)], limit=1, order='product_price ASC') line.vendor_id = purchase_price.vendor_id line.tax_id = line.order_id.sales_tax_id + line.purchase_price = purchase_price.product_price def compute_delivery_amt_line(self): for line in self: |
