diff --git a/doc/guides.rst b/doc/guides.rst deleted file mode 100644 index 00fea8dd946..00000000000 --- a/doc/guides.rst +++ /dev/null @@ -1,12 +0,0 @@ -====== -Guides -====== - -.. toctree:: - :titlesonly: - - guides/forms - guides/themes - guides/snippets - guides/workflows - guides/deployment diff --git a/doc/guides/deployment.rst b/doc/guides/deployment.rst deleted file mode 100644 index 65b68fac7cb..00000000000 --- a/doc/guides/deployment.rst +++ /dev/null @@ -1,5 +0,0 @@ -.. _guides/deployment: - -======================= -Deploying to production -======================= diff --git a/doc/guides/forms.rst b/doc/guides/forms.rst deleted file mode 100644 index da09d634cd3..00000000000 --- a/doc/guides/forms.rst +++ /dev/null @@ -1,327 +0,0 @@ -.. highlight:: xml - -.. _form-view-guidelines: - -Form Views Guidelines -===================== - -.. sectionauthor:: Aline Preillon, Raphael Collet - -This document presents functional and technical guidelines for -creating/organizing form views in Odoo. For each item, both the functional and -technical aspects are explained. The goal of the new style of forms is to make -Odoo easier to use, and to guide users through the system. - -Business Views --------------- - -Business views are targeted at regular users, not advanced users. Examples -are: Opportunities, Products, Partners, Tasks, Projects, etc. - -.. image:: forms/oppreadonly.png - :class: img-responsive - -In general, a business view is composed of - -1. a status bar on top (with technical or business flow), -2. a sheet in the middle (the form itself), -3. a bottom part with History and Comments. - -Technically, the new form views are structured as follows in XML:: - -
-
... content of the status bar ...
- ... content of the sheet ... -
... content of the bottom part ...
-
- -The Status Bar -'''''''''''''' - -The purpose of the status bar is to show the status of the current record and -the action buttons. - -.. image:: forms/status.png - :class: img-responsive - -The Buttons -........... - -The order of buttons follows the business flow. For instance, in a sale order, -the logical steps are: - -1. Send the quotation -2. Confirm the quotation -3. Create the final invoice -4. Send the goods - -Highlighted buttons (in red by default) emphasize the logical next step, to -help the user. It is usually the first active button. On the other hand, -:guilabel:`cancel` buttons *must* remain grey (normal). For instance, in -Invoice the button :guilabel:`Refund` must never be red. - -Technically, buttons are highlighted by adding the class "oe_highlight":: - -