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.

15 lines
525 B

  1. # -*- coding: utf-8 -*-
  2. # © 2016 Carlos Dauden <carlos.dauden@tecnativa.com>
  3. # © 2016 Pedro M. Baeza <pedro.baeza@tecnativa.com>
  4. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. from openerp import fields, models
  6. class ResPartner(models.Model):
  7. _inherit = 'res.partner'
  8. contract_invoice_merge = fields.Boolean(
  9. string="Merge contracts invoices",
  10. help="If checked, all the recurring invoices generated by the "
  11. "contracts of this partner will be merged on each run.")