Skip to content
Browse files

[FIX]mrp:remove undefined progress field on gantt view

steps to reproduce:
-install the manufacturing app
-install studio
-go to manufacturing > click on the studio icon (top right of the window)
> click views > activate the gantt view

you should see a traceback with the following error
"Invalid field 'progress' on model 'mrp.production'"

mrp_production does not have a progress field => removal of the
property "progress" in the view fixes the issue


X-original-commit: 31bf253
  • Loading branch information
jhk-odoo committed Dec 2, 2019
1 parent 56e47c5 commit 61114e5f4d68d73396ae08945e976ef42a012ca6
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/mrp/views/mrp_production_views.xml
@@ -271,7 +271,7 @@
<field name="name">mrp.production.gantt</field>
<field name="model">mrp.production</field>
<field name="arch" type="xml">
<gantt date_stop="date_finished" date_start="date_start" progress="progress" string="Productions" default_group_by="routing_id" create="0">
<gantt date_stop="date_finished" date_start="date_start" string="Productions" default_group_by="routing_id" create="0">

0 comments on commit 61114e5

Please sign in to comment.
You can’t perform that action at this time.