Files
odoo_source/addons/mrp/tests/__init__.py
T
Arnold Moyaux da8c905428 [IMP] mrp: clean test files + adapt to code
No need a common file for 3 tests. On top of it contains
global variable and a lot of indirection, making it impossible
to read.

Also before the quant reservation commit, a savepoint was call
during the action_assign and trigger a flush and recompute all.
Since it has been remove, it's computed during the first read on
it, that's during the mark as done and since the MO state is not
draft it will keep the default value (False). Call it after create
to trigger the computation at the right time.

+ a bit of linting

closes odoo/odoo#115328

Related: odoo/enterprise#38207
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
2023-03-17 19:22:13 +01:00

20 lines
544 B
Python

# -*- coding: utf-8 -*-
from . import test_bom
from . import test_byproduct
from . import test_cancel_mo
from . import test_order
from . import test_stock
from . import test_stock_report
from . import test_warehouse_multistep_manufacturing
from . import test_procurement
from . import test_unbuild
from . import test_oee
from . import test_traceability
from . import test_multicompany
from . import test_backorder
from . import test_smp
from . import test_performance
from . import test_consume_component
from . import test_manual_consumption