c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #19336
[Bug 735403] [NEW] point of sale without partner
Public bug reported:
*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.
** Affects: openobject-addons
Importance: Medium
Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Status: Confirmed
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/735403
Title:
point of sale without partner
Status in OpenERP Modules (addons):
Confirmed
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.
Follow ups
References