diff --git a/contract_variable_quantity/README.rst b/contract_variable_quantity/README.rst index 9a12d9c3c..81df55cb7 100644 --- a/contract_variable_quantity/README.rst +++ b/contract_variable_quantity/README.rst @@ -14,13 +14,13 @@ Variable quantity in contract recurrent invoicing :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github - :target: https://github.com/OCA/contract/tree/13.0/contract_variable_quantity + :target: https://github.com/OCA/contract/tree/14.0/contract_variable_quantity :alt: OCA/contract .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/contract-13-0/contract-13-0-contract_variable_quantity + :target: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract_variable_quantity :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/110/13.0 + :target: https://runbot.odoo-community.org/runbot/110/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -49,7 +49,7 @@ Configuration * *contract*: Contract whose line belongs to. * *invoice*: Invoice (header) being created. -.. figure:: https://raw.githubusercontent.com/OCA/contract/13.0/contract_variable_quantity/images/formula_form.png +.. figure:: https://raw.githubusercontent.com/OCA/contract/14.0/contract_variable_quantity/images/formula_form.png :alt: Formula form :width: 600 px @@ -70,7 +70,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. @@ -107,6 +107,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/contract `_ project on GitHub. +This module is part of the `OCA/contract `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/contract_variable_quantity/__manifest__.py b/contract_variable_quantity/__manifest__.py index f5f7334f7..0081160e4 100644 --- a/contract_variable_quantity/__manifest__.py +++ b/contract_variable_quantity/__manifest__.py @@ -5,10 +5,10 @@ { "name": "Variable quantity in contract recurrent invoicing", - "version": "13.0.1.2.0", + "version": "14.0.1.0.0", "category": "Contract Management", "license": "AGPL-3", - "author": "Tecnativa," "Odoo Community Association (OCA)", + "author": "Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/contract", "depends": ["contract"], "data": [ diff --git a/contract_variable_quantity/i18n/contract_variable_quantity.pot b/contract_variable_quantity/i18n/contract_variable_quantity.pot index ea27a7f1b..79fc892a6 100644 --- a/contract_variable_quantity/i18n/contract_variable_quantity.pot +++ b/contract_variable_quantity/i18n/contract_variable_quantity.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -103,6 +103,9 @@ msgid "Created on" msgstr "" #. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__display_name #: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" @@ -139,6 +142,9 @@ msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__id #: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "" @@ -149,6 +155,9 @@ msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line____last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract____last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line____last_update #: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" diff --git a/contract_variable_quantity/static/description/index.html b/contract_variable_quantity/static/description/index.html index 94ba9d902..4d348ac81 100644 --- a/contract_variable_quantity/static/description/index.html +++ b/contract_variable_quantity/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/contract Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/contract Translate me on Weblate Try me on Runbot

With this module, you will be able to define in recurring contracts some lines with variable quantity according to a provided formula.

Table of contents

@@ -403,7 +403,7 @@ float/integer value of the quantity to invoice in the variable ‘result’.

-Formula form +Formula form
@@ -422,7 +422,7 @@ float/integer value of the quantity to invoice in the variable ‘result’.

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.

@@ -458,7 +458,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

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/contract project on GitHub.

+

This module is part of the OCA/contract project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/contract_variable_quantity/tests/test_contract_variable_quantity.py b/contract_variable_quantity/tests/test_contract_variable_quantity.py index d7a829f1d..942d9dd94 100644 --- a/contract_variable_quantity/tests/test_contract_variable_quantity.py +++ b/contract_variable_quantity/tests/test_contract_variable_quantity.py @@ -3,15 +3,16 @@ # Copyright 2018 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -import odoo.tests from odoo import exceptions +from odoo.tests.common import SavepointCase -@odoo.tests.at_install(False) -@odoo.tests.post_install(True) -class TestContractVariableQuantity(odoo.tests.HttpCase): +class TestContractVariableQuantity(SavepointCase): + at_install = False + post_install = True + def setUp(self): - super(TestContractVariableQuantity, self).setUp() + super().setUp() self.partner = self.env["res.partner"].create({"name": "Test partner"}) self.product = self.env["product.product"].create({"name": "Test product"}) self.contract = self.env["contract.contract"].create(