Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][IMP] account_invoice_facturx: add RateApplicablePercent in XML when there is not tax #1046

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion account_invoice_facturx/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ With this module, the PDF customer invoices and refunds generated by the Qweb re
Installation
============

**WARNING**: there is an alternative implementation of Factur-X in the module **account_edi_ubl_cii** of the official addons. If both modules are installed, the XML embedded in the PDF is the XML generated by the module **account_edi_ubl_cii**. To avoid that, you need to uninstall the module **account_edi_ubl_cii**.

This module requires a recent version of the Python library `factur-x <https://github.com/akretion/factur-x>`__ developped by Akretion. Note that the factur-x library depends on PyPDF2 for the low-level PDF manipulation. To install it, run:

.. code::

sudo pip3 install --upgrade factur-x
pip3 install --upgrade factur-x

Configuration
=============
Expand Down
1 change: 1 addition & 0 deletions account_invoice_facturx/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ def _cii_check_tax_required_info(self, tax_dict):
"unece_type_code": "VAT",
"unece_categ_code": "E",
"amount": 0,
"amount_type": "percent",
"display_name": "Empty virtual tax",
}
)
Expand Down
4 changes: 3 additions & 1 deletion account_invoice_facturx/readme/INSTALL.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
**WARNING**: there is an alternative implementation of Factur-X in the module **account_edi_ubl_cii** of the official addons. If both modules are installed, the XML embedded in the PDF is the XML generated by the module **account_edi_ubl_cii**. To avoid that, you need to uninstall the module **account_edi_ubl_cii**.

This module requires a recent version of the Python library `factur-x <https://github.com/akretion/factur-x>`__ developped by Akretion. Note that the factur-x library depends on PyPDF2 for the low-level PDF manipulation. To install it, run:

.. code::

sudo pip3 install --upgrade factur-x
pip3 install --upgrade factur-x
3 changes: 2 additions & 1 deletion account_invoice_facturx/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,10 @@ <h1 class="title">Account Invoice Factur-X</h1>
</div>
<div class="section" id="installation">
<h1><a class="toc-backref" href="#toc-entry-1">Installation</a></h1>
<p><strong>WARNING</strong>: there is an alternative implementation of Factur-X in the module <strong>account_edi_ubl_cii</strong> of the official addons. If both modules are installed, the XML embedded in the PDF is the XML generated by the module <strong>account_edi_ubl_cii</strong>. To avoid that, you need to uninstall the module <strong>account_edi_ubl_cii</strong>.</p>
<p>This module requires a recent version of the Python library <a class="reference external" href="https://github.com/akretion/factur-x">factur-x</a> developped by Akretion. Note that the factur-x library depends on PyPDF2 for the low-level PDF manipulation. To install it, run:</p>
<pre class="code literal-block">
sudo pip3 install --upgrade factur-x
pip3 install --upgrade factur-x
</pre>
</div>
<div class="section" id="configuration">
Expand Down
Loading