diff --git a/contract_line_invoice_by_average/models/contract_line.py b/contract_line_invoice_by_average/models/contract_line.py index 20b8f1d1..86b7e784 100644 --- a/contract_line_invoice_by_average/models/contract_line.py +++ b/contract_line_invoice_by_average/models/contract_line.py @@ -3,8 +3,8 @@ from odoo import api, fields, models -class ContractLine(models.AbstractModel): - _inherit = 'contract.abstract.contract.line' +class ContractLine(models.Model): + _inherit = 'contract.line' products_invoiced_by_avg_ids = fields.Many2many( comodel_name='product.product', diff --git a/contract_line_invoice_by_average/static/description/icon.png b/contract_line_invoice_by_average/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/contract_line_invoice_by_average/static/description/icon.png and /dev/null differ diff --git a/contract_line_invoice_by_average/views/contract_line_view.xml b/contract_line_invoice_by_average/views/contract_line_view.xml index 37104aed..5a1fd0de 100644 --- a/contract_line_invoice_by_average/views/contract_line_view.xml +++ b/contract_line_invoice_by_average/views/contract_line_view.xml @@ -1,14 +1,14 @@ - - inherit.contract.line.form.view - contract.abstract.contract.line - - - - - - - + + inherit.contract.line.form.view + contract.line + + + + + + +