This commit is contained in:
2026-11-08 18:46:28 +08:00
parent 3b5af1e3a6
commit 7526a5fe4d
179 changed files with 26005 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
account_production_wip_account_id = fields.Many2one(
comodel_name='account.account',
string='WIP Account',
readonly=False,
related='company_id.account_production_wip_account_id',
)
account_production_wip_account_active = fields.Boolean(related='account_production_wip_account_id.active', string="WIP Account Active")
account_production_wip_overhead_account_id = fields.Many2one(
comodel_name='account.account',
string='WIP Overhead Account',
readonly=False,
related='company_id.account_production_wip_overhead_account_id',
)
account_production_wip_overhead_account_active = fields.Boolean(related='account_production_wip_overhead_account_id.active', string="WIP Overhead Account Active")