diff options
| author | Xavier Morel <xmo@odoo.com> | 2015-09-14 16:30:06 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2015-09-15 14:38:45 +0200 |
| commit | 2474a91bc9ce6c0e72fb6d6eaad81610a8b1ac24 (patch) | |
| tree | 2bf825cf87d1e131d95bd4ae163089c10ac6479d /doc/reference | |
| parent | f627199def8c349a6f6c37c96ab99b13792aabc8 (diff) | |
[IMP] doc: recommend not using @api.one
* alter docstring of @api.one to mark it as deprecated for 9.0,
recommend using @api.multi instead
- deprecation notes were not correctly styled, add styling
matching "warning" alerts
* move @api.one down the doc page to deemphasize it
* fix "backend" tutorial to remove all instances of ``@api.one``
closes #8527
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/orm.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/reference/orm.rst b/doc/reference/orm.rst index df216497688..5fbd7a59977 100644 --- a/doc/reference/orm.rst +++ b/doc/reference/orm.rst @@ -766,8 +766,8 @@ Method decorators ================= .. automodule:: openerp.api - :members: one, multi, model, depends, constrains, onchange, returns, - v7, v8 + :members: multi, model, depends, constrains, onchange, returns, + one, v7, v8 .. _reference/orm/fields: |
