-
-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- The deadline of MO generated via procurements is calculated differently. Now, it doesn't take anymore in account the manufacturing_lead of the company (Security Lead Time of MO). The computation of planned date remains unchanged. - The date_expected fields was duplicated with the date fields except when the move was done. Merge both fields. The only information lost is: we can't know what was the scheduled date before processing move (`state` == done). Indeed, the date becomes the actual move processing datetime. - The `date` in `stock.picking` field contained the time of (purchase) order `date_order` (`purchase.order`). This field is was wrongly used in the kanban view where we expected to see date_planned instead. Also, the `_order` used this date instead of date_planned too. - The `delay_alert` is activate independently of stock rules. Then it is now activate in all case. - Remove the auto-reschedulting process of stock move via the stock rule (`propagate_date` and `propagate_date_minimum_delta`). Replace it by a automatic deadline date (`date_deadline`) propagation. The deadline is the promise done to/by vendor/client (SO/PO) then it is a readonly fields on picking/move and MO. - Now the Scheduled date (`date`) of stock move is never propagate and it is only related to the Scheduled date of related document (MO or picking). - Now when a move is created from procurement (sale), `date_planned` = `date_deadline` - `security_lead`. - The `delivery_date` of sale is no editable after confirmation and propagate as the deadline to related stock move linked to order_line - Adapt filter and decoration of MO and picking. - Because we are the client in case of purchase (PO), the promise of vendor can be not respected. Then we add the lead security to the deadline (inverse the sale order logic) of PO picking (promise reciept date + security lead) to match with the replenishment. task-2246665
- Loading branch information
Showing
37 changed files
with
362 additions
and
958 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.