Browse Source

Update agreement/models/agreement.py

Co-Authored-By: max3903 <mchambreuil@opensourceintegrators.com>
pull/293/head
Yves Goldberg 6 years ago
committed by GitHub
parent
commit
b5ee7a5ab6
  1. 5
      agreement/models/agreement.py

5
agreement/models/agreement.py

@ -353,6 +353,11 @@ class Agreement(models.Model):
self.sub_model_object_field_id.name,
self.default_value or '\'\'')
self.copyvalue = "${object.%s.%s or %s}" %\
(self.field_id.name,
self.sub_model_object_field_id.name,
self.default_value or '\'\'')
# Used for Kanban grouped_by view
@api.model
def _read_group_stage_ids(self, stages, domain, order):

Loading…
Cancel
Save