mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
17 lines
568 B
Python
17 lines
568 B
Python
# Copyright 2020 Tecnativa - Carlos Dauden
|
|
# Copyright 2020 Tecnativa - Sergio Teruel
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
from odoo import fields, models
|
|
|
|
|
|
class AccountMoveLine(models.Model):
|
|
_inherit = "account.move.line"
|
|
|
|
agreement_rebate_settlement_line_ids = fields.Many2many(
|
|
comodel_name="agreement.rebate.settlement.line",
|
|
relation="agreement_rebate_settlement_line_account_invoice_line_rel",
|
|
column1="invoice_line_id",
|
|
column2="settlement_line_id",
|
|
string="Settlement lines",
|
|
)
|