23 lines
697 B
Python
23 lines
697 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright 2026 Nexa Systems Inc.
|
|
# License OPL-1 (Odoo Proprietary License v1.0)
|
|
# Part of the Fusion Plating product family.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResPartner(models.Model):
|
|
_inherit = 'res.partner'
|
|
|
|
x_fc_account_hold = fields.Boolean(
|
|
string='Account Hold', tracking=True,
|
|
help='When active, blocks SO confirmation, invoicing, and shipping.',
|
|
)
|
|
x_fc_account_hold_reason = fields.Text(string='Hold Reason')
|
|
x_fc_account_hold_date = fields.Datetime(
|
|
string='Hold Date', help='When the hold was placed.',
|
|
)
|
|
x_fc_account_hold_by_id = fields.Many2one(
|
|
'res.users', string='Hold Placed By',
|
|
)
|