Comment 2 for bug 856501

Revision history for this message
Open Tech (open.tech) wrote : Re: [Bug 856501] Re: ValueError: No references to point_of_sale.group_pos_user

Hello Vishal,

Thanks for looking into this matter. For some reason, it got installed at
later stage. I think what i did was as root deleted the point_of_sale
directory & pasted the trunk version and this resolved the installation
issue.

But it didnt resolve the issue completely. Now:

a) If I install the pos (trunk) version in the database "*with demo* data"
then I am not able to install the module & I get following error:
AttributeError: 'cursor' object has no attribute 'browse'

b) If I install the pos (trunk) version in the database "*with no demo data*"
then I am able to install the module. But when I go to sales order in POS
module & add sales lines then click on make payment button that time I get
following error:
AttributeError: 'cursor' object has no attribute 'browse'

I am not sure where i am doing wrong or how can I fix this bug.

Also, I am not sure how to check the revision of the gtk client, server &
addons. If you can guide me then I can provide you that data as well.

Thanks & appreciate your effort in supporting me :).
Amit

On Fri, Sep 23, 2011 at 3:42 AM, Vishal Parmar(Open ERP) <
<email address hidden>> wrote:

> Hello amit sharma,
>
> I have checked your issue with latest updated code with trunk and stable
> 6 both but I didn't face any problem at my end.
>
> I have checked with following revision in trunk :
>
> server - 3643
>
> gtk-client - 1956
>
> addons - 5125
>
> Would you please try again with latest updated code and informed us
> where you faced the problem.
>
> Thanks and waiting for your reply.
>
> ** Changed in: openobject-addons
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/856501
>
> Title:
> ValueError: No references to point_of_sale.group_pos_user
>
> Status in OpenERP Addons (modules):
> Incomplete
>
> 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
>