Improve mrp_usability

This commit is contained in:
Alexis de Lattre
2016-02-26 16:15:32 +01:00
committed by David Beal
parent 3bd50e49eb
commit 8dc9fdcfa0
2 changed files with 32 additions and 2 deletions

View File

@@ -31,13 +31,17 @@
MRP Usability
=============
Small usability improvements on MRP.
Small usability improvements on MRP:
* order by id desc
* show date start and date finished on production order form view
This module has been written by Alexis de Lattre from Akretion <alexis.delattre@akretion.com>.
""",
'author': 'Akretion',
'website': 'http://www.akretion.com',
'depends': ['mrp'],
'data': [],
'data': ['mrp_view.xml'],
'installable': True,
}

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016 Akretion (http://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
The licence is in the file __openerp__.py
-->
<openerp>
<data>
<record id="mrp_production_form_view" model="ir.ui.view">
<field name="name">usability.mrp.production.form</field>
<field name="model">mrp.production</field>
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
<field name="arch" type="xml">
<field name="date_start" position="attributes">
<attribute name="invisible">0</attribute>
</field>
<field name="date_finished" position="attributes">
<attribute name="invisible">0</attribute>
</field>
</field>
</record>
</data>
</openerp>