mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[IMP] mrp_progress_button: Unstart button and date_start field added
This commit is contained in:
@@ -18,3 +18,12 @@ class MrpProduction(models.Model):
|
||||
}
|
||||
)
|
||||
return True
|
||||
|
||||
def action_unstart(self):
|
||||
self.write(
|
||||
{
|
||||
"state": "confirmed",
|
||||
"date_start": False,
|
||||
}
|
||||
)
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user