Odoo documentation sources
Go to file
2019-11-12 16:01:49 +01:00
_extensions [MERGE] Forward port of 12.0 to 13.0 2019-11-05 15:14:53 +01:00
_static [FIX] quality: banner's quality to high (#467) 2019-11-08 16:26:38 +01:00
.tx [I18N] export 13.0 source terms 2019-10-03 11:45:26 +02:00
accounting [FIX] accounting: clarification about TaxCloud. 2019-10-28 16:12:51 +01:00
crm [FIX] *: typos, wording 2019-09-16 15:49:04 +02:00
db_management [IMP] db_management: update screenshots and text to v13 2019-10-28 16:07:20 +01:00
discuss [IMP] discuss : email server 2019-04-02 11:21:04 +02:00
ecommerce [FIX] *: update v13 urls 2019-10-03 11:28:53 +02:00
expense [IMP] expense: Update doc flow to v11 2017-09-18 12:29:11 +02:00
general [FIX] inapp: bullet points 2019-11-08 09:28:48 +01:00
getting_started [FIX] getting_started/documentation: dead link 2019-08-30 10:15:01 +02:00
helpdesk [ADD] After sales features (#463) 2019-11-08 15:37:06 +01:00
inventory [IMP] inventory: screenshots adjustments on the scrap doc 2019-10-21 11:01:23 +02:00
iot [MERGE] Forward port of 12.0 to 13.0 2019-11-04 13:40:15 +01:00
legal [FIX] *: update v13 urls 2019-10-03 11:28:53 +02:00
livechat [FIX] livechat: grammar 2019-08-28 15:36:54 +02:00
locale [I18N] Update translation terms from Transifex 2019-11-03 05:00:33 +01:00
manufacturing [FIX] mrp: fix on mps bullet points 2019-11-07 13:42:59 +01:00
mobile [FIX] *: update v13 urls 2019-10-03 11:28:53 +02:00
odoo_sh [FIX] *: update v13 urls 2019-10-03 11:28:53 +02:00
point_of_sale [MERGE] Forward port of 12.0 to 13.0 2019-11-04 13:40:15 +01:00
portal [FIX] portal: correct crammar and punctuation 2019-09-16 15:51:47 +02:00
project [FIX] image order in project visualization doc 2019-10-11 16:29:47 +02:00
purchase Update setup_stock_rule.rst 2019-10-16 14:03:30 +02:00
quality [IMP] quality: added subtitles (#469) 2019-11-12 16:01:49 +01:00
sales [MOV] sales: using variants moved from inventory to sales (#448) 2019-10-18 09:07:29 +02:00
sms_marketing [ADD] Link to FQA and pricing to doc (#468) 2019-11-12 09:29:01 +01:00
social_marketing [ADD] New section for Social Marketing 2019-10-09 17:46:07 +02:00
support [MERGE] Forward-port of branch 12.0 up to 7a65f48d41 2019-10-18 18:09:14 +02:00
website [IMP] website: update images of domain name page (#404) 2019-09-18 13:30:22 +02:00
.gitignore [FIX] a pair of leftover warnings 2018-08-31 14:41:25 +02:00
accounting.rst [ADD] accounting: Switzerland Accounting Localization 2017-04-03 16:19:34 +02:00
applications.rst [ADD] SMS Marketing documentation (#462) 2019-11-08 10:46:15 +01:00
business.rst [FIX] typo 2019-11-04 15:33:40 +01:00
conf.py [FIX] conf: correct version number 2019-08-08 10:55:31 +02:00
crm.rst [IMP] crm: Whole documentation overhaul 2018-04-04 13:10:59 +02:00
discuss.rst [ADD] discuss: Get organized by planning activities 2018-03-07 17:08:01 +01:00
ecommerce.rst [ADD] ecommerce: New app section 2016-09-21 15:59:42 +02:00
general.rst [ADD] general: new doc about in app purchases 2019-11-08 09:21:07 +01:00
helpdesk.rst [ADD] After sales features (#463) 2019-11-08 15:37:06 +01:00
index.rst [ADD] link to business memento 2017-06-16 16:28:03 +02:00
inventory.rst [IMP] inventory: changes in inventory files (sections arrangement) 2019-10-14 11:05:48 +02:00
iot.rst [ADD] pos: new docs about connecting payment terminals to the pos (#453) 2019-10-23 11:47:57 +02:00
legal.rst [IMP] legal: update partnership contract to v8 (EN, FR, ES) 2019-08-09 01:50:13 +02:00
Makefile [FIX] *: typos, wording 2019-09-16 15:49:04 +02:00
manufacturing.rst [ADD] manufacturing: Repair management 2018-05-09 16:03:09 +02:00
point_of_sale.rst [ADD] pos: new docs about connecting payment terminals to the pos (#453) 2019-10-23 11:47:57 +02:00
practical.rst [ADD] support: documentation for support services 2019-08-28 13:59:54 +02:00
project.rst [IMP] Remove empty pages from TOCs 2015-12-08 10:42:19 +01:00
purchase.rst [REM] purchase: From purchase order to invoice and receptions 2018-03-08 10:27:43 +01:00
quality.rst [IMP] quality: added subtitles (#469) 2019-11-12 16:01:49 +01:00
README.rst [IMP] README bits 2015-07-14 11:14:15 +02:00
requirements.txt [ADD] requirements.txt 2019-09-30 11:25:09 +02:00
sales.rst [ADD] sale_amazon: Amazon connector 2019-09-10 11:15:47 +02:00
sms_marketing.rst [ADD] Pricing and FAQ (#466) 2019-11-08 16:20:34 +01:00
social_marketing.rst [ADD] New section for Social Marketing 2019-10-09 17:46:07 +02:00
support.rst [ADD] user_doc: doc about editing the doc 2019-08-28 14:08:24 +02:00
website.rst [ADD]Website:Multi Website 2019-01-22 14:45:09 +01:00

===========================
End-user Odoo documentation
===========================

Building requirements:

* Python 2.7
* recent `Sphinx <http://sphinx-doc.org>`_ (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 <http://sphinx-doc.org/install.html>`_
  for local installation instructions.
* `git <http://www.git-scm.com>`_
* 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``.

Contributions
=============

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
===============

Extensions
----------

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

* ``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
    ``:view:``.
  - 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

     ==========
     Accounting
     ==========

     [...]

  .. warning::

     because banners are wide images and each page may have one, it is
     strongly recommended to compress them well. For PNG, use
     `pngquant <https://pngquant.org>`_ (or a UI to it) to reduce the
     number of colors in the image followed by regular PNG
     recompression tools like `pngcrush
     <http://pmt.sourceforge.net/pngcrush/>`_ and `pngout
     <http://www.advsys.net/ken/util/pngout.htm>`_.



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 <http://pandoc.org>`_. 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).

Example::

  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.