← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 735403] Re: point of sale without partner

 

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-bug-735403-ara

-- 
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):
  In Progress

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.



References