Skip to content

[19.0][MIG] ddmrp#600

Merged
OCA-git-bot merged 606 commits into
OCA:19.0from
ForgeFlow:19.0-mig-ddmrp
Apr 29, 2026
Merged

[19.0][MIG] ddmrp#600
OCA-git-bot merged 606 commits into
OCA:19.0from
ForgeFlow:19.0-mig-ddmrp

Conversation

@PaulaMForgeFlow
Copy link
Copy Markdown

Standard Migration

BernatPForgeFlow and others added 30 commits March 16, 2026 15:05
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ddmrp-15.0/ddmrp-15.0-ddmrp
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp/
…s set

The onchange only has a visual effect. Actual changes to adu must be made in
the create and write methods.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ddmrp-15.0/ddmrp-15.0-ddmrp
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp/
remove unneded attributes on related field definition.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ddmrp-15.0/ddmrp-15.0-ddmrp
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ddmrp-15.0/ddmrp-15.0-ddmrp
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp/
Currently translated at 100.0% (291 of 291 strings)

Translation: ddmrp-15.0/ddmrp-15.0-ddmrp
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp/es_AR/
A hook is added to get production delay because subcontracting BoMs calculate production time differently, from the time of the first vendor with subcontracted type.
- Add link to Stock Demand Estimates from Stock Buffer
- Add link to MRP BoM from Stock Buffer
- Add link to Stock Buffers from Product Variants
- Add link to Stock Buffer from MRP BoM Line
- On the top, we will have contextualization about the bufffer.
- On the left side, we will have settings and info about the configuration of the buffer and procurements.
- On the right side, we will have information about the buffer.

Apart from this, you will be able to access the source of ADU, Qualified demand and Incoming (DLT) calculations.
@LoisRForgeFlow
Copy link
Copy Markdown
Contributor

LoisRForgeFlow commented Apr 13, 2026

Cherry picked recent change from v18 b48c84f (#601)

@LoisRForgeFlow
Copy link
Copy Markdown
Contributor

Cherry picked a recent change from 18.0 #606

Copy link
Copy Markdown
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

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

Code review (see comments below) and quick functional review, main issues related to UoM migration.

Comment thread ddmrp/models/stock_buffer.py Outdated
Comment thread ddmrp/models/stock_buffer.py Outdated
Comment thread ddmrp/models/stock_buffer.py Outdated
Comment thread ddmrp/models/stock_buffer.py Outdated
Comment thread ddmrp/models/stock_buffer.py Outdated
Comment thread ddmrp/views/purchase_order_line_view.xml Outdated
Comment thread ddmrp/views/stock_buffer_view.xml Outdated
Comment thread ddmrp/views/stock_buffer_view.xml Outdated
Comment thread ddmrp/views/stock_buffer_view.xml Outdated
Comment thread ddmrp/views/stock_buffer_view.xml Outdated
Copy link
Copy Markdown
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

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

Thank for attending my comments, I did a new review:

Comment thread ddmrp/models/stock_buffer.py Outdated
Comment thread ddmrp/demo/stock_buffer_demo.xml Outdated
Comment thread ddmrp/models/stock_buffer.py Outdated
Comment thread ddmrp/models/stock_buffer.py Outdated
Comment thread ddmrp/models/stock_buffer.py Outdated
Comment on lines +1405 to +1406
if not self.env.company.ddmrp_adu_calc_include_scrap:
domain.append(("location_id.scrap_location", "=", False))
domain.append(("location_id.usage", "!=", "inventory"))
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.

@PaulaMForgeFlow Then in order to keep the setting meaning, you need to identify scraps in a different way. I suggest using scrap_id not set.

Comment thread ddmrp/models/stock_buffer.py
PaulaMForgeFlow and others added 6 commits April 29, 2026 09:29
Show only indirect demand button when the method is going to use it.
The moves shown were not all qualified demand due to an issue in
the date filtering. In addition to fixing this issue:

- We show all demand moves but filtered by default to the ones that
  are qualified demand.
- Added the reserved quantity to ease understanding that not all
  quantity is considered.
Copy link
Copy Markdown
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

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

All comments attended and resolved, functional review LGTM 👍

@LoisRForgeFlow
Copy link
Copy Markdown
Contributor

/ocabot migration ddmrp

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Apr 29, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Apr 29, 2026
18 tasks
@LoisRForgeFlow
Copy link
Copy Markdown
Contributor

Time to merge!

/ocabot merge nobump

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 19.0-ocabot-merge-pr-600-by-LoisRForgeFlow-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 924a499 into OCA:19.0 Apr 29, 2026
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 19720c4. Thanks a lot for contributing to OCA. ❤️

@LoisRForgeFlow LoisRForgeFlow deleted the 19.0-mig-ddmrp branch April 29, 2026 07:49
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.