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] sale_order_type: Ensure sale_type_id is computed correctly #3301

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

rov-adhoc
Copy link

When a sale_type is set for a partner, it was not correctly applied when creating an invoice for that partner. This resulted in invoices not reflecting the correct sale_order_type`during creation, leading to potential inconsistencies in how invoices were processed.

This commit fixes the issue by ensuring that the context is preserved and properly applied during invoice creation.

Steps to reproduce:

  1. Set a sale_order_type for a partner.
  2. Create an invoice for that partner.
  3. Observe that the created invoice does not display the correct sale_type_id.

Video with the issue --> https://drive.google.com/file/d/1tupgsxmEttOUC3qq0PZFMNRb68DquOjJ/view

@rov-adhoc rov-adhoc force-pushed the 17.0-h-79242-rov branch 3 times, most recently from 49f6961 to 3e2ee1f Compare September 6, 2024 20:06
Copy link
Contributor

@jjscarafia jjscarafia left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants