diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-10-26 16:49:37 +0700 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-10-26 16:49:37 +0700 |
| commit | 5b8509a6ff49db845e2ce625506d8e4837a62681 (patch) | |
| tree | 949bd0b41cf6949215a8b3b1d2beec3fe13435ed /indoteknik_custom/models/product_template.py | |
| parent | eca615138b5259114073e29e06d4499edaadbc69 (diff) | |
compute virtual quantity
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
| -rwxr-xr-x | indoteknik_custom/models/product_template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py index 219eda5c..156cf381 100755 --- a/indoteknik_custom/models/product_template.py +++ b/indoteknik_custom/models/product_template.py @@ -31,7 +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) + virtual_qty = fields.Float(string='Virtual Qty', default=0) def _compute_qty_stock_vendor(self): for product_template in self: |
