[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",
"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"],
}

View File

@@ -2,3 +2,7 @@
* Carlos Dauden
* 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.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):

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,
)