Files
contract/contract_sale_payment_mode/models/res_company.py
sbejaoui 0d73cab59d [12.0][IMP] - Different payment mode for contracts generated from sale orders
new option allow to set different payment mode for the contracts generated from
the sale order than the one will be used for invoices.
2020-11-13 18:58:27 +01:00

14 lines
329 B
Python

# Copyright 2020 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class ResCompany(models.Model):
_inherit = 'res.company'
specific_contract_payment_mode = fields.Boolean(
string="Specific payment mode for contracts created from sale orders"
)