Commit Graph

12 Commits

Author SHA1 Message Date
Xavier Morel 2474a91bc9 [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
2015-09-15 14:38:45 +02:00
Xavier Morel 95e56a109d [ADD] doc: new theme
Pretty much completely rewritten theme with custom HTML translator and a
few parts of the old theme extracted to their own extensions.

Banner images thought not to be that huge after all, and not worth the
hassle of them living in a different repository.

co-authored with @stefanorigano
2015-07-07 11:22:50 +02:00
xmo-odoo d87aedb731 [FIX] doc: missing self params in examples 2015-02-04 14:34:13 +01:00
Xavier Morel 4e62515819 [IMP] doc: old/new API clarifications 2015-01-26 15:33:44 +01:00
Tymoteusz Motylewski f0c024a6f7 [FIX] doc: incorrect class access in new api guide
When creating a class with the new API, we should use models.Model
instead of just Model.

closes #3713
2014-11-18 11:18:37 +01:00
Xavier Morel 95c8250992 [IMP] doc: try to make some bits of the porting guide less confusing 2014-11-17 15:18:14 +01:00
Xavier Morel 1338f3af35 [IMP] doc: move old API sections to orm toplevel
also move porting checklist/doc/thing to bottom of document, it's mostly
for seasoned or internal developers
2014-11-17 15:14:22 +01:00
Xavier Morel e7b6d0bda9 [ADD] doc: guide to the new API
Raw API documentation is not sufficient for people to learn the working
principles of the API, especially when they already know the old one. And some
things have changed since the opendays so the presentations don't reflect the
current state of affairs.

Closes #3483
2014-11-07 14:42:33 +01:00
Tymoteusz Motylewski 2b8cb4fa89 [ADD] doc: document domain operators, fix typos
* Add description for all allowed operators.
* Improve wording of domain documentation and fix spelling.
2014-10-14 11:14:06 +02:00
Xavier Morel d7f2cc2483 [REM] undocument removed method add_default_value 2014-10-14 11:12:57 +02:00
Xavier Morel c5fbb47abf [ADD] doc: model inheritance stuff 2014-09-09 09:19:32 +02:00
Raphael Collet 2ad092b5e5 [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00