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
467 B

  1. # Copyright 2016 Carlos Dauden <carlos.dauden@tecnativa.com>
  2. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  3. from odoo import fields, models
  4. class ResCompany(models.Model):
  5. _inherit = 'res.company'
  6. invoice_unpaid_margin = fields.Integer(
  7. string="Maturity Margin",
  8. help="Days after due date to set an invoice as unpaid."
  9. "The change of this field recompute all partners risk,"
  10. "be patient.",
  11. )