Small improvements

This commit is contained in:
Alexis de Lattre
2015-07-31 16:24:36 +02:00
parent f717761aa2
commit 58203941df
2 changed files with 34 additions and 0 deletions

View File

@@ -42,6 +42,21 @@
<field name="amount_total" position="after">
<field name="currency_id" groups="base.group_multi_currency"/>
</field>
<field name="state" position="before">
<field name="shipped"/>
</field>
</field>
</record>
<record id="view_purchase_order_filter" model="ir.ui.view">
<field name="name">usability.purchase.order.tree</field>
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.view_purchase_order_filter"/>
<field name="arch" type="xml">
<filter name="not_invoiced" position="after">
<filter name="shipped" string="Fully Received" domain="[('shipped', '=', True)]"/>
<filter name="not_shipped" string="Not Fully Received" domain="[('shipped', '=', False)]"/>
</filter>
</field>
</record>

View File

@@ -142,5 +142,24 @@ in the quantities for his reception -->
</field>
</record>
<record id="view_move_tree_receipt_picking" model="ir.ui.view">
<field name="name">stock.usability.stock.move.tree2</field>
<field name="model">stock.move</field>
<field name="inherit_id" ref="stock.view_move_tree_receipt_picking"/>
<field name="arch" type="xml">
<field name="partner_id" position="attributes">
<attribute name="string">Destination Address</attribute>
<!-- The partner_id field on stock.move has a label "Destination Address"
but a stupid guy has put a string="Supplier" on the tree view
And, as this field is very often empty, the users think there is a bug
because the supplier is not set ! -->
date_expected
</field>
<field name="date_expected" position="attributes">
<attribute name="invisible">0</attribute>
</field>
</field>
</record>
</data>
</openerp>