Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
13
sale_tier_validation/models/res_company.py
Executable file
13
sale_tier_validation/models/res_company.py
Executable file
@@ -0,0 +1,13 @@
|
||||
# Copyright 2024 Quartile (https://www.quartile.co)
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResCompany(models.Model):
|
||||
_inherit = "res.company"
|
||||
|
||||
sale_report_print_block = fields.Boolean(
|
||||
help="Block the printing of the sale order report "
|
||||
"if the order is not validated."
|
||||
)
|
||||
Reference in New Issue
Block a user