odoo/addons/purchase/wizard/purchase_order_group_view.xml

44 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_purchase_order_group" model="ir.ui.view">
<field name="name">Merger Purchase Orders</field>
<field name="model">purchase.order.group</field>
<field name="arch" type="xml">
<form string="Merge orders" version="7.0">
<group>
<separator string="Are you sure you want to merge these orders?"/>
<label string="
Please note that: &#10; &#10;
Orders will only be merged if: &#10;
* Purchase Orders are in draft &#10;
* Purchase Orders belong to the same supplier &#10;
* Purchase Orders are have same stock location, same pricelist &#10; &#10;
Lines will only be merged if: &#10;
* Order lines are exactly the same except for the product,quantity and unit &#10;
" colspan="4"/>
</group>
<footer>
<button name="merge_orders" string="Merge orders" type="object" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
</field>
</record>
<act_window name="Merge Purchase orders"
context="{'search_default_draft': 1, 'search_default_approved': False}"
res_model="purchase.order.group"
src_model="purchase.order"
view_mode="form"
target="new"
multi="True"
key2="client_action_multi"
id="action_view_purchase_order_group"/>
</data>
</openerp>