diff --git a/fiscal_company_sale/models/sale_order.py b/fiscal_company_sale/models/sale_order.py index 9a1f034..b54f8e2 100644 --- a/fiscal_company_sale/models/sale_order.py +++ b/fiscal_company_sale/models/sale_order.py @@ -2,7 +2,7 @@ # @author: Sylvain LE GAL (https://twitter.com/legalsylvain) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from odoo import models +from odoo import fields, models class SaleOrder(models.Model): @@ -10,3 +10,5 @@ class SaleOrder(models.Model): _inherit = ["sale.order", "fiscal.company.check.company.mixin"] _fiscal_company_forbid_fiscal_type = ["group", "fiscal_mother"] + + payment_term_id = fields.Many2one(check_company=False)