diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-10-26 13:46:18 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-10-26 13:46:18 +0700 |
| commit | 30b673c510483934e215858dc928097cd20dea21 (patch) | |
| tree | ab030257fef952c6d3a29bacb3dc7b33ec06175d /indoteknik_custom/models/product_template.py | |
| parent | 259497e322a2d7f482e3e345725a19ecc42ef96c (diff) | |
| parent | eca615138b5259114073e29e06d4499edaadbc69 (diff) | |
Merge branch 'master'
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
| -rwxr-xr-x | indoteknik_custom/models/product_template.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py index 7b5d07f4..219eda5c 100755 --- a/indoteknik_custom/models/product_template.py +++ b/indoteknik_custom/models/product_template.py @@ -31,6 +31,7 @@ class ProductTemplate(models.Model): product_rating = fields.Float('Product Rating', help="Digunakan untuk sorting product di website", default=0.0) last_calculate_rating = fields.Datetime("Last Calculate Rating") web_price_sorting = fields.Float('Web Price Sorting', help='Hanya digunakan untuk sorting di web, harga tidak berlaku', default=0.0) + qty_vendor = fields.Float(string='Qty Vendor', default=0) def _compute_qty_stock_vendor(self): for product_template in self: |
