Browse Source

[PEP8] fix pep8 warning

pull/4/head
houssine 6 years ago
parent
commit
f2597b3220
  1. 3
      easy_my_coop/models/operation_request.py

3
easy_my_coop/models/operation_request.py

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

Loading…
Cancel
Save