Show location labels in return wizard, remove commented code

This commit is contained in:
Leonardo Donelli
2015-08-07 14:39:17 +02:00
parent 7914a43334
commit 635c5d53c6
2 changed files with 11 additions and 8 deletions

View File

@@ -15,7 +15,6 @@
<field name="email"/>
<field name="user_id" invisible="1"/>
<field name="is_company" invisible="1"/>
<!--<field name="country" invisible="1"/>-->
<field name="country_id"/>
<field name="parent_id" invisible="1"/>
</tree>

View File

@@ -13,15 +13,19 @@
<field name="model">claim_make_picking.wizard</field>
<field name="arch" type="xml">
<form string="Select exchange lines to add in picking" version="7.0">
<separator string="Locations" colspan="4"/>
<field name="claim_line_source_location_id" nolabel="1" />
<field name="claim_line_dest_location_id" nolabel="1" />
<separator string="Select lines for picking" colspan="4"/>
<field name="claim_line_ids" nolabel="1" colspan="4"/>
<group name="locations" string="Locations">
<field name="claim_line_source_location_id"/>
<field name="claim_line_dest_location_id"/>
</group>
<separator string="Select lines for picking"/>
<field name="claim_line_ids" nolabel="1"/>
<footer>
<button name="action_create_picking" string="Create picking" type="object" class="oe_highlight"/>
<button
string="Create picking"
name="action_create_picking" type="object"
class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
<button string="Cancel" class="oe_link" special="cancel"/>
</footer>
</form>
</field>