Skip to content

[17.0][MIG] sale_margin_delivered: Migration to 17.0 #239

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

Open
wants to merge 51 commits into
base: 17.0
Choose a base branch
from

Conversation

BhaveshHeliconia
Copy link

No description provided.

David and others added 30 commits February 21, 2025 13:00
…l on delivery purchase price

[UPD] README.rst

[UPD] Update sale_margin_delivered.pot

Update translation files

Updated by Update PO files to match POT (msgmerge) hook in Weblate.
…not delivered qty (OCA#43)

[FIX] sale_margin_delivered: Set % delivered percent to quantities ordered if the line has not delivered quantities

[ADD] icon.png
…to compute delivered margin. Other module tests fails

[UPD] README.rst
We don't want to compute margin based on stock moves for non storable
products. This specially true for services and kits.

TT33499
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: margin-analysis-16.0/margin-analysis-16.0-sale_margin_delivered
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-16-0/margin-analysis-16-0-sale_margin_delivered/
Currently translated at 100.0% (8 of 8 strings)

Translation: margin-analysis-16.0/margin-analysis-16.0-sale_margin_delivered
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-16-0/margin-analysis-16-0-sale_margin_delivered/es/
- Include context keys for avoiding mail operations overhead.
Currently translated at 100.0% (8 of 8 strings)

Translation: margin-analysis-16.0/margin-analysis-16.0-sale_margin_delivered
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-16-0/margin-analysis-16-0-sale_margin_delivered/it/
weblate and others added 20 commits February 21, 2025 13:00
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: margin-analysis-16.0/margin-analysis-16.0-sale_margin_delivered
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-16-0/margin-analysis-16-0-sale_margin_delivered/
Currently translated at 100.0% (11 of 11 strings)

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

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

Translation: margin-analysis-16.0/margin-analysis-16.0-sale_margin_delivered
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-16-0/margin-analysis-16-0-sale_margin_delivered/
'price_reduce' is deprecated and removed into the next version. Compute
the prirce_reduct from the price_subotal / product_uom_qty. We might
be tempted to use the 'price_reduce_taxecl' field from the sale order
line but this field is rounded by default to the monetary precision.

As an additional benefit this change ensures the compatibility with
the 'sale_triple_discount' addon. Indeed, when
'sale_triple_discount' is installed, the discount field is not used
as an aggregation of all the applied discount. It's only use to store
the first discount applied. Therefore, the field is not properly
computed since it doesn't include the second and third discount.
Put all the new fields after the orginal margin fields from odoo. (prior to this change, the new fields were displayed among the margin fields from Odoo
…ion of 1

As it's done into the sale_margin addon from odoo
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: margin-analysis-16.0/margin-analysis-16.0-sale_margin_delivered
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-16-0/margin-analysis-16-0-sale_margin_delivered/
Currently translated at 100.0% (11 of 11 strings)

Translation: margin-analysis-16.0/margin-analysis-16.0-sale_margin_delivered
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-16-0/margin-analysis-16-0-sale_margin_delivered/it/
@BhaveshHeliconia BhaveshHeliconia mentioned this pull request Feb 21, 2025
10 tasks
@BhaveshHeliconia BhaveshHeliconia force-pushed the 17.0-mig-sale_margin_delivered branch 2 times, most recently from 66551c6 to effa715 Compare February 21, 2025 09:44
@BhaveshHeliconia BhaveshHeliconia force-pushed the 17.0-mig-sale_margin_delivered branch from effa715 to 01cccae Compare February 21, 2025 09:51
@BhaveshHeliconia BhaveshHeliconia force-pushed the 17.0-mig-sale_margin_delivered branch 2 times, most recently from 306b089 to 01cccae Compare May 9, 2025 09:53
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.