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

[16.0][IMP] stock_picking_mass_action: imp reservation logic from odoo base #1796

Draft
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

FLAlvaroGomez
Copy link

@FLAlvaroGomez FLAlvaroGomez commented Dec 19, 2024

The check_assign_all() method in the stock.picking model of the stock_picking_mass_action module has been enhanced to align with Odoo's stock reservation logic.

Changes implemented:

  • Assignement at stock.move level:
    • Availability checks now respect the domain defined by Odoo's scheduler logic.
  • Custom domain
    • The planned action accepts a configurable domain(at stock.move level)t o adapt the movements to be processed
  • Batch processing
    • Added support for processing moves in configurable batches, with a default size of 1000

@FLAlvaroGomez FLAlvaroGomez changed the title [UPD] stock_logistics_workflow [UPD] stock_picking_mass_action Dec 30, 2024
@FLAlvaroGomez FLAlvaroGomez force-pushed the 16.0-imp-stock-logistics-workflow branch 4 times, most recently from 5fdc41b to 67738b2 Compare January 10, 2025 11:24
@FLAlvaroGomez FLAlvaroGomez marked this pull request as draft January 10, 2025 13:42
@FLAlvaroGomez FLAlvaroGomez force-pushed the 16.0-imp-stock-logistics-workflow branch from 67738b2 to 82e3bb9 Compare January 10, 2025 13:51
@FLAlvaroGomez FLAlvaroGomez changed the title [UPD] stock_picking_mass_action [16.0][IMP] stock_picking_mass_action: imp reservation logic from odoo base Jan 10, 2025
@FLAlvaroGomez FLAlvaroGomez force-pushed the 16.0-imp-stock-logistics-workflow branch from 82e3bb9 to 9e2b6ca Compare January 15, 2025 10:28
Added reservation logic for moves defined in odoo base
@FLAlvaroGomez FLAlvaroGomez force-pushed the 16.0-imp-stock-logistics-workflow branch from 9e2b6ca to a2db801 Compare January 15, 2025 13:52
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.

1 participant