Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

Ephoniz
Copy link
Contributor

@Ephoniz Ephoniz commented Apr 25, 2024

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

…a 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
@robodoo
Copy link
Contributor

robodoo commented Apr 25, 2024

Copy link
Contributor

@nle-odoo nle-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@Ephoniz Ephoniz marked this pull request as ready for review April 25, 2024 15:48
@C3POdoo C3POdoo requested review from a team and epictete and removed request for a team April 25, 2024 15:54
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Apr 25, 2024
Copy link
Contributor

@epictete epictete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

robodoo pushed a commit that referenced this pull request Apr 26, 2024
…a 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

closes #163385

Signed-off-by: John Laterre (jol) <jol@odoo.com>
@robodoo robodoo closed this Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants