summaryrefslogtreecommitdiff
path: root/addons/mrp_account/models/mrp_workcenter.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mrp_account/models/mrp_workcenter.py')
-rw-r--r--addons/mrp_account/models/mrp_workcenter.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/mrp_account/models/mrp_workcenter.py b/addons/mrp_account/models/mrp_workcenter.py
new file mode 100644
index 00000000..20c9fcd0
--- /dev/null
+++ b/addons/mrp_account/models/mrp_workcenter.py
@@ -0,0 +1,11 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
+from odoo import fields, models
+
+
+class MrpWorkcenter(models.Model):
+ _inherit = 'mrp.workcenter'
+
+ costs_hour_account_id = fields.Many2one('account.analytic.account', string='Analytic Account',
+ help="Fill this only if you want automatic analytic accounting entries on production orders.")