Skip to content
Snippets Groups Projects
Commit 70d8b669 authored by emanuel buzey's avatar emanuel buzey Committed by Daniil Digtyar Vasilieva
Browse files

The template was adjusted as requested

parent 483ea3ec
No related branches found
No related tags found
2 merge requests!195[REL] 14.0.2.0.0,!192[IMP] self_consumption: adding reports and documents
......@@ -27,6 +27,7 @@
"views/res_partner_views.xml",
"views/distribution_table_views.xml",
"views/supply_point_assignation_views.xml",
"views/custom_paper_format_views.xml",
"wizards/selfconsumption_import_wizard_views.xml",
"wizards/distribution_table_import_wizard_views.xml",
"reports/selfconsumption_reports.xml",
......
......@@ -3,3 +3,4 @@ from . import supply_point
from . import partner
from . import distribution_table
from . import supply_point_assignation
from . import custom_paper_format
from odoo import models, fields
class CustomPaperFormat(models.Model):
_inherit = 'report.paperformat'
custom_format_name = fields.Char('Custom Format Name', required=True)
custom_page_width = fields.Float('Custom Page Width')
custom_page_height = fields.Float('Custom Page Height')
custom_margin_top = fields.Float('Custom Margin Top')
custom_margin_bottom = fields.Float('Custom Margin Bottom')
custom_margin_left = fields.Float('Custom Margin Left')
custom_margin_right = fields.Float('Custom Margin Right')
orientation = fields.Char('Orientation')
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment