[REF] purchase: search view of purchase order and form view of merge order wizard

bzr revid: hmo@tinyerp.com-20100325074405-4rwf5u5ys8le07m3
This commit is contained in:
Harry (Open ERP) 2010-03-25 13:14:05 +05:30
parent 1eeeda525e
commit 58bbc77726
2 changed files with 13 additions and 17 deletions

View File

@ -160,6 +160,7 @@
<filter icon="terp-partner" domain="[('create_uid','=',uid)]" help="My Purchase Orders"/>
</field>
</group>
<newline/>
<group expand="1" string="Group By..." colspan="4" col="10">
<filter string="Supplier" icon="terp-purchase" domain="[]" context="{'group_by':'partner_id'}"/>
<filter string="State" icon="terp-sale" domain="[]" context="{'group_by':'state'}"/>

View File

@ -9,24 +9,19 @@
<form string="Merge orders">
<separator string="Are you sure you want to merge these orders ?" colspan="4"/>
<newline/>
<label string="Please note that:" colspan="4"/>
<newline/>
<label string="-orders will only be merged if:" colspan="4"/>
<newline/>
<label string="* their status is draft" colspan="4"/>
<newline/>
<label string="* they belong to the same partner" colspan="4"/>
<newline/>
<label string="* are going to the same location" colspan="4"/>
<newline/>
<label string="* have the same pricelist" colspan="4"/>
<newline/>
<label string="- lines will only be merged if:" colspan="4"/>
<newline/>
<label string="* they are exactly the same except for the quantity and unit" colspan="4"/>
<label string="
Please note that: &#13; &#13;
Orders will only be merged if: &#13;
* Purchase Orders are in draft &#13;
* Purchase Orders belong to the same partner &#13;
* Purchase Orders are have same stock location, same pricelist &#13; &#13;
Lines will only be merged if: &#13;
* Order lines are exactly the same except for the quantity and unit &#13;
" colspan="4"/>
<newline/>
<separator string="" colspan="4" />
<button special="cancel" string="Cancel" />
<button name="merge_orders" string="Merge orders" type="object" />
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
<button name="merge_orders" string="Merge orders" type="object" icon="gtk-convert"/>
</form>
</field>
</record>