Browse Source

[IMP] make quantity default value to 1

pull/1/head
houssine 6 years ago
parent
commit
172b7b1680
  1. 1
      easy_my_coop/models/coop.py

1
easy_my_coop/models/coop.py

@ -204,6 +204,7 @@ class subscription_request(models.Model):
ordered_parts = fields.Integer(string='Number of Share', ordered_parts = fields.Integer(string='Number of Share',
required=True, required=True,
readonly=True, readonly=True,
default=1,
states={'draft': [('readonly', False)]}) states={'draft': [('readonly', False)]})
address = fields.Char(string='Address', address = fields.Char(string='Address',
required=True, required=True,

Loading…
Cancel
Save