Add production prefix to label of cost price fields for production
This commit is contained in:
@@ -11,7 +11,8 @@ class Cron(metaclass=PoolMeta):
|
||||
def __setup__(cls):
|
||||
super().__setup__()
|
||||
cls.method.selection.extend([
|
||||
('production|set_cost_from_moves', "Set Cost from Moves"),
|
||||
('production|set_cost_from_moves',
|
||||
"Set Cost from Production Moves"),
|
||||
('production|reschedule', "Reschedule Productions"),
|
||||
])
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ class Move(metaclass=PoolMeta):
|
||||
depends=['production_input', 'production_output']),
|
||||
'on_change_with_production', searcher='search_production')
|
||||
production_cost_price_updated = fields.Boolean(
|
||||
"Cost Price Updated", readonly=True,
|
||||
"Production Cost Price Updated", readonly=True,
|
||||
states={
|
||||
'invisible': ~Eval('production_input') & (Eval('state') == 'done'),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user