odoo/odoo#193376

Created by fw-bot
Merged at f9e362c45414001077738c2462e9e030f865ec36

Statuses:

label
odoo-dev:17.0-16.0-l10n_es_edi_tbai-multi_refund-Jb0H-fw
head
57680ae739ba816977c5dc786b752558ebc30fe6
merged
8 months ago by Accounting, Ricardo Gomes Rodrigues (rigr)
odoo/odoo
16.0 #191303
17.0 #193376
saas-17.4 #198140
18.0 #198195

[FW][IMP] l10n_es_edi_tbai: allow for more than one original vendor bill

Backport of #166533:

> For the Bizkaia tax agency in Bask country, we also need to send vendor bills and vendor bill refunds. In Odoo standard however, we only have a link towards one original vendor bill for a vendor bill refund.
>
> The problem however is that your vendor can send you a vendor refund for multiple original vendor bills and that for the moment, you do not really have a good way to encode it.
>
> So, we added a field to put the other original vendor bills as a many2many.
>
> We also updated the translations.
>
> opw-3719158


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
@moduon MT-4966

Forward-Port-Of: #191303