Commit Graph

58 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
Ludwik Trammer c87daaec09 [FIX] doc: Change one last instance of `date_end` to `date_stop`
References to `date_end`
were previously corrected to `date_stop`,
in revision 98bd673202,
but one of them was missed.

Closes #4463
2015-09-30 11:20:01 +02:00
yannprada f0b8e52320 [FIX] doc: typo 2015-09-24 15:36:30 +02: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
Olivier Laurent 47133c7d3f [ADD] doc: database upgrade API: structure change
1° add a second level of titles because they were too long and
overrided the second column (the 'code column)
2° Add 'double backticks' around some keys
2015-09-14 11:52:12 +02:00
Olivier Laurent 1545591f3b [ADD] doc: database upgrade API 2015-09-10 12:51:47 +02:00
Xavier Morel 374dacf5e6 [FIX] doc: incorrect role syntax 2015-07-07 16:31:48 +02:00
J Bradshaw 2f7ab001e2 [IMP] doc: grammar and readability
Backport of most of #6827 by J Bradshaw with additional
modifications (and some reverts) during review.

closes #6827
2015-07-07 12:09:21 +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 7f2dc11b22 [FIX] doc: states attributes explanation 2015-06-17 15:01:37 +02:00
Jérome Maes b9977ef5d3 [ADD] doc : odoo official coding guidelines. This is the first version of the guidelines. Discussions and conventions are not frozen. 2015-03-31 17:49:41 +02:00
Richard Mathot 6ef068a811 [FIX] doc: exception for date/datetime in kanban views 2015-03-26 11:13:05 +01:00
xmo-odoo 3956210a8b [IMP] qweb doc: debugging directives
fixes #4547
2015-03-03 17:02:33 +01:00
Sathors 1b6345f4f2 [ADD] doc: advanced options category including auto-reload.
So far there is no info about the "Advanced Options" category of the
--help.  Added only the --auto-reload, others can be added later.
2015-03-02 15:23:47 +01:00
xmo-odoo d87aedb731 [FIX] doc: missing self params in examples 2015-02-04 14:34:13 +01:00
Jeremy Kersten 4a698da8b3 [IMP] qweb: Allow to propagate value to variables outside the loop.
If the variable was existing outside the context of the ``foreach``,
the value is copied at the end of the foreach into the global context.

Fix #4461 - Q74531 - Q71486 - Q71675
2015-01-30 14:26:48 +01:00
Damien Bouvy ec6fa5d3d9 [IMP] doc: documentation for qweb reports
closes #4876
2015-01-27 11:49:02 +01:00
Xavier Morel 4e62515819 [IMP] doc: old/new API clarifications 2015-01-26 15:33:44 +01:00
Xavier Morel 0aab81cd3a [IMP] doc: move manifest description from backend tutorial to manifest doc 2015-01-19 15:51:16 +01:00
Xavier Morel f020c5f534 [ADD] documentation for un-deprecated --log-level 2015-01-19 11:03:35 +01:00
Henri-Maxime Ducoulombier 0baa13232c [FIX] doc: typo in qweb reference
fixes #4711
2015-01-15 15:27:33 +01:00
Xavier Morel 9808ca3e31 [IMP] test discovery, documentation, deprecation warnings
* document and warn that checks and fast_suite in tests sub-packages are
  deprecated and have no effect
* avoid iterating all currently loaded modules when looking for test
  modules in a tests sub-package
* replace use of __import__ by importlib

Fixes #3152
2015-01-15 13:28:25 +01:00
Julien De Coster 03c8f4c388 [FIX] Server Action examples in reference doc 2015-01-12 11:04:41 +01:00
Antony Lesuisse 98bd673202 [FIX] doc: views calendar view attribute name
Courtesy of: Michiels Denis

Closes: #4249
2014-12-23 00:22:41 +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
Abhishek Jaiswal b374c51474 [ADD] document @default_order in list views
closes #2623
2014-12-02 16:59:23 +01:00
Raphael Collet 4d6fb49b8f [IMP] doc: move translations to reference documentation 2014-12-02 09:40:59 +01:00
Xavier Morel cb9ff8c630 [ADD] doc: debug flag 2014-11-28 12:14:22 +01:00
Xavier Morel ec7736a051 [ADD] ws doc: introspection, reports and workflows
* use static imports in java examples to make them terser
* inline ``domain`` in java and php example to make examples more
  self-contained
* try to extend/improve Model.write's docstring
* add convenience kwarg to fields_get, mostly for user-driven
  introspection

Closes #3689
2014-11-24 08:54:55 +01:00
Henri-Maxime Ducoulombier 53bfc709e7 [IMP] doc: incorrect value documented
closes #3761
2014-11-19 16:50:56 +01:00
xmo-odoo d80f2a716b [IMP] doc: try to clarify what $as is in qweb doc 2014-11-18 13:53:20 +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 f302c123ea [IMP] doc: indexify index
* opt-in toc navification
* unhide index toctree, it's now back to a list of documents
* remove text thing
2014-11-17 14:07:36 +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
Xavier Morel 03e9a38a1d [IMP] doc: remove guides section, move themes to tutorials and rest to reference
also pass PNGs through crusher, turns out dot produces pretty terrible PNGs
2014-11-03 17:39:24 +01:00
Xavier Morel 45d649e44d [FIX] doc: graph <field> does not use :grouping
see #3403 and 7ad4af8
2014-11-03 13:02:33 +01:00
Xavier Morel a8959295da [CHG] doc: promote individual view types to document toplevel 2014-11-03 13:02:32 +01:00
Nicolas Bustillos d0ff6df2f4 [FIX] doc: fit code example to new API
When using this code as is, the 'ids' variable throws an exception for not
being defined. In the new API, 'ids' is no longer given as a function variable
but as a variable within 'self'.

close #3406
2014-11-03 10:19:30 +01:00
Richard Mathot d80376a43d [DOC] cmdline: database-related parameters 2014-10-21 10:07:54 +02: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 bc59cfce61 [IMP] doc: add testing reference and improve docstrings 2014-10-09 15:38:36 +02:00
Xavier Morel 5d64577f57 [ADD] actions documentation 2014-10-08 17:29:35 +02:00
Xavier Morel 9cd2693286 [FIX] JS tutorial 2014-10-07 10:23:50 +02:00
Xavier Morel 62c9589485 [ADD] port webclient RPC doc from web/doc 2014-10-07 10:22:53 +02:00
Xavier Morel 62fcce9054 [ADD] JS widgets reference documentation
Also fixed Widget#alive's behavior and tested it
2014-10-07 10:21:44 +02:00
Xavier Morel 5954335222 [ADD] pyqweb-specific stuff, pyqweb APIDoc 2014-10-06 19:13:46 +02:00
Xavier Morel d5e3d121e3 [ADD] qweb: call directive's body
* __content__ can't be used in Python implementation because safe_eval, so use
  ``0`` from Python implementation instead
* remove postfix from t-call tests because due to implementation details all
  whitespace crap following a t-name is added to rendered template in Python
  impl, and don't want to normalize whitespace.
2014-10-06 19:13:45 +02:00