point of sale without partner

Bug #735403 reported by qdp (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

*Go in Point of Sale\Daily Operation\Sales Order
*create a new one, _without_any partner
*click on make payment
*in the opening window, click again on make payment
=> you will get this traceback

  File "/home/qdp/tinydev/addons/trunk-oldstyle-wiz-conversion/point_of_sale/wizard/pos_payment.py", line 152, in check
    partner = obj_partner.browse(cr, uid, data['partner_id'], context=context)
  File "/home/qdp/tinydev/server/trunk/openerp/osv/orm.py", line 550, in browse
    return browse_record(cr, uid, select, self, cache, context=context, list_class=self._list_class, fields_process=fields_process)
  File "/home/qdp/tinydev/server/trunk/openerp/osv/orm.py", line 156, in __init__
    raise BrowseRecordError(_('Wrong ID for the browse record, got %r, expected an integer.') % (id,))
BrowseRecordError: Wrong ID for the browse record, got False, expected an integer.

Related branches

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ashvin Rathod (OpenERP) (ara-tinyerp) wrote :

Hello qdp (OpenERP),

I have fixed the problem in lp:~openerp-dev/openobject-addons/trunk-bug-735403-ara branch. It will be merge soon with trunk addons.

Revision ID: <email address hidden>
Revision No:4544

Thanks,
ara

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
milestone: none → 6.1
qdp (OpenERP) (qdp)
Changed in openobject-addons:
status: Fix Committed → Fix Released
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.