diff options
| author | jem-odoo <jem@openerp.com> | 2018-03-28 16:25:12 +0200 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-04-06 14:30:47 +0200 |
| commit | 3a40ee00973bfb2514e833a46c604d492ebdd40d (patch) | |
| tree | a11e26c1e9305bd0557942a9cf6dcf9d9210e8ef /addons | |
| parent | 0cbcbf89d22f41976b9fccf553ddac2188d799d0 (diff) | |
[FIX] sale_timesheet: correct uom xml id
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/sale_timesheet/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale_timesheet/controllers/main.py b/addons/sale_timesheet/controllers/main.py index 8773d68aaa8..124c6bc0da5 100644 --- a/addons/sale_timesheet/controllers/main.py +++ b/addons/sale_timesheet/controllers/main.py @@ -27,7 +27,7 @@ class SaleTimesheetController(http.Controller): def _plan_prepare_values(self, projects): currency = request.env.user.company_id.currency_id - hour_rounding = request.env.ref('product.product_uom_hour').rounding + hour_rounding = request.env.ref('uom.product_uom_hour').rounding billable_types = ['non_billable', 'non_billable_project', 'billable_time', 'billable_fixed'] values = { |
