summaryrefslogtreecommitdiff
path: root/addons/mrp_account/models/mrp_workcenter.py
blob: 20c9fcd08d6894c0cce57fec6c167a66002a22f2 (plain)
1
2
3
4
5
6
7
8
9
10
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.")