diff options
| author | XavierDo <xdo@odoo.com> | 2018-02-14 11:11:49 +0100 |
|---|---|---|
| committer | XavierDo <xdo@odoo.com> | 2018-02-26 14:27:26 +0100 |
| commit | 6a378e383910ab597359f95c38028b229fc82cc7 (patch) | |
| tree | d57505eb382baf08a5ea74863f83e7f11acbb634 /addons/project/data/project_data.xml | |
| parent | 9de5d41754b3b26a8c61d9f6dc4de64221c1d48a (diff) | |
[IMP] product: move uom in a new addon
Moves UoM models, test and data to a new addon in
order to be able to use uom without product.
A simple example is be to be able to use UoM for
timesheets.
This commit only move code, and adapt xml ids
without chaging any feature or functionnal
behavior.
Note: 'product' module now depends on new
'uom' module.
Diffstat (limited to 'addons/project/data/project_data.xml')
| -rw-r--r-- | addons/project/data/project_data.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project/data/project_data.xml b/addons/project/data/project_data.xml index 102427d07f5..35ce80e6f08 100644 --- a/addons/project/data/project_data.xml +++ b/addons/project/data/project_data.xml @@ -4,7 +4,7 @@ <!-- This will set the unit of measure used in projects and tasks.--> <record id="base.main_company" model="res.company"> - <field name="project_time_mode_id" ref="product.product_uom_hour"></field> + <field name="project_time_mode_id" ref="uom.product_uom_hour"></field> </record> <!-- sale_timesheet and project define the same field without depending on each, which causes the field to be deleted when the module that created it |
