summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-01-10 10:30:07 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-01-10 10:30:07 +0700
commit1641ce147735a3548ddef2982dfb6873955dfebc (patch)
tree8e5aeeaaa71aca212efbf55420d264398b850aaf /indoteknik_custom/models
parente4abbde470d917d04256c9804b80d82194d73b51 (diff)
add manufacture in sales > product pricelist item
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/product_pricelist.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/product_pricelist.py b/indoteknik_custom/models/product_pricelist.py
index 7b850d57..190887cf 100644
--- a/indoteknik_custom/models/product_pricelist.py
+++ b/indoteknik_custom/models/product_pricelist.py
@@ -15,6 +15,8 @@ class ProductPricelist(models.Model):
class ProductPricelistItem(models.Model):
_inherit = 'product.pricelist.item'
+ manufacture_id = fields.Many2one('x_manufactures', string='Manufacture')
+
@api.onchange('fixed_price','price_discount')
def update_solr_flag(self):
for item in self: