Merge lp:~openerp-dev/openobject-addons/7.0-opw-606523-dhr into lp:openobject-addons/7.0
Status: | Merged |
---|---|
Merge reported by: | Dharti Ratani(OpenERP) |
Merged at revision: | not available |
Proposed branch: | lp:~openerp-dev/openobject-addons/7.0-opw-606523-dhr |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
28 lines (+10/-2) 1 file modified
sale/sale.py (+10/-2) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-606523-dhr |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vinay Rana (OpenERP) | Pending | ||
Naresh(OpenERP) | Pending | ||
Review via email: mp+216259@code.launchpad.net |
Description of the change
Hello Sir,
While creating group invoice of sale orders, set the "Customer Reference" in the invoice as the joint "Customer Reference" of all sale order, if Customer Refernce is present else the name of the sale orders.
To reproduce follow these steps :
1. Create two sales orders to a single customer
2. Input customer reference codes (eg. PO-numbers) to Customer Reference -field in both SOs
3. Go to SO listing view, select the two SOs with check boxes
4. Select Make Invoices from the dropdown
5. Tick Group Invoices
6. Create invoices
Result:
Invoice is correctly created, but Customer Reference field is populated with SO-numbers, separated by the pipe character (|) instead of Customer Reference field contents, as one would expect.
Thanks