Browse Source

[FIX] fix required field

pull/1/head
houssine 6 years ago
parent
commit
4a9ef70ff3
  1. 1
      easy_my_coop/models/coop.py

1
easy_my_coop/models/coop.py

@ -69,6 +69,7 @@ class subscription_request(models.Model):
@api.model
def create_comp_sub_req(self, vals):
vals["name"] = vals['company_name']
if not vals.get('partner_id'):
cooperator = self.env['res.partner'].get_cooperator_from_crn(vals.get('company_register_number'))
if cooperator:

Loading…
Cancel
Save