Merge lp:~openerp-dev/openobject-addons/6.1-opw-579732-skh into lp:openobject-addons/6.1

Proposed by Somesh Khare
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-579732-skh
Merge into: lp:openobject-addons/6.1
Diff against target: 20 lines (+2/-1)
1 file modified
point_of_sale/wizard/pos_payment.py (+2/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-579732-skh
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+127689@code.launchpad.net

Description of the change

Hello Sir,

[FIX]POS: Due to context did not passed into the action,In webclient partial payment is not possible.

Issue: In Webclient partial payment is not done for the POS Order.

Steps:
1. Install Point of Sale Module.
2. Open POS Backend and create a new POS Order
3. Select product eg: PC2 and make payment of 100(Partial Payment),

Error Occurred as :AttributeError: 'Field pricelist_id not found in browse_record(pos.order, 42).

on paying full amount this error did not occurred.

This branch fixes this issue. Also correct the spelling of Payment into the action.

Kidly review the branch and please share your views in it.

Regards,
Somesh Khare

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Already Fixed on Trunk (means that it was already fixed and merged in Trunk). If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

7012. By Somesh Khare

[FIX]POS: Due to context did not passed into the action,In webclient partial payment is not possible (Case: Ref 579732)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'point_of_sale/wizard/pos_payment.py'
2--- point_of_sale/wizard/pos_payment.py 2012-02-09 17:17:32 +0000
3+++ point_of_sale/wizard/pos_payment.py 2012-10-03 09:51:43 +0000
4@@ -58,7 +58,7 @@
5
6 def launch_payment(self, cr, uid, ids, context=None):
7 return {
8- 'name': _('Paiement'),
9+ 'name': _('Payment'),
10 'view_type': 'form',
11 'view_mode': 'form',
12 'res_model': 'pos.make.payment',
13@@ -66,6 +66,7 @@
14 'target': 'new',
15 'views': False,
16 'type': 'ir.actions.act_window',
17+ 'context': context,
18 }
19
20 def print_report(self, cr, uid, ids, context=None):