[MIG][13.0] contract_variable_qty_timesheet: Migration to 13.0

This commit is contained in:
Fernando La Chica
2020-11-23 18:02:45 +01:00
parent 8e4163de5f
commit 2ff37fd7bc
5 changed files with 16 additions and 5 deletions

View File

@@ -4,14 +4,14 @@
{ {
"name": "Contract Variable Qty Timesheet", "name": "Contract Variable Qty Timesheet",
"summary": "Add formula to invoice ", "summary": "Add formula to invoice ",
"version": "12.0.1.0.0", "version": "13.0.1.0.0",
"category": "Contract Management", "category": "Contract Management",
"website": "https://github.com/oca/contract", "website": "https://github.com/oca/contract",
"author": "Tecnativa, " "Odoo Community Association (OCA)", "author": "Tecnativa, " "Odoo Community Association (OCA)",
"license": "AGPL-3", "license": "AGPL-3",
"installable": True, "installable": True,
"development_status": "Production/Stable", "development_status": "Production/Stable",
"depends": ["contract_variable_quantity", "hr_timesheet",], "depends": ["contract_variable_quantity", "hr_timesheet"],
"data": ["data/contract_line_qty_formula_data.xml",], "data": ["data/contract_line_qty_formula_data.xml"],
"maintainers": ["carlosdauden", "pedrobaeza"], "maintainers": ["carlosdauden", "pedrobaeza"],
} }

View File

@@ -2,3 +2,7 @@
* Carlos Dauden * Carlos Dauden
* Pedro M. Baeza * Pedro M. Baeza
* `Guadaltech <https://www.guadaltech.es>`_:
* Fernando La Chica <fernandolachica@gmail.com>

View File

@@ -36,10 +36,10 @@ class TestContractVariableQtyTimesheet(common.SavepointCase):
} }
cls.contract_line = cls.env["contract.line"].create(contract_line_vals) cls.contract_line = cls.env["contract.line"].create(contract_line_vals)
cls.project = cls.env["project.project"].create( 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( 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): def _contract_invoicing(self, contract):

View File

@@ -0,0 +1 @@
../../../../contract_variable_qty_timesheet

View File

@@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)