You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin Trigaux 17fc4219bd
[ADD] searchbar based on Sphinx search tool
пре 1 година
.tx [I18N] export 11.0 source terms пре 1 година
_extensions [ADD] searchbar based on Sphinx search tool пре 3 дана
_static [FIX] accounts unbalanced in continental accounting for stock transactions пре 1 месец
accounting [FIX] accounting: foreign currency пре 3 недеља
crm [FIX] crm: Fix typo in acquire_leads.rst пре 1 година
db_management [IMP] db_management: update screenshot to v11 uninstall wizard пре 1 година
discuss [FIX] discuss : typos + wording and wrong link email_servers пре 1 година
ecommerce [FIX] paypal: documentation for EWP (#396) пре 1 месец
expense [IMP] expense: Update doc flow to v11 пре 2 година
general [IMP] crm: Whole documentation overhaul пре 1 година
getting_started [FIX] getting_started/documentation: dead link пре 1 месец
helpdesk [ADD] helpdesk: Record and invoice time for tickets пре 1 година
inventory [MERGE] Forward-port of 10.0 up to 2a17601b52c80e8e52bd5916fe1d16fa91326bd1 пре 3 недеља
legal [FIX] legal: typo in partnership contract пре 2 месеци
livechat [FIX] livechat: Display options in bold пре 1 година
locale [I18N] Update translation terms from Transifex пре 2 недеља
manufacturing [FIX] manufacturing : bill of material fix wrong direction пре 1 година
mobile [ADD] mobile: Setup your Firebase Cloud Messaging пре 1 година
odoo_sh [FIX] odoo_sh: typo пре 1 месец
point_of_sale [FIX] point_of_sale: POSBoxless пре 5 месеци
portal [ADD]Documentation: added new section eplaining My Account пре 1 година
project [FIX] project: update link to non-existant section пре 1 година
purchase [FIX] purchase: remove reference to old page пре 4 месеци
sales [IMP] sale: Rewrite the 'Invoicing Method' subsection пре 1 година
website Update SSL doc for the saas пре 1 месец
.gitignore [FIX] a pair of leftover warnings пре 1 година
Makefile [IMP] latex: copy PDF files next to HTML output пре 3 година
README.rst [IMP] README bits пре 4 година
accounting.rst [ADD] accounting: Switzerland Accounting Localization пре 2 година
applications.rst [MERGE] Forward-port of 10.0 up to 2a17601b52c80e8e52bd5916fe1d16fa91326bd1 пре 3 недеља
business.rst [FIX] mementoes: Fix some terms/computation/links пре 2 година [IMP] legal: backport latest changes from 12.0 пре 2 месеци
crm.rst [IMP] crm: Whole documentation overhaul пре 1 година
discuss.rst [ADD] discuss: Get organized by planning activities пре 1 година
ecommerce.rst [ADD] ecommerce: New app section пре 3 година
general.rst [ADD] general: How to allow users to sign in with their Google account пре 2 година
helpdesk.rst [ADD] helpdesk: Record and invoice time for tickets пре 1 година
index.rst [ADD] link to business memento пре 2 година
inventory.rst [IMP] inventory: make the structure consistent with the 'Odoo 9 Documentation' spreadsheet пре 4 година
legal.rst [IMP] legal: backport latest changes from 12.0 пре 2 месеци
manufacturing.rst [IMP] manufacturing: Restructure pages пре 1 година
point_of_sale.rst [ADD] point_of_sale: belgian fiscal data module documentation пре 3 година
practical.rst [ADD]Documentation: added new section eplaining My Account пре 1 година
project.rst [IMP] Remove empty pages from TOCs пре 3 година
purchase.rst [ADD] purchase: How to setup a minimum stock rule? пре 4 година
sales.rst [ADD] sales: Use quotation templates пре 1 година
website.rst [ADD] website: How to track your traffic through Google Analytics пре 3 година


End-user Odoo documentation

Building requirements:

* Python 2.7
* recent `Sphinx <>`_ (at least Sphinx 1.2)

you can check if Sphinx is installed by trying to launch

.. code-block:: console

$ sphinx-build --version

See `the sphinx documentation <>`_
for local installation instructions.
* `git <>`_
* clone this repository using git, then at the root of the repository,
in a console,

.. code-block:: console

$ make html

this should compile the documentation to HTML, and put the generated
HTML in ``_build/html/index.html``.


For simple edition (typo, just add paragraphs of text without markup),
the Github web interface can be used directly.

For more complex edition, to add images or advanced directives, edit
locally. **Do not commit if there are warnings or errors when building
the documentation** fix them first. rST is fairly sensitive to
whitespace and newlines (especially the lack of newlines). It's a bit
annoying but it's not hard to learn.

Issues can be reported on the repository's bug tracker as usual.

Custom features


Two custom directives are provided for integration with Odoo's demo

* ``demo:fields:: {external_id}`` lists all the fields with a
tooltip (``help``) of the action whose ``external_id`` is provided.

- Uses the ``form`` view by default, can be customized by specifying
- The list of fields displayed can be filtered with ``:only:`` which
should be a list of space-separated fields to display. Note that
this will further reduce the number of fields displayed, it will
not force fields to be listed when they don't have a ``help``.

.. code-block:: restructuredtext

.. demo:fields:: account_asset.action_account_asset_asset_list_normal_sale
:only: name

will display a table of just the ``name`` field and its ``help`` (or
nothing if the ``name`` field does not have a ``help``)

* ``demo:action:: {external_id}`` will create a link button to the
action (specified by external id) on the demo site. The text of the
button should be provided as the directive's content:

.. code-block:: restructuredtext

.. demo:action:: account_asset.action_account_asset_asset_list_normal_sale

View *Asset Types*

Theme Customisations

* The Odoo theme supports *Banner Images* at the top of
documents. These banners are configured by setting a ``:banner:``
field at the top of the document (before the page title), the banner
images will be looked up in the ``_static`` folder at the root of
the project

.. code-block:: restructuredtext

:banner: banners/accounting.png



.. warning::

because banners are wide images and each page may have one, it is
strongly recommended to compress them well. For PNG, use
`pngquant <>`_ (or a UI to it) to reduce the
number of colors in the image followed by regular PNG
recompression tools like `pngcrush
<>`_ and `pngout

Importing existing documents

For documents which already exist in an other format or in Google
docs, it's possible to get a head-start by converting the existing
document using `Pandoc <>`_. The main issue is that
anything but trivial original documents will need fixing up (possibly
lots of it) to get *good* rST (or possibly working rST at all).


pandoc -f docx -t rst path/to/document.docx -o new_doc.rst --extract-media=.

will convert ``path/to/document.docx`` to ``new_doc.rst`` and export
all images to ``./media`` (and link them from the document). While
there are issues with the exported document, it's much more convenient
than manually re-typing the original.