diff --git a/mrp_stock_analytic/models/mrp_production.py b/mrp_stock_analytic/models/mrp_production.py index ba38c6be5e..2227c2717d 100644 --- a/mrp_stock_analytic/models/mrp_production.py +++ b/mrp_stock_analytic/models/mrp_production.py @@ -6,8 +6,7 @@ class MrpProduction(models.Model): - _name = "mrp.production" - _inherit = ["mrp.production", "analytic.mixin"] + _inherit = "mrp.production" analytic_distribution = fields.Json( inverse="_inverse_analytic_distribution", diff --git a/mrp_stock_analytic/views/mrp_production_views.xml b/mrp_stock_analytic/views/mrp_production_views.xml index 65aa9a0c89..49b28932a5 100644 --- a/mrp_stock_analytic/views/mrp_production_views.xml +++ b/mrp_stock_analytic/views/mrp_production_views.xml @@ -17,7 +17,6 @@ state in ('done', 'cancel') - show