Previously we set a component on MO to be manual consumption by comparing the To Consume and Consumed, if they are not the same, we consider it a manual consumption. Now if any input activity in the Consumed cell, we will consider it a manual consumption. Note that in the code, we make the css class change happended in the list renderer instead of the field widget. We do that because we want to change the background color of the whole cell not just the text of the field. Task-3116125 Part-of: odoo/odoo#113538
20 lines
552 B
Python
20 lines
552 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_tracked_component
|
|
from . import test_manual_consumption
|