mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[MIG][13.0] contract_variable_qty_timesheet: Migration to 13.0
This commit is contained in:
@@ -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"],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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):
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../contract_variable_qty_timesheet
|
||||||
6
setup/contract_variable_qty_timesheet/setup.py
Normal file
6
setup/contract_variable_qty_timesheet/setup.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['setuptools-odoo'],
|
||||||
|
odoo_addon=True,
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user