Commit Graph

29 Commits

Author SHA1 Message Date
Jairo Llopis 4eab4d7868 [DOC] reports: clarification about styles
* correct xpath to add style in report.styles
* informations about style troubleshoot

closes #9105
2015-11-20 15:21:56 +01:00
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
Martin Trigaux b4b373c965 [IMP] doc: better xpath example
The xpath syntax `"//selector` is mostly used in Odoo, is clearer on the meaning
and more flexible about view changes.
Give an example with the mostly used syntax.

Add a tip to indicate the shorter xpath syntax
2015-08-26 12:27:16 +02:00
Anthony Ruhier 75092f0a14 [FIX] doc: typo in backend tutorial 2015-07-30 14:49:44 +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
Martin Trigaux d15322ae34 [FIX] doc: group by filter
The name of the field we are grouping on is inventor_id (cf above), not inventor
2015-06-17 10:25:45 +02:00
Martin Trigaux 22ded0df6b [FIX] doc: less confusing example
The view example for xpath extends a view with the model ir.ui.view
As the content of the view seems to make reference to an object idea.category
and extending the view of a view is not the most clear example, replace the
model by the fictive idea.category
2015-06-16 22:25:36 +02:00
Nicolas Seinlet e7886c6d75 [FIX] doc, new API + kanban error
- fix default_group_by in kanban
- use new api in server actions
- missing @api.multi in @compute example

Closes #6640
2015-05-11 10:17:55 +02:00
Xavier Morel 0aab81cd3a [IMP] doc: move manifest description from backend tutorial to manifest doc 2015-01-19 15:51:16 +01:00
moylop260 8351c6c5ed [IMP] Use explicitly relative imports in backend doc
closes #3336

Implicit relative imports have been removed in Python 3, and developers
should be encouraged to use explicitly relative imports to avoid
confusion between local and global modules

See https://www.python.org/dev/peps/pep-0328 for PEP on the subject with
reasonings and justifications
2015-01-15 15:36:37 +01:00
Xavier Morel f04f409943 [ADD] doc: setup documentation
* Odoo installation from packages or source
* Deployment instructions for production environments
* dbfilter

Add missing support for disabling xmlrpc(/http), useful for WSGI
deployments which require running cron-only Odoo instances.
2014-12-15 16:01:37 +01:00
Nicolas Lempereur 38f0508bba [FIX] doc: typos and code samples from howtos
* The dashboard from the backend howto doesn't specify "name" field
  which causes non-null constraint violation.
* Some useful examples uses idea.idea" model which isn't available in
  8.0 so I replaced them with "note.note".

closes #3993
2014-12-02 16:22:55 +01:00
Xavier Morel 479d94ea14 [IMP] wording and ordering of documentation index 2014-11-28 12:36:04 +01:00
Richard Mathot f636096638 [FIX] doc/backend: typos in example code 2014-11-24 10:22:47 +01:00
Xavier Morel 5ed0739e73 [FIX] doc: latex building
* add latex support for exercise admonition
* latex freezes/crashes on {HEAVY WIDE-HEADED RIGHTWARDS ARROW} so
  replace them by more manual arrows
* add some preamble configuration, may not even be necessary
* generate WS setup code only in HTML output. WS doc in latex still
  isn't great as it displays all 4 languages one after the other,
  ideally they should be tagged or something, so only one language at a
  time is generated in non-HTML outputs
2014-11-17 17:43:26 +01:00
ged-odoo 817ce8f912 [IMP] add link to write method in documentation 2014-11-14 14:38:15 +01:00
Tymoteusz Motylewski 902506ad28 fix typo 2014-10-13 10:42:30 +02:00
Raphael Collet 7190bb7886 [IMP] doc/backend: add example using jsonrpclib 2014-09-09 10:12:00 +02:00
Xavier Morel c5fbb47abf [ADD] doc: model inheritance stuff 2014-09-09 09:19:32 +02:00
Raphael Collet 7be175bad6 [IMP] doc/backend: add example for JSON-RPC interaction 2014-09-08 17:16:10 +02:00
Raphael Collet 913404bf64 [IMP] doc/howtos/backend: small fixes 2014-08-29 08:42:35 +02:00
Raphael Collet 628ebef5b9 [IMP] doc/howtos/backend: fix calendar view, improve search view, fix copy() 2014-08-28 14:46:09 +02:00
Raphael Collet f7aa1ae764 [IMP] doc/howtos/backend: add section on wizards 2014-08-27 16:07:43 +02:00
Raphael Collet 570ea406c8 [IMP] doc/howtos/backend: improve exercises on relational fields 2014-08-27 10:45:56 +02:00
Raphael Collet 8eb6a1128f [IMP] doc/howtos/backend: usage of odoo.py 2014-08-26 08:58:51 +02:00
Raphael Collet 0e74967b9a [IMP] doc/howtos/backend: finalize section on translations, and other small fixes 2014-08-25 15:32:42 +02:00
Raphael Collet f620a67672 [IMP] doc/howtos/backend: add a small section on how to start the server 2014-08-25 11:30:12 +02:00
Raphael Collet 2b3b1c3230 [IMP] doc/howtos/backend: use scaffolding and adapt text and code accordingly 2014-08-24 13:06:51 +02:00
Raphael Collet 2ad092b5e5 [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00