oca-ocb-accounting/odoo-bringout-oca-ocb-mrp_account/mrp_account/models/mrp_bom.py
2025-08-29 15:20:47 +02:00

10 lines
448 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class MrpBom(models.Model):
_inherit = 'mrp.bom'
analytic_account_id = fields.Many2one('account.analytic.account', 'Analytic Account', company_dependent=True, copy=True,
help="Analytic account in which cost and revenue entries will take place for financial management of the manufacturing order.")