[MIG] mrp_progress_button: Migration to 14.0

This commit is contained in:
Bernat Puig Font
2021-10-18 16:10:32 +02:00
parent 86cdf5b244
commit 4dedf3a41b
4 changed files with 24 additions and 11 deletions

View File

@@ -4,13 +4,12 @@
from datetime import datetime
from odoo import api, models
from odoo import models
class MrpProduction(models.Model):
_inherit = "mrp.production"
@api.multi
def action_progress(self):
self.write(
{