diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2026-03-14 02:19:48 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2026-03-14 02:19:48 +0000 |
| commit | 3198d05a30832c94b20986f8ff9ca479efa57cc1 (patch) | |
| tree | f603dc225e7782e3c047bce8672901ba8a0f568c | |
| parent | ae16d1d966242fb33a96619a77895839aa370622 (diff) | |
| parent | d9e637e5b3b398a0e0d6cae6631bb65358b8feef (diff) | |
Merged in CR/Sourcing-Job (pull request #508)
<hafid> fix sjo request add field & bom logic
| -rw-r--r-- | indoteknik_custom/models/sourcing_job_order.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/sourcing_job_order.py b/indoteknik_custom/models/sourcing_job_order.py index 1d55ae6a..019b6b08 100644 --- a/indoteknik_custom/models/sourcing_job_order.py +++ b/indoteknik_custom/models/sourcing_job_order.py @@ -1028,6 +1028,8 @@ class SourcingJobOrderLine(models.Model): rec.product_type = template.type or rec.product_type rec.brand_id = product.x_manufacture.id or rec.brand_id rec.product_category = template.categ_id.id or rec.product_category + rec.web_tax_id = template.web_tax_id.id or rec.web_tax_id + rec.uom_id = template.uom_id.id or rec.uom_id rec.product_class = [(6, 0, template.public_categ_ids.ids)] if template.public_categ_ids else [] pricelist = self.env['purchase.pricelist'].search([('product_id', '=', product.id), ('is_winner', '=', True)], limit=1) |
