[19.0][MIG] website_sale_b2x_alt_price: Migration to version 19.0 - #1281
[19.0][MIG] website_sale_b2x_alt_price: Migration to version 19.0#1281carlos-lopez-tecnativa wants to merge 28 commits into
Conversation
|
/ocabot migration website_sale_b2x_alt_price |
|
You can rebase after #1282 |
- If your website is B2B, display a smaller B2C price next to the main one. And viceversa. - Toggle feature independently in list and product templates. - Toggle feature per website. - Supports live price recomputing. @Tecnativa TT24410
When testing on an integration environment which had a different l10n package enabled, the tours failed due to currency rate conversion. Create instead a test-specific pricelist and reset currency conversions before testing, to avoid false negative tests. That's not the feature being tested here. @Tecnativa TT24410
…ion in the portal When a customer accesses a quotation the first price they see is tax included. This can be commercially negative and therefore the option to display the price both with and without taxes is added. Highlighting one price or the other depending on the b2b or b2c options. TT42540
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: e-commerce-15.0/e-commerce-15.0-website_sale_b2x_alt_price Translate-URL: https://translation.odoo-community.org/projects/e-commerce-15-0/e-commerce-15-0-website_sale_b2x_alt_price/
Currently translated at 100.0% (5 of 5 strings) Translation: e-commerce-15.0/e-commerce-15.0-website_sale_b2x_alt_price Translate-URL: https://translation.odoo-community.org/projects/e-commerce-15-0/e-commerce-15-0-website_sale_b2x_alt_price/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: e-commerce-18.0/e-commerce-18.0-website_sale_b2x_alt_price Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_b2x_alt_price/
Currently translated at 0.0% (0 of 5 strings) Translation: e-commerce-18.0/e-commerce-18.0-website_sale_b2x_alt_price Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_b2x_alt_price/pt_BR/
Currently translated at 80.0% (4 of 5 strings) Translation: e-commerce-18.0/e-commerce-18.0-website_sale_b2x_alt_price Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_b2x_alt_price/es/
Currently translated at 40.0% (2 of 5 strings) Translation: e-commerce-18.0/e-commerce-18.0-website_sale_b2x_alt_price Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_b2x_alt_price/fr/
Currently translated at 40.0% (2 of 5 strings) Translation: e-commerce-18.0/e-commerce-18.0-website_sale_b2x_alt_price Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_b2x_alt_price/ca/
Currently translated at 100.0% (5 of 5 strings) Translation: e-commerce-18.0/e-commerce-18.0-website_sale_b2x_alt_price Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_b2x_alt_price/it/
Currently translated at 100.0% (5 of 5 strings) Translation: e-commerce-18.0/e-commerce-18.0-website_sale_b2x_alt_price Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_b2x_alt_price/es/
b639c47 to
afdf79c
Compare
afdf79c to
b81c594
Compare
This module changes the logic used to display taxes on the website based on the res.partner fields (see https://github.com/OCA/e-commerce/blob/b46e520b2f84a3d46d9f85c39e7313112bd4c122/website_sale_tax_selection/models/website.py#L25). Since these fields always have a default value, the logic always uses the values from the res.partner record. As a result, it is incompatible with website_sale_b2x_alt_price.
|
I tested it on this Runboat instance, and it works as expected. Which Runboat instance did you test it on? Remember that the product must have taxes configured. http://oca-e-commerce-19-0-pr1281-e58a181f18a2.runboat.odoo-community.org/shop/serv-125890-warranty-40
|
Works fine, but it is indented and it should not be IMHO. |
It is not indented. Following the Odoo style, the text is aligned to the left in the product list view and to the right in the product form view. This difference in alignment is what makes the text appear indented. |






TT64029
@Tecnativa @pedrobaeza @pilarvargas-tecnativa @eduezerouali-tecnativa could you please review this?