mrp_usability: add tracking on date fields
This commit is contained in:
@@ -10,6 +10,9 @@ class MrpProduction(models.Model):
|
|||||||
_inherit = 'mrp.production'
|
_inherit = 'mrp.production'
|
||||||
_order = 'id desc'
|
_order = 'id desc'
|
||||||
|
|
||||||
|
date_planned_start = fields.Datetime(track_visibility='onchange')
|
||||||
|
date_planned_finished = fields.Datetime(track_visibility='onchange')
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def get_stock_move_sold_out_report(self, move):
|
def get_stock_move_sold_out_report(self, move):
|
||||||
lines = move.active_move_line_ids
|
lines = move.active_move_line_ids
|
||||||
|
|||||||
Reference in New Issue
Block a user