Browse Source

[IMP] if not effective date has been given we set the effective date.

pull/93/head
houssine 5 years ago
parent
commit
51981e71d6
  1. 1
      easy_my_coop/models/operation_request.py

1
easy_my_coop/models/operation_request.py

@ -225,6 +225,7 @@ class operation_request(models.Model):
effective_date = self.effective_date effective_date = self.effective_date
else: else:
effective_date = self.get_date_now() effective_date = self.get_date_now()
self.effective_date = effective_date
sub_request = self.env['subscription.request'] sub_request = self.env['subscription.request']
for rec in self: for rec in self:

Loading…
Cancel
Save