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

  1. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  2. from odoo import api, fields, models
  3. class ContractLine(models.AbstractModel):
  4. _inherit = 'contract.abstract.contract.line'
  5. products_invoiced_by_avg_ids = fields.Many2many(
  6. comodel_name='product.product',
  7. relation='contract_line_product_id_rel',
  8. column1='contract_line_id',
  9. column2='product_id',
  10. string='Products Invoiced using Average Quantity')