Merge lp:~openerp-dev/openobject-addons/7.0-opw-606582-dhr into lp:openobject-addons/7.0

Proposed by Dharti Ratani(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-606582-dhr
Merge into: lp:openobject-addons/7.0
Diff against target: 12 lines (+1/-1)
1 file modified
sale/sale_view.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-606582-dhr
Reviewer Review Type Date Requested Status
Vinay Rana (OpenERP) Pending
Naresh(OpenERP) Pending
Review via email: mp+216275@code.launchpad.net

Description of the change

Hello Sir,

Fixed the issue of sale order searched by name in customer form on button 'Quotation and Sales'.

Steps to reproduce :
- Create two customers for eg Agrolait and Agrolat-M
- Create Sale orders for both the customers
- Now open the customer form of Agroliat and click on button "Qoutation and Sales"
- It will display the sale order of both partners Agrolait and Agrolait-M

Expected Result : Only the sale orders of Agrolait or its contact should be shown from its form.

To post a comment you must log in.

Unmerged revisions

9991. By Dharti Ratani(OpenERP)

[FIX]Passing widget='selection' on field partner_id in sale.order search view as without this the domain is passing string the name in place of self and due to this the records are seacrhed on the basis of name in button 'Quotation adn Sales' in customer

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sale/sale_view.xml'
2--- sale/sale_view.xml 2014-02-10 13:46:03 +0000
3+++ sale/sale_view.xml 2014-04-17 09:23:41 +0000
4@@ -307,7 +307,7 @@
5 <filter icon="terp-dolar_ok!" string="Done" domain="[('state','=','done')]" help="Sales Order done"/>
6 <separator/>
7 <filter string="My Sales Orders" domain="[('user_id','=',uid)]" help="My Sales Orders" icon="terp-personal" name="my_sale_orders_filter"/>
8- <field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]"/>
9+ <field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]" widget="selection"/>
10 <field name="user_id"/>
11 <field name="project_id"/>
12 <group expand="0" string="Group By...">