Commit Graph

575 Commits

Author SHA1 Message Date
ged-odoo 817ce8f912 [IMP] add link to write method in documentation 2014-11-14 14:38:15 +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 166ddc98a9 [FIX] allow word wrapping in stripe-style code examples 2014-11-07 14:13:15 +01:00
Xavier Morel 5d79dd80e5 [ADD] ZeroClipboard-based "copy" button on snippets
Also fix ruby setup code, some of its bits were actually Python and didn't
quite work when pasted into irb...
2014-11-07 14:01:32 +01:00
Xavier Morel 6f0b1fef4d [IMP] doc-ws: prepend setup code when copying from a snippet 2014-11-07 11:32:43 +01:00
Xavier Morel 06a75d0e95 [FIX] doc: typo missed when merging contribution 2014-11-05 17:12:46 +01:00
hiekmann d6cfd8ed4b [IMP] doc: various improvements to website tutorial
closes #3476
closes #3477
closes #3479
2014-11-05 16:42:19 +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 a332dec4c2 [IMP] doc: add some diagrams to workflow doc
Also move transitions to the bottom of the document, and try to clarify the
documentation for split, join and activity kinds.
2014-11-03 14:55:09 +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
Xavier Morel 95265e9ba6 [IMP] doc: link directly to edition mode in docfiles 2014-10-31 09:34:55 +01:00
Xavier Morel 63e1afc5fd [IMP] doc: add link to company website in footer, fix release version 2014-10-31 09:34:55 +01:00
Xavier Morel 55737d6500 [IMP] doc: link logo to current doc's root, not to odoo.com 2014-10-31 09:34:54 +01:00
Xavier Morel 28a69fa250 [ADD] doc: support for analytics keys 2014-10-29 15:53:41 +01:00
Xavier Morel abfe20bff6 [ADD] doc: language switcher 2014-10-27 17:23:16 +01:00
Xavier Morel 4d2b24adcb [ADD] Stripe-style APIDoc: content 2014-10-27 17:23:16 +01:00
Christophe Matthieu 1dcc1c62cc [FIX] doc website: application field does not exists on ir.ui.view. The optional inherit used customize_show and active fields 2014-10-22 10:46:38 +02:00
Richard Mathot d80376a43d [DOC] cmdline: database-related parameters 2014-10-21 10:07:54 +02:00
Xavier Morel ed18ab7649 [ADD] doc: basic index page instead of something completely blank 2014-10-20 10:00:20 +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
Tymoteusz Motylewski 902506ad28 fix typo 2014-10-13 10:42:30 +02:00
Xavier Morel bc59cfce61 [IMP] doc: add testing reference and improve docstrings 2014-10-09 15:38:36 +02:00
Xavier Morel 9501f33d1d [ADD] doc: workflow doc from v7+ (saas-5)
I tried starting a better one, but the workflow code is a complete mess so I
have no idea how this thing works without significant study and testing.

Thus, not trying to write a brand new and complete doc, maybe later.
2014-10-09 13:37:15 +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 393331f948 [FIX] sphinx 'project' value
The project name automatically gets the release and the literal string
"documentation" appended by default (and "html_title" can be set to generate a
title differently), so having "documentation" set in the project variable
duplicates it in the page title.
2014-10-07 10:22:53 +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
Xavier Morel 494dcbd0e3 [IMP] qweb doc, tests
* document qweb based (mostly) on JS version
* convert JS qweb tests to (mostly) language-independent XML so they can be
  used for JS and Python implementations
* add some more tests (e.g. precedence between t-value and body in t-set)
* remove ``t-import``
* fix parity in foreach(dict) (and rename some variables to make array and
  object versions more similar)
2014-10-06 19:13:43 +02:00
Martin Trigaux 7ba9174bce [ADD] contribution files and image removed at 2ad092b 2014-10-02 12:05:32 +02:00
xmo-odoo e7422b2f3a [REVERT] typo 2014-10-01 15:19:20 +02:00
xmo-odoo a1eacb9054 [FIX] doc: branch name in configuration
The branch name is used in the version switcher, so the master branch should have a version of "master".

