Commit Graph
131 Commits
Author SHA1 Message Date
Jérome Maes dfcbcb02ce [IMP] doc : add python idioms and odoo specific coding guidelines
- add python idioms
- odoo specific guidelines (for ORM, translations, ...) inspired from old guidelines v6.0
- some other best pratices
2016-05-19 14:39:52 +02:00
Jérome Maes b04d6e0ac3 [IMP] doc : expand the coding guidelines
- correct typos
- clarify some points, according to the community comments
- precise the xml notation : record tag vs act_window/menuitem/... tags
- add organization of report, wizard, data/demo, ... (directories and naming conventions)
- new conventions for 'symbols'
- ...

Thanks to @rim-odoo for its grammar extremist review, and @tde-banana-odoo for our long debates about wizard conventions.
2016-05-19 14:39:52 +02:00
Martin Trigaux f47e39edf9 [IMP] doc: add documentation of read_group
Has already a docstring but was not included
2016-05-04 13:42:47 +02:00
Martin Trigaux 842a8e6952 [IMP] doc: add guidelines warning
To prevent huge chunk of modifications for styling reasons (e.g. mass PEP8
commits)
2016-04-26 14:58:31 +02:00
Martin Trigaux eae045949d [IMP] doc: simpler coding: utf-8
According to PEP-263, the -*- is just a variant "using formats recognized by
popular editors".
2016-04-26 14:58:31 +02:00
Martin Trigaux 171f884bdc [FIX] doc: deprecated statusbar_color
Can still be mentionned in documentation but should not be used in example.
2016-04-18 11:47:43 +02:00
Martin Trigaux fe7d5263a5 [IMP] doc: link to bootstrap alerts
Only muted class is missing
2016-04-18 11:47:43 +02:00
Raphael Collet 053a4ab444 [FIX] doc: fix rst indentation 2016-04-14 14:20:19 +02:00
Yenthe 1174cd3fd5 [FIX] doc: Improve english
Some rephrasing to slightly improve the docs.
Closes #11652
2016-04-12 13:05:29 +02:00
Olivier Dony a445fc996b [MERGE] Forward-port saas-6 up to edf81b54b5 2016-04-11 14:38:53 +02:00
Olivier Dony edf81b54b5 [MERGE] Forward-port 8.0 up to bf163700e4 2016-04-11 14:35:49 +02:00
Jos De Graeve b6386a0a7e [FIX] doc: configuration file destination
db_name instead of dbname

Closes #11603
2016-04-06 14:40:03 +02:00
Christophe Simonis a34d496069 [MERGE] forward port of branch saas-6 up to 1431ba2
Also include 2939800ed4 which seems to
have been forgotten during previous forward-ports
2016-03-16 15:30:03 +01:00
Christophe Simonis 1431ba2f9b [MERGE] forward port of branch 8.0 up to 7b7f3fa 2016-03-16 13:15:30 +01:00
Tanguy Charlier 323af2c259 [FIX] Doc: Invalid example in compute doc 2016-03-11 16:49:23 +01:00
Damien Bouvy 18c94cc969 [DOC] report: paperformat available in report declaration
No warning needed concerning the stupid parperformat_id inheritance hack.
2016-03-11 10:39:43 +01:00
Damien Bouvy d69d08cfb1 [DOC] views: calender 'event_open_popup' is disabled by default 2016-03-09 10:35:58 +01:00
Martin Trigaux 1d15a2252a [FIX] doc: sesrver action example
Bad indentation, print is not available
2016-02-17 13:57:23 +01:00
Martin Trigaux d48f43ebff [IMP] doc: better workflow example
- Why is my workflow starting in b?
- It is not, it goes from a to b directly
- But I followed the example of the doc
- It's incomplete
2016-02-17 13:57:13 +01:00
Martin Trigaux d0556808de [FIX] doc: kanban values
The value formats is also available
2016-02-17 13:56:52 +01:00
Martin Trigaux 90fd24b2d3 [FIX] doc: gantt documentation
Tutorial was using gantt view from 8.0
Add documentation in reference section on new attributes
2016-02-17 13:56:04 +01:00
Kevin Chappell 9187dc15e5 [FIX] remove --auto-reload from Documentation
Option --auto-reload was removed (and the corresponding feature bound to
--dev), don't document an option which doesn't exist anymore.

