summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/product_template.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-10-27 09:44:48 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-10-27 09:44:48 +0700
commit742213021f5e301518512c4f190b91df8182337a (patch)
treef97d2d85811338220ca6d20482d18930d976b08b /indoteknik_custom/models/product_template.py
parentca21d92d64d9d8574cbfa4c227989f05d6ca9f0b (diff)
parent8e79387dd2f1172c3ee1f2aa4588ae71d21ea36d (diff)
Merge commit '8e79387dd2f1172c3ee1f2aa4588ae71d21ea36d'
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
-rwxr-xr-xindoteknik_custom/models/product_template.py2
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: