[POS] Bug After canceling a Payment

Bug #1169629 reported by Haddadi Sam
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Low
OpenERP R&D Addons Team 3

Bug Description

Hello.

1/ Do an order on the POS.

2/ Click a Payment mode.

3/ In the payment widget, Cancel the payment (with the cross on the right of the payment)

.../... Then, when there's no more line of payment

4/ Click on the Backspace or on a digit in the virtual numpad, you'll get an error.

Uncaught TypeError: Cannot call method 'set_amount' of undefined
https://demo2.openerp.com/web/webclient/js?mods=web_diagram%2Cbase%2Cbase_setup%2Cprocess%2Cmail%2Cemail_template%2Cbase_calendar%2Cboard%2Ccrm%2Cproject%2Cproject_issue%2Cshare%2Cauth_signup%2Cportal%2Cportal_project_issue%2Chr%2Cportal_crm%2Cportal_hr_employees%2Chr_attendance%2Cweb_graph%2Cedi%2Caccount%2Caccount_voucher%2Caccount_accountant%2Csale%2Caccount_analytic_analysis%2Caccount_asset%2Cfleet%2Chr_expense%2Chr_holidays%2Csurvey%2Chr_recruitment%2Chr_timesheet_sheet%2Clunch%2Cstock%2Cpurchase%2Cmrp%2Cnote%2Cpad%2Cpoint_of_sale%2Cweb_analytics%2Csaas_demo%2Cweb_view_editor%2Cweb_calendar%2Cweb_tests%2Cweb_gantt:1386
Ok

I think that Numpad should be desactived when there is no more payment line, or, the delete of the last payment should execute an exit of the payment Widget.

Sorry for my english.

thank you.

Related branches

affects: openobject-server → openobject-addons
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Nimesh Contractor(Open ERP) (nco-openerp) wrote :
Changed in openobject-addons:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.