OCA reporting engine fork for dev and update.
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.

25 lines
581 B

  1. # Copyright 2017 Avoin.Systems
  2. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
  3. from odoo import fields, models
  4. class ReportPaperformatParameter(models.Model):
  5. _name = "report.paperformat.parameter"
  6. _description = "wkhtmltopdf parameters"
  7. paperformat_id = fields.Many2one(
  8. "report.paperformat",
  9. "Paper Format",
  10. required=True,
  11. )
  12. name = fields.Char(
  13. "Name",
  14. required=True,
  15. help="The command argument name. Remember to add prefix -- or -",
  16. )
  17. value = fields.Char(
  18. "Value",
  19. )