Merge lp:~openerp-dev/openobject-addons/7.0-opw-597612-chandni into lp:openobject-addons/7.0

Proposed by Chandni Machchhar(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-597612-chandni
Merge into: lp:openobject-addons/7.0
Diff against target: 12 lines (+1/-1)
1 file modified
point_of_sale/static/src/js/widgets.js (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-597612-chandni
Reviewer Review Type Date Requested Status
Vinay Rana (OpenERP) Pending
Naresh(OpenERP) Pending
Review via email: mp+187671@code.launchpad.net

Description of the change

Hello,

I have fixed the issue of Duplicate Receipt Reference in Point Of Sale. Once you validate the POS it will not allow you to select the journal to validate the same order again.

Reproduce Steps:

Validate the POS and again select any journal and Validate again. So it will create the Duplicate Entry or Receipt Reference.

Thanks,
Chandni.

To post a comment you must log in.

Unmerged revisions

9481. By Chandni Machchhar(OpenERP)

[FIX] POS : Duplicate Receipt Reference.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'point_of_sale/static/src/js/widgets.js'
--- point_of_sale/static/src/js/widgets.js 2013-09-18 13:42:08 +0000
+++ point_of_sale/static/src/js/widgets.js 2013-09-26 06:08:34 +0000
@@ -119,7 +119,7 @@
119 this._super();119 this._super();
120120
121 this.$el.click(function(){121 this.$el.click(function(){
122 if (self.pos.get('selectedOrder').get('screen') === 'receipt'){ //TODO Why ?122 if (self.pos_widget.screen_selector.current_screen == self.pos_widget.screen_selector.screen_set['receipt']) {
123 console.warn('TODO should not get there...?');123 console.warn('TODO should not get there...?');
124 return;124 return;
125 }125 }