From e3d70f3f423a4d38916964a583dc0372ef89edfb Mon Sep 17 00:00:00 2001 From: Fernando La Chica Date: Mon, 23 Nov 2020 18:02:45 +0100 Subject: [PATCH] [MIG][13.0] contract_variable_qty_timesheet: Migration to 13.0 --- contract_variable_qty_timesheet/README.rst | 14 +++++++++----- contract_variable_qty_timesheet/__manifest__.py | 6 +++--- .../i18n/contract_variable_qty_timesheet.pot | 7 +++---- contract_variable_qty_timesheet/i18n/de.po | 2 +- .../readme/CONTRIBUTORS.rst | 4 ++++ .../static/description/index.html | 10 +++++++--- .../tests/test_contract_variable_qty_timesheet.py | 4 ++-- 7 files changed, 29 insertions(+), 18 deletions(-) diff --git a/contract_variable_qty_timesheet/README.rst b/contract_variable_qty_timesheet/README.rst index 8acf44fb1..55cd08930 100644 --- a/contract_variable_qty_timesheet/README.rst +++ b/contract_variable_qty_timesheet/README.rst @@ -14,13 +14,13 @@ Contract Variable Qty Timesheet :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/12.0/contract_variable_qty_timesheet + :target: https://github.com/OCA/contract/tree/13.0/contract_variable_qty_timesheet :alt: OCA/contract .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_variable_qty_timesheet + :target: https://translation.odoo-community.org/projects/contract-13-0/contract-13-0-contract_variable_qty_timesheet :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/12.0 + :target: https://runbot.odoo-community.org/runbot/110/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -52,7 +52,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. @@ -72,6 +72,10 @@ Contributors * Carlos Dauden * Pedro M. Baeza +* `Guadaltech `_: + + * Fernando La Chica + Maintainers ~~~~~~~~~~~ @@ -96,6 +100,6 @@ Current `maintainers `__: |maintainer-carlosdauden| |maintainer-pedrobaeza| -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_qty_timesheet/__manifest__.py b/contract_variable_qty_timesheet/__manifest__.py index f6b768260..19e386b7f 100644 --- a/contract_variable_qty_timesheet/__manifest__.py +++ b/contract_variable_qty_timesheet/__manifest__.py @@ -4,14 +4,14 @@ { "name": "Contract Variable Qty Timesheet", "summary": "Add formula to invoice ", - "version": "12.0.1.0.0", + "version": "13.0.1.0.0", "category": "Contract Management", "website": "https://github.com/oca/contract", "author": "Tecnativa, " "Odoo Community Association (OCA)", "license": "AGPL-3", "installable": True, "development_status": "Production/Stable", - "depends": ["contract_variable_quantity", "hr_timesheet",], - "data": ["data/contract_line_qty_formula_data.xml",], + "depends": ["contract_variable_quantity", "hr_timesheet"], + "data": ["data/contract_line_qty_formula_data.xml"], "maintainers": ["carlosdauden", "pedrobaeza"], } diff --git a/contract_variable_qty_timesheet/i18n/contract_variable_qty_timesheet.pot b/contract_variable_qty_timesheet/i18n/contract_variable_qty_timesheet.pot index fb0e0363a..290e919b5 100644 --- a/contract_variable_qty_timesheet/i18n/contract_variable_qty_timesheet.pot +++ b/contract_variable_qty_timesheet/i18n/contract_variable_qty_timesheet.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * contract_variable_qty_timesheet +# * contract_variable_qty_timesheet # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,4 +27,3 @@ msgstr "" #: model:contract.line.qty.formula,name:contract_variable_qty_timesheet.contract_line_qty_formula_task_timesheet msgid "Task Timesheets" msgstr "" - diff --git a/contract_variable_qty_timesheet/i18n/de.po b/contract_variable_qty_timesheet/i18n/de.po index 4b09653ee..cc574369e 100644 --- a/contract_variable_qty_timesheet/i18n/de.po +++ b/contract_variable_qty_timesheet/i18n/de.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * contract_variable_qty_timesheet +# * contract_variable_qty_timesheet # msgid "" msgstr "" diff --git a/contract_variable_qty_timesheet/readme/CONTRIBUTORS.rst b/contract_variable_qty_timesheet/readme/CONTRIBUTORS.rst index e88bd67dd..63697f68d 100644 --- a/contract_variable_qty_timesheet/readme/CONTRIBUTORS.rst +++ b/contract_variable_qty_timesheet/readme/CONTRIBUTORS.rst @@ -2,3 +2,7 @@ * Carlos Dauden * Pedro M. Baeza + +* `Guadaltech `_: + + * Fernando La Chica diff --git a/contract_variable_qty_timesheet/static/description/index.html b/contract_variable_qty_timesheet/static/description/index.html index b65106f89..9404427d6 100644 --- a/contract_variable_qty_timesheet/static/description/index.html +++ b/contract_variable_qty_timesheet/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

This module extends the functionality of contract_variable_quantity adding several variable quantity formulas to allow to invoice lines from Timesheet (Analytic Lines).

@@ -401,7 +401,7 @@ depending on your need.

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.

@@ -420,6 +420,10 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Pedro M. Baeza
  • +
  • Guadaltech: +
  • @@ -431,7 +435,7 @@ mission is to support the collaborative development of Odoo features and promote its widespread use.

    Current maintainers:

    carlosdauden pedrobaeza

    -

    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_qty_timesheet/tests/test_contract_variable_qty_timesheet.py b/contract_variable_qty_timesheet/tests/test_contract_variable_qty_timesheet.py index 5f47cfc48..bbed59517 100644 --- a/contract_variable_qty_timesheet/tests/test_contract_variable_qty_timesheet.py +++ b/contract_variable_qty_timesheet/tests/test_contract_variable_qty_timesheet.py @@ -36,10 +36,10 @@ class TestContractVariableQtyTimesheet(common.SavepointCase): } cls.contract_line = cls.env["contract.line"].create(contract_line_vals) cls.project = cls.env["project.project"].create( - {"name": "Test project", "analytic_account_id": cls.analytic_account.id,} + {"name": "Test project", "analytic_account_id": cls.analytic_account.id} ) cls.task = cls.env["project.task"].create( - {"project_id": cls.project.id, "name": "Test task",} + {"project_id": cls.project.id, "name": "Test task"} ) def _contract_invoicing(self, contract):