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.

21 lines
721 B

  1. # -*- coding: utf-8 -*-
  2. # © 2017 Therp BV <http://therp.nl>
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  4. from openerp import fields, models
  5. class ResCompany(models.Model):
  6. _inherit = 'res.company'
  7. partner_labels_width = fields.Float(
  8. 'Width', default=60, help='Width in millimeters', required=True,
  9. )
  10. partner_labels_height = fields.Float(
  11. 'Height', default=42.3, help='Height in millimeters', required=True,
  12. )
  13. partner_labels_padding = fields.Float(
  14. 'Padding', default=5, help='Padding in millimeters', required=True,
  15. )
  16. partner_labels_margin = fields.Float(
  17. 'Margin', default=1, help='Margin in millimeters', required=True,
  18. )