Skip to content

[18.0] [MIG] sale_stock_available_to_promise_release: Migration to 18.0#1046

Closed
bizzappdev wants to merge 39 commits into
OCA:18.0from
BizzAppDev-Systems:18.0-mig-sale_stock_available_to_promise_release-BAD
Closed

[18.0] [MIG] sale_stock_available_to_promise_release: Migration to 18.0#1046
bizzappdev wants to merge 39 commits into
OCA:18.0from
BizzAppDev-Systems:18.0-mig-sale_stock_available_to_promise_release-BAD

Conversation

@bizzappdev

Copy link
Copy Markdown

Dependency PR for module stock_available_to_promise_release #1045

Guewen Baconnier and others added 30 commits May 28, 2025 18:58
Currently translated at 69.2% (18 of 26 strings)

Translation: wms-14.0/wms-14.0-sale_stock_available_to_promise_release
Translate-URL: https://translation.odoo-community.org/projects/wms-14-0/wms-14-0-sale_stock_available_to_promise_release/it/
Currently translated at 69.2% (18 of 26 strings)

Translation: wms-14.0/wms-14.0-sale_stock_available_to_promise_release
Translate-URL: https://translation.odoo-community.org/projects/wms-14-0/wms-14-0-sale_stock_available_to_promise_release/it/
Currently translated at 69.2% (18 of 26 strings)

Translation: wms-14.0/wms-14.0-sale_stock_available_to_promise_release
Translate-URL: https://translation.odoo-community.org/projects/wms-14-0/wms-14-0-sale_stock_available_to_promise_release/it/
Currently translated at 100.0% (26 of 26 strings)

Translation: wms-14.0/wms-14.0-sale_stock_available_to_promise_release
Translate-URL: https://translation.odoo-community.org/projects/wms-14-0/wms-14-0-sale_stock_available_to_promise_release/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: wms-14.0/wms-14.0-sale_stock_available_to_promise_release
Translate-URL: https://translation.odoo-community.org/projects/wms-14-0/wms-14-0-sale_stock_available_to_promise_release/
Currently translated at 100.0% (29 of 29 strings)

Translation: wms-14.0/wms-14.0-sale_stock_available_to_promise_release
Translate-URL: https://translation.odoo-community.org/projects/wms-14-0/wms-14-0-sale_stock_available_to_promise_release/it/
Currently if sale_stock_available_to_promise_release is installed
we are not able to change the release policy anymore.
Therefor we need a separate field,
which will be set from the procurement.group's move_type.

For Example we can now keep the shipping_policy on the transfer
but release only partially.
…ment_date' perf

Checking ongoing states instead of finished ones (done and canceled) helps
PostgreSQL to perform the filter on far less lines (done lines are
increasing a lot over time), speeding up the query to get the next
replenishment date.
santostelmo and others added 7 commits May 28, 2025 19:06
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: wms-16.0/wms-16.0-sale_stock_available_to_promise_release
Translate-URL: https://translation.odoo-community.org/projects/wms-16-0/wms-16-0-sale_stock_available_to_promise_release/
Currently translated at 100.0% (31 of 31 strings)

Translation: wms-16.0/wms-16.0-sale_stock_available_to_promise_release
Translate-URL: https://translation.odoo-community.org/projects/wms-16-0/wms-16-0-sale_stock_available_to_promise_release/it/
Currently translated at 70.9% (22 of 31 strings)

Translation: wms-16.0/wms-16.0-sale_stock_available_to_promise_release
Translate-URL: https://translation.odoo-community.org/projects/wms-16-0/wms-16-0-sale_stock_available_to_promise_release/fr/

@mmequignon mmequignon left a comment

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.

Same comment as #1045


{
"name": "Stock Available to Promise Release - Sale Integration",
"version": "16.0.1.1.2",

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.

Please fix this

@@ -0,0 +1,2 @@
The migration of this module from 14.0 to 16.0 was financially supported

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
The migration of this module from 14.0 to 16.0 was financially supported
The migration of this module from 14.0 to 18.0 was financially supported

Comment on lines +8 to +18
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="stock_sale_report_display_is_available" />
</div>
<div class="o_setting_right_pane">
<label for="stock_sale_report_display_is_available" />
<div class="text-muted">
Show Available column in SO and quotation reports
</div>
</div>
</div>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Using <setting> tags instead

@bizzappdev
bizzappdev force-pushed the 18.0-mig-sale_stock_available_to_promise_release-BAD branch from c2f82a2 to a65f153 Compare June 17, 2025 10:47
@bizzappdev
bizzappdev marked this pull request as ready for review June 17, 2025 10:50
<field name="inherit_id" ref="stock.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[@id='stock_reservation']" position="inside">
<setting class="col-12 col-lg-6 o_setting_box">

@henrybackman henrybackman Jun 17, 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

@henrybackman
Changes are done

@bizzappdev
bizzappdev force-pushed the 18.0-mig-sale_stock_available_to_promise_release-BAD branch from a65f153 to 24b9c87 Compare June 17, 2025 14:04
<field name="inherit_id" ref="sale.view_order_form" />
<field name="arch" type="xml">
<xpath expr="//button[@name='action_view_invoice']" position="before">
<field name="move_need_release_count" invisible="1" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@bizzappdev
bizzappdev force-pushed the 18.0-mig-sale_stock_available_to_promise_release-BAD branch from 24b9c87 to 1b7ea38 Compare June 18, 2025 06:12
@bizzappdev
bizzappdev force-pushed the 18.0-mig-sale_stock_available_to_promise_release-BAD branch from 1b7ea38 to 720d597 Compare June 18, 2025 06:44
@bizzappdev
bizzappdev requested a review from henrybackman June 18, 2025 10:22

@mmequignon mmequignon left a comment

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.

LG, can be merged as soon as the dependency is merged

@jbaudoux jbaudoux 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.

@twalter-c2c

Copy link
Copy Markdown

@bizzappdev, as you opened a PR in the stock-logistics-reservation repo, this one should be closed, am I right?

@bizzappdev

Copy link
Copy Markdown
Author

The PR is closed as the module has been moved to OCA/stock-logistics-reservation#12

@bizzappdev bizzappdev closed this Jul 1, 2025
@bizzappdevteam
bizzappdevteam deleted the 18.0-mig-sale_stock_available_to_promise_release-BAD branch November 7, 2025 08:48
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.