ADD Group by project_id in mrp.productions

This commit is contained in:
jcmontoya
2017-11-07 11:48:03 +01:00
parent 5e5b59c167
commit d8b5fb2432

View File

@@ -28,5 +28,17 @@
<field name="domain">[('project_id', '=', active_id)]</field>
</record>
<record id="view_mrp_production_filter_project" model="ir.ui.view">
<field name="name">mrp.production.filter.group.project</field>
<field name="model">mrp.production</field>
<field name="inherit_id" ref="mrp.view_mrp_production_filter"/>
<field name="arch" type="xml">
<xpath expr='//filter[@string="Scheduled Month"]' position="after">
<filter string="Project" context="{'group_by':'project_id'}"/>
</xpath>
</field>
</record>
</data>
</openerp>