diff options
| author | William Henrotin <whe@odoo.com> | 2019-05-23 12:07:32 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2019-05-28 06:50:58 +0000 |
| commit | 0679d0d54269ffe0664845e8e0bd1238110fd514 (patch) | |
| tree | ebe918e9bf258517867c684d139b2183bb18253e /doc/reference | |
| parent | 6fad651883b45c07a373d96f7b277dad91da4689 (diff) | |
[IMP] mrp: alternative workcenters
Purpose: link workcenters that can do the same job together.
Planning a workorder will be done by choosing, among the similar
workcenters, the one that will finish the production the soonest.
This commit adds a new many2many field on the mrp.workcenter
model. Planning the workorders will:
1. Loop on the operation's workcenter and all the alternative ones.
2. Compute the first available work slot for each of those workcenters.
3. Choose the soonest finished slot
Furthermore, planning workorder is done thanks to the resource module.
Each workorder is saved on its own workcenter calendar by a resource.calendar.leaves
The two date fields are thus computed from the leave date.
Task : 1892819
closes odoo/odoo#33018
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions
