Merge lp:~openerp-dev/openobject-addons/trunk-bug-854303-bde into lp:openobject-addons

Proposed by Bharat Devnani (Open ERP)
Status: Merged
Merged at revision: 5178
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-854303-bde
Merge into: lp:openobject-addons
Diff against target: 27 lines (+3/-2)
1 file modified
point_of_sale/point_of_sale.py (+3/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-854303-bde
Reviewer Review Type Date Requested Status
Mustufa Rangwala (Open ERP) (community) Approve
Bharat Devnani (Open ERP) (community) Needs Resubmitting
qdp (OpenERP) Pending
Review via email: mp+76189@code.launchpad.net

Description of the change

Hello Sir,

I have fixed the issue, now in Invoice Report and notes in the Invoice contains the Sale Description.

Thanks & Regards,
Devnani Bharat R.

To post a comment you must log in.
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Please fix problem in pos module.

review: Needs Fixing
Revision history for this message
Bharat Devnani (Open ERP) (bde-openerp) wrote :

Hello Sir,

The description problem is fixed in invoice report and in notes of customer invoice in point_of_sale module.

Thanks & Regards,
Devnani Bharat R.

review: Needs Resubmitting
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'point_of_sale/point_of_sale.py'
2--- point_of_sale/point_of_sale.py 2011-09-17 13:11:20 +0000
3+++ point_of_sale/point_of_sale.py 2011-09-21 06:08:26 +0000
4@@ -675,12 +675,13 @@
5 'quantity': line.qty,
6 }
7 inv_name = product_obj.name_get(cr, uid, [line.product_id.id], context=context)[0][1]
8-
9 inv_line.update(inv_line_ref.product_id_change(cr, uid, [],
10 line.product_id.id,
11 line.product_id.uom_id.id,
12 line.qty, partner_id = order.partner_id.id,
13 fposition_id=order.partner_id.property_account_position.id)['value'])
14+ if line.product_id.description_sale:
15+ inv_line['note'] = line.product_id.description_sale
16 inv_line['price_unit'] = line.price_unit
17 inv_line['discount'] = line.discount
18 inv_line['name'] = inv_name
19@@ -1179,7 +1180,7 @@
20 if 'product_id' in values and not values['product_id']:
21 return False
22 return super(pos_order_line, self).write(cr, user, ids, values, context=context)
23-
24+
25 def copy_data(self, cr, uid, id, default=None, context=None):
26 if not default:
27 default = {}

Subscribers

People subscribed via source and target branches

to all changes: