Skip to content
Snippets Groups Projects
Commit dcd84cc7 authored by Paul Morelle's avatar Paul Morelle
Browse files

[FIX] account_edi*: retrieve records within allowed companies


_retrieve_{partner,product,tax} methods were not taking into account a
scope of a company, and methods like _import_ubl or _import_facturx
could end up on creating an invoice with a company mismatch between the
company of the journal and the company of the partner, product or tax.

With this commit, these methods will consider the allowed_company_ids
context value, and calling code should set it to an acceptable value.

OPW-2560795

closes odoo/odoo#75738

Signed-off-by: default avatarLaurent Smet <smetl@users.noreply.github.com>
parent ebaf7c7a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment