Ensure workorder sequence is applied on new workorders

Test sequence is applied for multiple operations
Rewrite _reset_work_order_sequence in a more pythonic way
Change _order of mrp.workorder to use sequence
Set sequence on existing workorders after module install
This commit is contained in:
Akim Juillerat
2022-12-20 18:55:31 +01:00
committed by DavidJForgeFlow
parent 02a502c8c4
commit 16e40e4c16
7 changed files with 152 additions and 12 deletions

View File

@@ -1,3 +1,4 @@
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from . import models
from .hooks import post_init_hook