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.

20 lines
488 B

  1. # Copyright 2020 Coop IT Easy SCRL fs
  2. # Robin Keunen <robin@coopiteasy.be>
  3. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
  4. import logging
  5. from odoo import fields, models
  6. _logger = logging.getLogger(__name__)
  7. class AccountInvoice(models.Model):
  8. _inherit = "account.invoice"
  9. binding_id = fields.One2many(
  10. comodel_name="emc.binding.account.invoice",
  11. inverse_name="internal_id",
  12. string="Binding ID",
  13. required=False,
  14. )