summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorJosse Colpaert <jco@odoo.com>2015-10-14 14:15:00 +0200
committerJosse Colpaert <jco@odoo.com>2015-10-15 17:09:14 +0200
commit1456262801104f1534c706d1fff7d73e16959cd2 (patch)
treee9147849c0203e0e32856655638f1b860cfbeabc /addons
parent81f34b977b77baf6cd50010243702218b50d9e25 (diff)
[IMP] mrp: remove domain for analytic accounts referenced as they don't have type view anymore (and no type also) fixes #9063
Diffstat (limited to 'addons')
-rw-r--r--addons/mrp/mrp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py
index a01b5df4b16..b5e5fb392b1 100644
--- a/addons/mrp/mrp.py
+++ b/addons/mrp/mrp.py
@@ -57,10 +57,10 @@ class mrp_workcenter(osv.osv):
'time_start': fields.float('Time before prod.', help="Time in hours for the setup."),
'time_stop': fields.float('Time after prod.', help="Time in hours for the cleaning."),
'costs_hour': fields.float('Cost per hour', help="Specify Cost of Work Center per hour."),
- 'costs_hour_account_id': fields.many2one('account.analytic.account', 'Hour Account', domain=[('type','!=','view')],
+ 'costs_hour_account_id': fields.many2one('account.analytic.account', 'Hour Account',
help="Fill this only if you want automatic analytic accounting entries on production orders."),
'costs_cycle': fields.float('Cost per cycle', help="Specify Cost of Work Center per cycle."),
- 'costs_cycle_account_id': fields.many2one('account.analytic.account', 'Cycle Account', domain=[('type','!=','view')],
+ 'costs_cycle_account_id': fields.many2one('account.analytic.account', 'Cycle Account',
help="Fill this only if you want automatic analytic accounting entries on production orders."),
'costs_general_account_id': fields.many2one('account.account', 'General Account', domain=[('deprecated', '=', False)]),
'resource_id': fields.many2one('resource.resource','Resource', ondelete='cascade', required=True),