Skip to content

Commit

Permalink
[BETA] Merge additional commits from OCA#644
Browse files Browse the repository at this point in the history
  • Loading branch information
aisopuro committed Sep 5, 2024
2 parents be8f71c + d2f3771 commit de13a73
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions mrp_stock_analytic/models/mrp_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion mrp_stock_analytic/views/mrp_production_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<field name="arch" type="xml">
<field name="analytic_distribution" position="attributes">
<attribute name="readonly">state in ('done', 'cancel')</attribute>
<attribute name="optional">show</attribute>
</field>
</field>
</record>
Expand Down

0 comments on commit de13a73

Please sign in to comment.