summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/stock_vendor.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/models/stock_vendor.py')
-rwxr-xr-xindoteknik_custom/models/stock_vendor.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/indoteknik_custom/models/stock_vendor.py b/indoteknik_custom/models/stock_vendor.py
index f214a5e1..075b63d2 100755
--- a/indoteknik_custom/models/stock_vendor.py
+++ b/indoteknik_custom/models/stock_vendor.py
@@ -50,9 +50,3 @@ class StockVendor(models.Model):
for template in templates:
template.virtual_qty = template.qty_stock_vendor or 0
_logger.info("Update Stock Product Template %s : %s" % (template.id, template.virtual_qty))
-
- # @api.onchange('quantity')
- # def update_solr_flag(self):
- # for stock in self:
- # if stock.product_variant_id.product_tmpl_id.solr_flag == 1:
- # stock.product_variant_id.product_tmpl_id.solr_flag = 2