Browse Source

[FIX] sometime product template and product product diverge.

we avoid such case by get product product for transfer too
pull/60/head
houssine 5 years ago
parent
commit
28977951ad
  1. 2
      easy_my_coop/models/operation_request.py

2
easy_my_coop/models/operation_request.py

@ -115,7 +115,7 @@ class operation_request(models.Model):
def get_total_share_dic(self, partner):
total_share_dic = {}
prod_template_obj = self.env['product.template']
prod_template_obj = self.env['product.product']
share_products = prod_template_obj.search([('is_share', '=', True)])
for share_product in share_products:

Loading…
Cancel
Save