Maybe the release could be the revision hash? Not sure how to extract it from the repo.
2014-10-01 15:02:20 +02:00
xmo-odoo c85547477c [FIX] doc readme: the list of versions uses commas
it's not space-separated
2014-09-29 13:40:10 +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
Xavier Morel 2232453760 [IMP] doc: move version switcher to header
as recommended by nwi

use same style as logo but very slightly smaller font, otherwise the
difference is a bit jarring as numbers are much bigger than the app logo's
text
2014-09-04 16:24:56 +02:00
Xavier Morel bb007dd040 [ADD] support for a version switcher in odoo theme thing
needs beauty input
2014-09-04 14:43:55 +02:00
Xavier Morel 39208e1f42 [ADD] doc's readme
* also only enable linkcode if Sphinx >= 1.2
* fix html inline roles?
2014-09-04 14:43:54 +02:00
Xavier Morel 958f9106dd [ADD] support for canonical urls in technical doc
* canonical_root setting is the path to the root of the canonical sphinx doc,
  if not set no canonical link is generated, must end with "/"
* canonical_branch defines the canonical branch to which to redirect, defaults
  to master

also various side-fixes:

* disabled permalinks in sphinx instead of hiding them via CSS
* improved generation of github links, removed _app global and setting of
  linkcode_resolve in conf.py
2014-09-03 16:34:52 +02:00
Xavier Morel f00bf9a461 [ADD] github links from doc 2014-09-03 14:53:41 +02:00
Xavier Morel c0373318d9 [IMP] display sibling documents in affixed menu 2014-09-03 14:53:40 +02:00
Xavier Morel eab52acccd [ADD] initial theme guide + scaffolding
incomplete, incorrect, committed for testing
2014-09-02 12:43:17 +02:00
Xavier Morel 9c339d8df3 [ADD] web client tutorial/training
needs fixes, and corresponding web client reference
2014-09-01 14:16:15 +02:00
Xavier Morel cccd3c888f [ADD] openerp.http reference doc
* fix some docstrings so they can be autodoc'd
* intersphinx mapping (and links to) werkzeug and python
2014-09-01 14:16:14 +02:00
Xavier Morel afcb89ab3a [ADD] port security reference doc 2014-09-01 14:16:13 +02:00
Raphael Collet 913404bf64 [IMP] doc/howtos/backend: small fixes 2014-08-29 08:42:35 +02:00
Xavier Morel e6b56412a0 [ADD] views documentation 2014-08-28 15:02:33 +02:00
Xavier Morel 442dec2496 [ADD] reinstate form guidelines 2014-08-28 15:01:55 +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 436fa8490a [IMP] doc/howtos/backend: improve views, fix workflow 2014-08-26 17:28:29 +02:00
Raphael Collet 8eb6a1128f [IMP] doc/howtos/backend: usage of odoo.py 2014-08-26 08:58:51 +02:00
Raphael Collet ba8d37f249 [IMP] doc/howtos/backend: fix condition in workflow 2014-08-25 16:32:55 +02:00
Raphael Collet 2df0ae4773 [IMP] doc/howtos/backend: fix calendar example 2014-08-25 16:20:35 +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
rlu-odoo 8b67a7202d [REF] OpenERP --> Odoo in various UI texts
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages

(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)

