Browse Source

[IMP] make related field short name read only in share line

pull/1/head
houssine 6 years ago
parent
commit
19c4cd3338
  1. 3
      easy_my_coop/models/coop.py

3
easy_my_coop/models/coop.py

@ -555,7 +555,8 @@ class share_line(models.Model):
required=True,
readonly=True)
share_short_name = fields.Char(related='share_product_id.short_name',
string='Share type name')
string='Share type name',
readonly=True)
share_unit_price = fields.Float(string='Share price',
readonly=True)
effective_date = fields.Date(string='Effective Date',

Loading…
Cancel
Save