odoo/odoo#163385

Created by Maruan Aguerdouh Mohtar (magm)
label
odoo-dev:saas-17.1-opw-3872968-magm
head
bd37eb63dbcbd2cf36061162df7e1b3195a95b32
target
saas-17.1
merged
3 weeks ago by Accounting, John Laterre (jol)
forward-ports

[FIX] l10n_ar_pos: no traceback on creating partner pos when argentina localization

Steps to reproduce:

1. Install l10n_ar_pos.
2. Make sure we are in the Argentinian company.
3. Open PoS and create a new session.
4. When inside, try to create a new partner from here.

The issue is that, since the changes where we retrieve the partner from the props, we might have cases where we don't have a partner since this field is defined as optional in our point_of_sale PartnerList, from we retrieve the props from.

opw-3872968