[MERGE] sale: merge the changes of lp:~openerp-dev/openobject-addons/trunk-editable_list_sale-rco

bzr revid: psi@tinyerp.com-20120830101050-xa4z1xz6knhpatkc
This commit is contained in:
Purnendu Singh (OpenERP)
2012-08-30 15:40:50 +05:30
parent 4675aa0256
commit 6ee4afd62b
+14
View File
@@ -357,6 +357,20 @@
</field>
</record>
<!-- inherited view to make the order lines list in the form non-editable
for the members of some usability groups -->
<record id="view_order_form_editable_list" model="ir.ui.view">
<field name="name">sale.order.form.editable.list</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="groups_id" eval="[(6, 0, [ref('product.group_uos'), ref('product.group_stock_packaging'), ref('sale.group_mrp_properties')])]"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='order_line']/tree" position="attributes">
<attribute name="editable"/>
</xpath>
</field>
</record>
<record id="view_sales_order_filter" model="ir.ui.view">
<field name="name">sale.order.list.select</field>
<field name="model">sale.order</field>