You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
463 B
14 lines
463 B
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import api, fields, models
|
|
|
|
|
|
class ContractLine(models.AbstractModel):
|
|
_inherit = 'contract.abstract.contract.line'
|
|
|
|
products_invoiced_by_avg_ids = fields.Many2many(
|
|
comodel_name='product.product',
|
|
relation='contract_line_product_id_rel',
|
|
column1='contract_line_id',
|
|
column2='product_id',
|
|
string='Products Invoiced using Average Quantity')
|