diff options
| author | Thibault Delavallée <tde@odoo.com> | 2020-01-22 11:59:32 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-01-28 10:54:46 +0000 |
| commit | dd1551850c583c748e42e40b35a5bfbb05e2bb39 (patch) | |
| tree | a39033c2c8041314579bb5b6183500c74a65aad2 /addons/event/models/event_event.py | |
| parent | 3b1c2566ed7ae9a4e7c71533a5ecd8e60c15ad44 (diff) | |
[FIX] event: fix seats_max field not editable
Since 412ff994f1120457c912aad487265e3de8a9f35a seats_max field of event cannot be modified as it
is always readonly. It should instead not be readonly as we consider people
could change it whenever they want.
LINKS
Task ID 2177281 (support tickets directly in event)
Prepares Community PR odoo/odoo#43488
Closes Community PR odoo/odoo#44066
Diffstat (limited to 'addons/event/models/event_event.py')
| -rw-r--r-- | addons/event/models/event_event.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/event/models/event_event.py b/addons/event/models/event_event.py index 0e8f6b3cf34..2a3a4597c9d 100644 --- a/addons/event/models/event_event.py +++ b/addons/event/models/event_event.py @@ -117,7 +117,6 @@ class EventEvent(models.Model): # Seats and computation seats_max = fields.Integer( string='Maximum Attendees Number', - readonly=True, help="For each event you can define a maximum registration of seats(number of attendees), above this numbers the registrations are not accepted.") seats_availability = fields.Selection( [('limited', 'Limited'), ('unlimited', 'Unlimited')], |
