Browse Source

[FIX] a pair of leftover warnings

pull/294/head
Xavier Morel 1 year ago
parent
commit
b379cab20b
3 changed files with 9 additions and 4 deletions
  1. 1
    0
      .gitignore
  2. 3
    1
      _extensions/html_domain.py
  3. 5
    3
      accounting/localizations/mexico.rst

+ 1
- 0
.gitignore View File

@@ -1,5 +1,6 @@
*.pyc
.*
*.mo

# sphinx build directories
_build/

+ 3
- 1
_extensions/html_domain.py View File

@@ -21,10 +21,12 @@ def setup(app):
app.add_node(div, html=(
lambda self, node: self.body.append(self.starttag(node, 'div')),
lambda self, node: self.body.append('</div>\n')))
# override parameter was added for version sphinx >= 1.4, TypeError before
kw = {'override': True} if sphinx.version_info >= (1, 4) else {}
app.add_node(address, html=(
lambda self, node: self.body.append(self.starttag(node, 'address')),
lambda self, node: self.body.append('</address>\n')
))
), **kw) # docutils.nodes.address exists and is a bibliographic element
app.add_node(cite, html=(visit_cite, depart_cite))
for name, node in [('mark', mark), ('ins', insert), ('del', delete),
('s', strikethrough), ('u', underline), ('small', small),

+ 5
- 3
accounting/localizations/mexico.rst View File

@@ -29,7 +29,7 @@ accounting and invoicing system due to all the set of normal requirements for
this market, becoming your Odoo in the perfect solution to administer your
company in Mexico.

Configuration
Configuration
~~~~~~~~~~~~~

.. tip::
@@ -62,6 +62,8 @@ integrate with the normal invoicing flow in Odoo.
.. image:: media/mexico02.png
:align: center

.. _mx-legal-info:

3. Set you legal information in the company
-------------------------------------------

@@ -585,8 +587,8 @@ FAQ
**Solution:** You must set the address on your company properly, this is a
mandatory group of fields, you can go to your company configuration on
:menuselection:`Settings --> Users & Companies --> Companies` and fill
all the required fields for your address following the step `3. Set you
legal information in the company`.
all the required fields for your address following the step
:ref:`mx-legal-info`.

- **Error message**:


Loading…
Cancel
Save