[IMP] doc: fields names shouldn't overwrite python methods
The documentation should be an example of good practices closes odoo/odoo#27262
This commit is contained in:
committed by
Martin Trigaux
parent
a543063d07
commit
cfaf1f5ac5
@@ -862,7 +862,7 @@ Symbols and Conventions
|
||||
seats_available = fields.Integer(oldname='register_avail', string='Available Seats',
|
||||
store=True, readonly=True, compute='_compute_seats')
|
||||
price = fields.Integer(string='Price')
|
||||
type = fields.Selection(string="Type", selection='_selection_type')
|
||||
event_type = fields.Selection(string="Type", selection='_selection_type')
|
||||
|
||||
# compute and search fields, in the same order of fields declaration
|
||||
@api.multi
|
||||
|
||||
Reference in New Issue
Block a user