closes #10697
2016-02-17 12:45:27 +01:00
Martin Trigaux 8521ac6cc0 [FIX] doc: missing parameters of gantt view 2016-02-09 22:20:43 +01:00
Martin Trigaux 980cc6363e [FIX] doc: missing mode attribute in calendar doc 2016-02-09 15:56:56 +01:00
Martin Trigaux 7892d99f3a [FIX] all: references to Odoo 8.0 version
In installation script or documentation

Fixes #10052
2015-12-18 15:06:46 +01:00
Christophe Simonis 56a442e205 [MERGE] forward port of branch saas-6 up to dade7e3 2015-11-25 13:26:02 +01:00
Denis Ledoux 32fd520d97 [MERGE] forward port of branch 8.0 up to 6f29cbe 2015-11-23 17:40:15 +01:00
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
Denis Ledoux 56ef99d050 [MERGE] forward port of branch saas-6 up to 105b1c0014 2015-10-23 18:31:55 +02:00
Martin Trigaux 5bb9be5522 [FIX] fullfil -> fulfill 2015-10-09 16:50:45 +02:00
Denis Ledoux 0b678c63a9 [MERGE] forward port of branch 8.0 up to 34ce3e3 2015-10-01 16:47:28 +02:00
Christophe Simonis d750206c49 [MERGE] forward port of branch saas-6 up to e9f1ee4 2015-10-01 15:16:59 +02: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
Olivier Dony af4a60b941 [MERGE] Forward-port 8.0 up to rev. 26d0fe6d9f 2015-09-30 02:53:59 +02:00
Leonardo Rochael Almeida 06b3026bcd [IMP] unittest2 > unittest
The `unittest2` package is simply a backport of `unittest` from the
Standard Library of Python 2.7 to previous versions.

There is no reason to use it any longer.

Closes #6941
2015-09-28 10:37:27 +02:00
yannprada f0b8e52320 [FIX] doc: typo 2015-09-24 15:36:30 +02:00
Christophe Simonis 57168a9e90 [MERGE] forward port of branch saas-6 up to a669433 2015-09-23 14:34:26 +02:00
Denis Ledoux a3648fd23a [MERGE] forward port of branch 8.0 up to aabbdc7 2015-09-21 16:01:58 +02:00
Olivier Laurent 883390863a [FIX] doc: upgrade_api: slight fix
small fix in example for creating a request
DB_SOURCE was not defined. FILENAME was to be used.

Also reordered the fields so as to have the most important ones at the
beginning.
2015-09-15 14:58:23 +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 fb91433e88 [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 10:38:47 +02:00
Christophe Simonis 88eaa7dad8 [MERGE] forward port of branch 8.0 up to 35233db 2015-09-11 17:28:07 +02:00
Olivier Laurent 1545591f3b [ADD] doc: database upgrade API 2015-09-10 12:51:47 +02:00
Olivier Laurent abe9103db8 [ADD] doc: database upgrade API 2015-09-10 09:53:15 +02:00
Olivier Dony a3732aef6e [LEGAL] Switch to LGPLv3 License
99% of the contributors have signed the CLA
The rest of them have been contacted by email
and are free to either sign the CLA or ask
for their contributions to be removed from
Odoo Community Edition.

See also:
- https://www.odoo.com/cla
- https://www.odoo.com/blog/odoo-news-5/post/adapting-our-open-source-license-245
2015-09-08 17:58:38 +02:00
Aaron Bohy 5ebcc01fda [REF] *: search view: remove deprecated icon from filters 2015-08-04 12:16:16 +02:00
Aaron Bohy a41cbba8f1 [FIX] crm,doc: remove whitespace in view_mode
Fixes 4 actions where a whitespace was inserted in the view_mode, resulting in
an unknown view_mode (' graph') in the view_switcher.

Also updates the doc to prevent people to think they can insert whitespaces in
the view_mode definition.
2015-08-04 08:20:12 +02:00
Christophe Simonis 2cf91d16a5 [MERGE] forward port of branch saas-6 up to 63e92cb 2015-07-22 16:17:54 +02:00
Christophe Matthieu 264bb780a1 [IMP] web: web modules return readable logs and phantomjs logs
boot.js log:

* ``Missing dependencies``:
  These modules do not appear in the page. It is possible that the JavaScript
  file is not in the page or that the module name is wrong
* ``Failed modules``:
  A javascript error is detected
* ``Rejected modules``:
  The module returns a rejected deferred. It (and its dependent modules) is not
  loaded.
* ``Rejected linked modules``:
  Modules who depend on a rejected module
* ``Non loaded modules``:
  Modules who depend on a missing or a failed module
2015-07-22 12:15:25 +02:00