Odoo documentation sources
Go to file
2020-02-10 16:56:13 +01:00
_extensions [MERGE] Forward od 12.0 to 13.0 2019-12-18 11:11:01 +01:00
_static [IMP] *: update banners 2020-02-06 17:15:02 +01:00
.tx [I18N] remove recruitment translations 2020-01-16 09:57:59 +01:00
accounting [IMP] accounting: add a new version of the Assets documentation (#541) 2020-02-06 11:17:57 +01:00
crm [REM] crm: remove documentation about probable turnover 2020-01-16 14:24:07 +01:00
db_management [IMP] *: update banners 2020-02-06 17:15:02 +01:00
discuss [FIX] discuss: add warnings about the scope of the mail documentation 2020-01-29 16:59:24 +01:00
ecommerce [IMP] ecommerce: authorize.net setup 2020-02-03 15:49:19 +01:00
expense [IMP] *: update banners 2020-02-06 17:15:02 +01:00
fsm [REF] *: replace tabs by spaces 2020-01-15 10:52:05 +01:00
general [FIX] *: fix incorrect/unstable links 2020-01-15 10:52:05 +01:00
getting_started [FIX] *: fix incorrect/unstable links 2020-01-15 10:52:05 +01:00
helpdesk [REF] *: replace tabs by spaces 2020-01-15 10:52:05 +01:00
inventory [REF] *: replace tabs by spaces 2020-01-15 10:52:05 +01:00
iot [REF] *: replace tabs by spaces 2020-01-15 10:52:05 +01:00
legal [IMP] *: update banners 2020-02-06 17:15:02 +01:00
livechat [IMP] *: update banners 2020-02-06 17:15:02 +01:00
locale [I18N] remove recruitment translations 2020-01-16 09:57:59 +01:00
manufacturing [IMP] *: update banners 2020-02-06 17:15:02 +01:00
mobile [IMP] *: update banners 2020-02-06 17:15:02 +01:00
odoo_sh [IMP] *: update banners 2020-02-06 17:15:02 +01:00
planning [ADD] planning: add documentation 2020-01-10 13:18:39 +01:00
point_of_sale [MERGE] Forward-port of 12.0 into 13.0 2020-01-27 11:06:08 +01:00
portal [IMP] *: update banners 2020-02-06 17:15:02 +01:00
project [FIX] project: Capital K on all Kanban for consistency 2020-01-08 16:06:33 +01:00
purchase [REF] *: replace tabs by spaces 2020-01-15 10:52:05 +01:00
quality [IMP] *: harmonize formatting 2020-01-15 10:52:05 +01:00
sales [IMP] sales: update Get paid to confirm order 2020-02-10 10:31:22 +01:00
sms_marketing [REF] *: replace tabs by spaces 2020-01-15 10:52:05 +01:00
social_marketing [REF] *: replace tabs by spaces 2020-01-15 10:52:05 +01:00
support [IMP] *: update banners 2020-02-06 17:15:02 +01:00
website [IMP] website: config of root URL 2020-02-05 10:28:31 +01:00
.gitignore [FIX] a pair of leftover warnings 2018-08-31 14:41:25 +02:00
accounting.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
applications.rst [IMP] *: fix display issues 2020-01-15 10:52:05 +01:00
commit_template.txt [IMP] base: add a commit message template with the guidelines 2020-01-16 14:17:37 +01:00
conf.py [FIX] config: fix path of odoo logo 2020-02-10 16:56:13 +01:00
crm.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
discuss.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
ecommerce.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
fsm.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
general.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
helpdesk.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
index.rst [REM] index: remove references to mementos 2020-02-06 17:02:55 +01:00
inventory.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
iot.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
legal.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
Makefile [FIX] *: typos, wording 2019-09-16 15:49:04 +02:00
manufacturing.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
planning.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
point_of_sale.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
practical.rst [ADD] support: documentation for support services 2019-08-28 13:59:54 +02:00
project.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
purchase.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
quality.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
README.rst Update README.rst 2019-12-24 11:03:37 +01:00
requirements.txt [ADD] requirements.txt 2019-09-30 11:25:09 +02:00
sales.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
sms_marketing.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
social_marketing.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
support.rst [IMP] *: update banners 2020-02-06 17:15:02 +01:00
website.rst [IMP] *: update banners 2020-02-06 17:15:02 +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.


Learn More
==========

To learn more about Odoo, in addition to the documentation, have a look at the official
`eLearning <https://odoo.com/slides>`_ and `Scale-up, The Business Game <https://www.odoo.com/page/scale-up-business-game>`_