Skip to content
Snippets Groups Projects

[IMP] energy_selfconsumption: invoicing acquired power

8 files
+ 79
151
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -4,10 +4,4 @@ from odoo import fields, models
class Product(models.Model):
_inherit = "product.product"
project_id = fields.Many2one(
"energy_project.project",
required=True,
ondelete="restrict",
string="Energy Project",
check_company=True,
)
contract_template_id = fields.Many2one("contract.template")
Loading