Squashed commit of the following: commit5adce1fd15Author: Marc Durepos <marc@bemade.org> Date: Thu Sep 4 12:33:00 2025 -0400 [MIG] 17.0..18.0 account_credit_hold Migrated module account_credit_hold from 17.0 to 18.0. Fixed views and models and wrote test cases to check functionality. commit91c52af6f4Author: Marc Durepos <marc@bemade.org> Date: Thu Sep 4 11:38:37 2025 -0400 Initial migration of account_credit_hold for testing in 18.0
8 lines
300 B
Python
8 lines
300 B
Python
from odoo import fields, models, api
|
|
|
|
|
|
class FollowupLine(models.Model):
|
|
_inherit = 'account_followup.followup.line'
|
|
|
|
account_hold = fields.Boolean(string="Place on Credit Hold",
|
|
help="Place clients on account hold, restricting confirmation of new orders.")
|