diff options
| author | Stephane Wirtel <stephane@openerp.com> | 2010-05-19 15:36:39 +0200 |
|---|---|---|
| committer | Stephane Wirtel <stephane@openerp.com> | 2010-05-19 15:36:39 +0200 |
| commit | 6844daff79ba1925fbbb58ec87138cd9684e664b (patch) | |
| tree | ea43f2ec11f8da586c27172d378be086eee8dcc5 | |
| parent | 0d24553ae5417d78f062c6ba936b7154a9cfe9e3 (diff) | |
[FIX] sale: the price list field of the sale order is a selection widget
[FIx] sale: Change the order of the filters in the search view for the
sale order
bzr revid: stephane@openerp.com-20100519133639-94ub9nua4j1furvq
| -rw-r--r-- | addons/sale/sale_view.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index 894ff6b2e6c..39ad5253b0e 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -110,7 +110,7 @@ <field domain="[('partner_id','=',partner_id)]" name="partner_order_id"/> <field domain="[('partner_id','=',partner_id)]" name="partner_invoice_id"/> <field domain="[('partner_id','=',partner_id)]" name="partner_shipping_id"/> - <field domain="[('type','=','sale')]" name="pricelist_id" groups="base.group_extended"/> + <field domain="[('type','=','sale')]" name="pricelist_id" groups="base.group_extended" widget="selection"/> <field name="project_id" context="{'partner_id':partner_id, 'contact_id':partner_order_id, 'pricelist_id':pricelist_id, 'default_name':name}" groups="base.group_extended"/> @@ -265,9 +265,10 @@ <newline/> <group expand="1" string="Group By..." colspan="11" col="11"> <filter string="Customer" icon="terp-sale" domain="[]" context="{'group_by':'partner_id'}"/> + <separator orientation="vertical" /> + <filter string="Salesman" icon="terp-sale" domain="[]" context="{'group_by':'user_id'}"/> <filter string="State" icon="terp-sale" domain="[]" context="{'group_by':'state'}"/> <filter string="Order Date" icon="terp-sale" domain="[]" context="{'group_by':'date_order'}"/> - <filter string="Salesman" icon="terp-sale" domain="[]" context="{'group_by':'user_id'}"/> </group> </search> </field> |
