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

DUMMEY WIP 18.0 mig website sale product pack #199

Draft
wants to merge 33 commits into
base: 18.0
Choose a base branch
from

Conversation

augusto-weiss
Copy link

No description provided.

chienandalu and others added 30 commits December 6, 2024 16:01
Compatibility module between sale_product_pack and website_sale

TT30385
Done for e-commerce compatibility purposes, althoug it's more performant
indeed.
Create and select a specific pricelist for avoiding problems in
integrated environments where the default pricelist currency has been
changed.
When the cart is confirmed, a price recalculation is triggered for every
order line. This is wrong for detailed totalized packs, which lines
should be at 0.

TT38186
Currently translated at 100.0% (9 of 9 strings)

Translation: product-pack-16.0/product-pack-16.0-website_sale_product_pack
Translate-URL: https://translation.odoo-community.org/projects/product-pack-16-0/product-pack-16-0-website_sale_product_pack/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: product-pack-17.0/product-pack-17.0-website_sale_product_pack
Translate-URL: https://translation.odoo-community.org/projects/product-pack-17-0/product-pack-17-0-website_sale_product_pack/
Currently translated at 100.0% (9 of 9 strings)

Translation: product-pack-17.0/product-pack-17.0-website_sale_product_pack
Translate-URL: https://translation.odoo-community.org/projects/product-pack-17-0/product-pack-17-0-website_sale_product_pack/it/
marielejeune pushed a commit to acsone/product-pack that referenced this pull request Jan 9, 2025
…scount. (OCA#197)

Formerly was only taking into account the product packs discount, now take
into account both discounts.

Also we simplify the way that get_sale_order_line_vals works and now is
simplier and use Odoo's onchange methods to compute the lines values.

[FIX] product_pack: Pack component now have the tax of the company (OCA#198)

Before this fix the product's packs new sale order line have multiple taxes:
one por each company. Actually only need to add the taxes realated to the
sale order's company.

[FIX] product_pack: compute proper components prices (OCA#199)

In some cases the values were prefetched and it was throwing bad prices.
we add prefetch_fields to the context of the packs and that solve it.

[FIX/IMP] product_pack: Allow modify pack and do not reset after confirm website sale order (#201)

* [FIX] product_pack: Do not reset packs components when confirm sale order.

If a sale order is updated from the website whrn confirm the order we do
not expand the pack, we usit as it is.

* [ADD] product_pack: Allow modify pack from backend/website

Now we can choose if the product can be modified in the only int he backend or
if can be modified also in the frontend by the customers.

* [FIX] lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.