sphinx errors fixes

This commit is contained in:
Victor Feyens 2020-09-25 14:56:39 +02:00
parent 722a60d730
commit 7a965fa3af
10 changed files with 17 additions and 20 deletions

View File

@ -73,7 +73,6 @@
<li><a href="https://www.odoo.com/page/blog-engine">Blogs</a></li> <li><a href="https://www.odoo.com/page/blog-engine">Blogs</a></li>
<li><a href="https://www.odoo.com/page/community-builder">Forums</a></li> <li><a href="https://www.odoo.com/page/community-builder">Forums</a></li>
<li><a href="https://www.odoo.com/page/slides">Slides</a></li> <li><a href="https://www.odoo.com/page/slides">Slides</a></li>
<li><a href="https://adspike.odoo.com">SEA</a></li>
</ul> </ul>
</div> </div>
<div class="col-sm-3 o_sale_apps"> <div class="col-sm-3 o_sale_apps">

View File

@ -250,7 +250,7 @@ todo_include_todos = False
intersphinx_mapping = { intersphinx_mapping = {
'python': ('https://docs.python.org/3/', None), 'python': ('https://docs.python.org/3/', None),
'werkzeug': ('http://werkzeug.pocoo.org/docs/', None), # VFE TODO https url for werkzeug 'werkzeug': ('https://werkzeug.palletsprojects.com/en/1.0.x/', None), # VFE TODO https url for werkzeug
} }
github_user = 'odoo' github_user = 'odoo'

View File

@ -1,5 +1,4 @@
:banner: banners/index.jpg :banner: banners/index.jpg
:orphan:
============================ ============================
Odoo Developer Documentation Odoo Developer Documentation
@ -9,9 +8,6 @@ Odoo Developer Documentation
.. rst-class:: index-tree .. rst-class:: index-tree
.. titlesonly breaks level 3 (~in-document) toc of left navbar, so use
maxdepth instead
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2

View File

@ -6,5 +6,5 @@ Inventory
:titlesonly: :titlesonly:
inventory/avg_price_valuation inventory/avg_price_valuation
../../../inventory/management/reporting/inventory_valuation_config ../../inventory/management/reporting/inventory_valuation_config

View File

@ -8,5 +8,5 @@ Manage my products
managing_products/multi_images managing_products/multi_images
managing_products/variants managing_products/variants
managing_products/stock managing_products/stock
../../sales/products_prices/products/import ../sales/products_prices/products/import

View File

@ -5,8 +5,8 @@ Collect taxes
.. toctree:: .. toctree::
:titlesonly: :titlesonly:
../../accounting/fiscality/taxes/default_taxes ../accounting/fiscality/taxes/default_taxes
../../accounting/fiscality/taxes/fiscal_positions ../accounting/fiscality/taxes/fiscal_positions
../../accounting/fiscality/taxes/taxes ../accounting/fiscality/taxes/taxes
../../accounting/fiscality/taxes/taxcloud ../accounting/fiscality/taxes/taxcloud

View File

@ -198,7 +198,7 @@ The tags should be separated by a comma without any spacing. For example, if you
to be linked to both tags 'Manufacturer' and 'Retailer' then you will encode "Manufacturer,Retailer" to be linked to both tags 'Manufacturer' and 'Retailer' then you will encode "Manufacturer,Retailer"
in the same column of your CSV file. in the same column of your CSV file.
:download:`CSV file for Manufacturer, Retailer <../../_static/example_files/m2m_customers_tags.csv>` :download:`CSV file for Manufacturer, Retailer <../../../_static/example_files/m2m_customers_tags.csv>`
How can I import a one2many relationship (e.g. several Order Lines of a Sales Order)? How can I import a one2many relationship (e.g. several Order Lines of a Sales Order)?
@ -212,18 +212,18 @@ any information in the fields relative to the order. As an example, here is
based on demo data. based on demo data.
:download:`File for some Quotations :download:`File for some Quotations
<../../_static/example_files/purchase.order_functional_error_line_cant_adpat.csv>`. <../../../_static/example_files/purchase.order_functional_error_line_cant_adpat.csv>`.
The following CSV file shows how to import purchase orders with their respective purchase order The following CSV file shows how to import purchase orders with their respective purchase order
lines: lines:
:download:`Purchase orders with their respective purchase order lines :download:`Purchase orders with their respective purchase order lines
<../../_static/example_files/o2m_purchase_order_lines.csv>`. <../../../_static/example_files/o2m_purchase_order_lines.csv>`.
The following CSV file shows how to import customers and their respective contacts: The following CSV file shows how to import customers and their respective contacts:
:download:`Customers and their respective contacts :download:`Customers and their respective contacts
<../../_static/example_files/o2m_customers_contacts.csv>`. <../../../_static/example_files/o2m_customers_contacts.csv>`.
Can I import several times the same record? Can I import several times the same record?
------------------------------------------- -------------------------------------------
@ -259,7 +259,7 @@ must be unique across all the records of all objects, so it's a good practice to
As an example, suppose you have a SQL database with two tables you want to import: companies and As an example, suppose you have a SQL database with two tables you want to import: companies and
persons. Each person belong to one company, so you will have to recreate the link between a person persons. Each person belong to one company, so you will have to recreate the link between a person
and the company he work for. (If you want to test this example, here is a :download:`dump of such a and the company he work for. (If you want to test this example, here is a :download:`dump of such a
PostgreSQL database <../../_static/example_files/database_import_test.sql>`) PostgreSQL database <../../../_static/example_files/database_import_test.sql>`)
We will first export all companies and their "External ID". In PSQL, write the following command: We will first export all companies and their "External ID". In PSQL, write the following command:

View File

@ -13,4 +13,6 @@ Practical Information
portal/my_odoo_portal portal/my_odoo_portal
support support
legal legal
contributing
.. contributing
Moved to the main doc page.

View File

@ -31,4 +31,4 @@ See below a template of the columns used.
:align: center :align: center
:download:`Click here to download the template :download:`Click here to download the template
<../../../_static/example_files/vendor_pricelists_template.csv>` <../../../../_static/example_files/vendor_pricelists_template.csv>`

View File

@ -41,7 +41,7 @@ Update the list of available modules
New modules must be *discovered* by your Odoo instance to be available in the **Apps** New modules must be *discovered* by your Odoo instance to be available in the **Apps**
menu. menu.
To do so, activate the :doc:`Developer Mode <../../../general/developer_mode/activate>`, and go to To do so, activate the :doc:`Developer Mode <../../general/developer_mode/activate>`, and go to
:menuselection:`Apps --> Update Apps List`. A wizard will ask for confirmation. :menuselection:`Apps --> Update Apps List`. A wizard will ask for confirmation.
Install the Amazon/Authentication Patch Install the Amazon/Authentication Patch