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.

10 lines
436 B

  1. from odoo import fields, models
  2. class ResConfigSettings(models.TransientModel):
  3. _inherit = "res.config.settings"
  4. group_validate_invoice_negative_total_amount = fields.Boolean(
  5. """Allow validating an invoice with a negative total amount""",
  6. implied_group="beesdoo_account." "group_validate_invoice_negative_total_amount",
  7. help="""Allows you to validate an invoice with a negative total amount""",
  8. )