mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
new option allow to set different payment mode for the contracts generated from the sale order than the one will be used for invoices.
14 lines
329 B
Python
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"
|
|
)
|