Skip to content
Snippets Groups Projects
Commit 505109d4 authored by Valentin Vallaeys (vava)'s avatar Valentin Vallaeys (vava)
Browse files

[FIX] payment: fallback on transaction partner parent name


In a Sale Order, it is possible to select an invoice address without a
name. The partner of the transaction does not have a name, which leads
to a traceback when trying to split the name.

The idea is to force the name to be filled, with a fallback on the
partner' parent name.

OPW-3338406

closes odoo/odoo#124825

Signed-off-by: default avatarAntoine Vandevenne (anv) <anv@odoo.com>
parent a5f345a2
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