c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #33496
[Bug 856501] Re: AttributeError: 'bool' object has no attribute 'id'
Hello,
When I have make the payment from POS without demo data I have faced the
following traceback.
Traceback (most recent call last):
File "/home/amp/workspace/trunk6/server/openerp/wsgi.py", line 71, in xmlrpc_return
result = openerp.netsvc.dispatch_rpc(service, method, params)
File "/home/amp/workspace/trunk6/server/openerp/netsvc.py", line 328, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/amp/workspace/trunk6/server/openerp/service/web_services.py", line 568, in dispatch
res = fn(db, uid, *params)
File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 116, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 170, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 161, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/amp/workspace/trunk6/addons/point_of_sale/wizard/pos_payment.py", line 49, in check
order_obj.add_payment(cr, uid, active_id, data, context=context)
File "/home/amp/workspace/trunk6/addons/point_of_sale/point_of_sale.py", line 263, in add_payment
and order.partner_id.property_account_receivable.id or account_def.id or curr_c.account_receivable.id
AttributeError: 'bool' object has no attribute 'id'
I am confirming this bug for this traceback.
Thanks.
** Summary changed:
- ValueError: No references to point_of_sale.group_pos_user
+ AttributeError: 'bool' object has no attribute 'id'
** Changed in: openobject-addons
Status: Invalid => New
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/856501
Title:
AttributeError: 'bool' object has no attribute 'id'
Status in OpenERP Addons (modules):
Confirmed
Bug description:
Trying to install latest trunk version of the POS. Earlier i had
installed POS 6.0 version which was working fine. But since the trunk
version seems to have latest and more features so thought to upgrade
to it. But when i install this one, get following error:
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to point_of_sale.group_pos_user
Looked the code:
view.xml has some 2 entries for group_pos_manager, group_pos_user.
But .py file doesn't have any reference to it.
Is it the reason of the error? How can we resolve it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/856501/+subscriptions
References