Improve reordering rules with stock by days based on sales [v. 7.0]
Now the reordering rules are very basic, only with option of ordering based on static quantity (min and max). It would be better to improve them with the option of reordering on the base of sales statistic, with a stock of expected "days" of sales.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Sergio Corato
- Direction:
- Needs approval
- Assignee:
- Sergio Corato
- Definition:
- Approved
- Series goal:
- Proposed for 7.0
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Sergio Corato
- Completed by
- Sergio Corato
Related branches
Related bugs
Sprints
Whiteboard
I agree with the idea. I would suggest to have a cron job that could be run daily/weekly to recalculate all the sales and update the reordering rules. Otherwise the procurement scheduler could become extremely slow if it has to recalculate everytime the rules. Besides, it will have less impact on the scheduler logic (you just have to update the rules)
I agree with you, and I'll put next revision in module 'OpenERP Stock And Logistic - Warehouse' https:/
10-feb-2013: Module re-implemented with cron job and clean installation without modifying procurement source code; related branch updated.