Skip to content

[18.0][IMP] purchase_sale_inter_company: Intercompny sale order has empty pricelist when the sale order is confirmed from website e-commerce#1000

Open
sergio-teruel wants to merge 2 commits into
OCA:18.0from
Tecnativa:18.0-FIX-purchase_sale_inter_company-pricelist-e-commerce
Open

[18.0][IMP] purchase_sale_inter_company: Intercompny sale order has empty pricelist when the sale order is confirmed from website e-commerce#1000
sergio-teruel wants to merge 2 commits into
OCA:18.0from
Tecnativa:18.0-FIX-purchase_sale_inter_company-pricelist-e-commerce

Conversation

@sergio-teruel

Copy link
Copy Markdown

@OCA-git-bot OCA-git-bot added series:18.0 mod:purchase_sale_inter_company Module purchase_sale_inter_company labels May 15, 2026

@carlos-lopez-tecnativa carlos-lopez-tecnativa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@pedrobaeza pedrobaeza added this to the 18.0 milestone May 15, 2026
# returns False
if not new_order.pricelist_id:
new_order.pricelist_id = (
new_order.partner_id.specific_property_product_pricelist

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is the partner already instantiated with the proper with_company for having the suitable pricelist in the target company?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Changes Done!!

…ricelist when the sale order is confirmed from website e-commerce
@sergio-teruel sergio-teruel force-pushed the 18.0-FIX-purchase_sale_inter_company-pricelist-e-commerce branch from d2323e9 to b2b0d1d Compare May 22, 2026 16:02
@OCA-git-bot OCA-git-bot added the mod:account_invoice_inter_company Module account_invoice_inter_company label May 22, 2026
@sergio-teruel

Copy link
Copy Markdown
Author

ping!!!

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

Labels

approved mod:account_invoice_inter_company Module account_invoice_inter_company mod:purchase_sale_inter_company Module purchase_sale_inter_company series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants