diff --git a/l10n_it_fatturapa_in_purchase/README.rst b/l10n_it_fatturapa_in_purchase/README.rst index 70b42d6f3d82..c1f23577ca1c 100644 --- a/l10n_it_fatturapa_in_purchase/README.rst +++ b/l10n_it_fatturapa_in_purchase/README.rst @@ -14,13 +14,13 @@ ITA - Fattura elettronica - Integrazione acquisti :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github - :target: https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_fatturapa_in_purchase + :target: https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_fatturapa_in_purchase :alt: OCA/l10n-italy .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_in_purchase + :target: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_fatturapa_in_purchase :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/122/12.0 + :target: https://runbot.odoo-community.org/runbot/122/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -63,7 +63,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -94,6 +94,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/l10n-italy `_ project on GitHub. +This module is part of the `OCA/l10n-italy `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_it_fatturapa_in_purchase/__manifest__.py b/l10n_it_fatturapa_in_purchase/__manifest__.py index 62d79c29480a..11c2c2431e0e 100644 --- a/l10n_it_fatturapa_in_purchase/__manifest__.py +++ b/l10n_it_fatturapa_in_purchase/__manifest__.py @@ -7,7 +7,7 @@ { "name": "ITA - Fattura elettronica - Integrazione acquisti", "summary": "Modulo ponte tra ricezione fatture elettroniche e acquisti", - "version": "12.0.1.0.2", + "version": "14.0.1.0.0", "category": "Hidden", "author": "Agile Business Group, " "Odoo Community Association (OCA)", "website": "https://github.com/OCA/l10n-italy" "l10n_it_fatturapa_in_purchase", diff --git a/l10n_it_fatturapa_in_purchase/models/purchase_order.py b/l10n_it_fatturapa_in_purchase/models/purchase_order.py index 50d1c18a3e8d..7de94e6aa845 100644 --- a/l10n_it_fatturapa_in_purchase/models/purchase_order.py +++ b/l10n_it_fatturapa_in_purchase/models/purchase_order.py @@ -11,11 +11,11 @@ class POLine(models.Model): to_invoice = fields.Boolean("To Invoice", compute="_compute_to_invoice", store=True) @api.depends( - "invoice_lines.invoice_id.state", + "invoice_lines.move_id.state", "product_qty", "product_uom", "invoice_lines.quantity", - "invoice_lines.uom_id", + "invoice_lines.product_uom_id", ) def _compute_to_invoice(self): precision = self.env["decimal.precision"].precision_get( @@ -37,7 +37,6 @@ def _compute_to_invoice(self): else: line.to_invoice = False - @api.multi def name_get(self): res = [] for line in self: diff --git a/l10n_it_fatturapa_in_purchase/static/description/index.html b/l10n_it_fatturapa_in_purchase/static/description/index.html index 347c2f8c53a5..e68985d34671 100644 --- a/l10n_it_fatturapa_in_purchase/static/description/index.html +++ b/l10n_it_fatturapa_in_purchase/static/description/index.html @@ -3,7 +3,7 @@ - + ITA - Fattura elettronica - Integrazione acquisti