summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormreficent <miquel.raich@eficent.com>2018-09-26 17:39:47 +0000
committerMartin Trigaux <mat@odoo.com>2018-10-10 06:58:01 +0000
commitcfaf1f5ac5b634f32b6a3b65f54bf2e6761ec77c (patch)
tree4741fac8cdd68859c710f785f82610f2f0fec732
parenta543063d07f251ded6fc0414d7de960248c68f12 (diff)
[IMP] doc: fields names shouldn't overwrite python methods
The documentation should be an example of good practices closes odoo/odoo#27262
-rw-r--r--doc/reference/guidelines.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/guidelines.rst b/doc/reference/guidelines.rst
index d7148f3aec2..1ee0c1ac92f 100644
--- a/doc/reference/guidelines.rst
+++ b/doc/reference/guidelines.rst
@@ -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