Closes #1260
2014-07-18 13:45:41 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Martin Trigaux 5eac9b669a [IMP] better and shorter contribution guidelines (detailed one are now on the wiki) 2014-06-13 16:07:56 +02:00
Géry Debongnie 6b4a227cd4 Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged 2014-05-30 09:22:12 +02:00
Antony Lesuisse 6e9edeeb46 [FIX] odoo.py setup deps and readme.md 2014-05-29 22:29:38 +02:00
Antony Lesuisse d4624fa826 [IMP] repository cleanup
- move packaging stuff to setup
- remove historical stuff
- remove oe, odoo-cmd-fme will be merged with the convered commands
- add an odoo.py script to run odo and boostrap it
- simplify README
- prepare to move documentation to the github wiki
2014-05-29 18:33:04 +02:00
Géry Debongnie 5cc8f9ca42 Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged 2014-05-28 10:37:16 +02:00
Martin Trigaux ecffb93f76 Adding basic contribution guidelines 2014-05-26 11:39:48 +02:00
Géry Debongnie 555677f14d [IMP] replace all 'Group By...' by 'Group By'
in all searchview, the 'Group By...' looks weird, next to the Custom
Reports and Filters.  This change was requested by the upper management
2014-05-22 11:44:35 +02:00
xmo-odoo 3571a3dcc3 Merge pull request #43 from xmo-odoo/website-tutorial
First howto: tutorial to basic website features (dev-wise)
2014-05-19 09:55:22 +02:00
xmo-odoo 5313714530 [FIX] replace a few more references to trunk with master 2014-05-19 09:48:28 +02:00
xmo-odoo 24d594ab94 [FIX] mainline branch is called master in git 2014-05-19 09:32:53 +02:00
Xavier Morel cab23933e3 [IMP] wording/section conclusion 2014-05-19 08:44:48 +02:00
Xavier Morel b6f6e9d3a3 [ADD] move data from custom objects to standard 2014-05-19 08:44:29 +02:00
Xavier Morel ddf24b3ab6 [ADD] reuse of existing openerp stuff 2014-05-19 08:32:23 +02:00
Xavier Morel 9a1413576a [ADD] forgotten images, new patches/howto sections 2014-05-19 08:32:22 +02:00
Xavier Morel 43523d4e35 [FIX] add xmlid to lectures so they don't get duplicated on -i updates 2014-05-19 08:32:22 +02:00
Xavier Morel 2f260932f3 [REM] more todos: fixed by using -i to update the module 2014-05-19 08:32:21 +02:00
Xavier Morel 44a1ed5a1f [FIX] remove fixed todos, fix incorrect t-field use 2014-05-19 08:32:21 +02:00
Xavier Morel fdb6218f44 [FIX] website features integration section 2014-05-19 08:32:20 +02:00
Xavier Morel 85a3fcf510 [REM] run-through of advanced editor thing features, should be in a different document 2014-05-19 08:32:20 +02:00
Xavier Morel 108afd98de [FIX] reload instruction 2014-05-19 08:32:19 +02:00
Xavier Morel c5ba0a5818 [FIX] incorrect offsets in patchfile 2014-05-19 08:32:19 +02:00
Xavier Morel b9a1879a74 [IMP] step through *working* instructions in the first section 2014-05-19 08:32:18 +02:00
Xavier Morel 5f7be30a2f [IMP] clarify initial instructions, autogen directory if does not exist 2014-05-19 08:32:17 +02:00
Xavier Morel d3268420ae [IMP] slightly simplify first code snippet 2014-05-19 08:32:17 +02:00
Xavier Morel 8bcc42d4d0 [FIX] effect name change for generated controller and model onto doc 2014-05-19 08:32:16 +02:00
Xavier Morel 6dcf6bb6bc [CHG] remove flask theme, add sphinx-bootstrap 0.3.8 2014-05-19 08:32:15 +02:00
Xavier Morel 290883ab2f [FIX] fixed ta controller parameter in wrong patch 2014-05-19 08:32:14 +02:00
Xavier Morel be1fe080c9 [FIX] ta controller parameter 2014-05-19 08:32:13 +02:00
Xavier Morel a416ca66d0 [REM] remove fixed/updated todos 2014-05-19 08:32:13 +02:00
Xavier Morel fdc63e3a67 [IMP] some titles, move auth=public from website-dependency to website-layoutify
auth=public is not necessary to depending on website, however rendering within website/website's layout blows up if there is no current user
2014-05-19 08:32:12 +02:00
Xavier Morel c9d4371119 [FIX] howto code samples 2014-05-19 08:32:12 +02:00
Xavier Morel cfc7015355 [FIX] templating section, some wording 2014-05-19 08:32:11 +02:00
Xavier Morel 0ea465e8a3 [IMP] simplify howto wording, add modules directory (output) to scaffold 2014-05-19 08:32:10 +02:00