Comment 12 for bug 856501

Revision history for this message
Open Tech (open.tech) wrote : Re: [Bug 856501] Re: pos: AttributeError: 'bool' object has no attribute 'id'

Hi Ujjvala,

You are right I am using 6.0.3 stable version. As from the download section
that was the latest one.
Now I downloaded server, client & addons from
http://nightly.openerp.com/6.1-dev/
I just have few questions may be trivial ones:

1. Is http://nightly.openerp.com/6.1-dev/ the right location to download &
use?
2. In the current & latest installation using latest dev build server is
using the addons folder at the following location:

/usr/local/lib/python2.7/dist-packages/openerp_server-6.1_dev-py2.7.egg/openerp/addons
    how do I connect the server to the downloaded trunk version of the
addons (lp:~openerp/openobject-addons/trunk)?
3. Location
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-856501-ucoshows
the revision history as:
    Recent Revisions
    5238. By Ujjvala Collins (OpenERP) 4 hours ago
        [IMP] point_of_sale: Small improvements.
    5237. By Ujjvala Collins (OpenERP) 4 hours ago
        [IMP] point_of_sale: Improved string.
    5236. By Ujjvala Collins (OpenERP) 6 hours ago
        [FIX] point_of_sale: Fixed AttributeError on Make Payment wizard
when no demo data loaded.

   While if I download the same by using Bazaar Explorer then same revisions
for the addons are as below:
   5238. By Launchpad Translations on behalf of openerp
       Launchpad automatic translations update.

   5237. By Antony Lesuisse
      [IMP] audittrail cleanup and speedup
      - test for auditrail before anything else
      - dont allocate a different cursor

   5236. By niv-openerp
     [fix] obvious bug, field used in a on_change but not declared in the
view Antony Lesuisse

and Point of sale downloaded by bazaar doesnt have the changes made by
Ujjavla.

4. Suppose after 1 month I want use the latest dev version with latest
revisions of client, server, web. Then what will be the procedure to upgrade
the latest dev version over older dev version?

Please help.

Thanks
Amit

On Fri, Sep 30, 2011 at 4:04 AM, Ujjvala Collins (OpenERP)
<email address hidden>wrote:

> Hello Amit,
>
> I have checked your problem, and I could reproduce the said error which
> you've mentioned when installing POS with demo data.
>
> Actually the problem is you are using stable 6.0 (server and addons) and
> if I am not mistaken you have only replaced the point_of_sale module
> which is not correct. If you want to use the latest trunk version of
> point_of_sale then you must use all the trunk series for server, client
> and addons. It will solve your problem.
>
> Can you please check with latest code and let us know?
>
> Thanks,
> Ujjvala
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/856501
>
> Title:
> pos: AttributeError: 'bool' object has no attribute 'id'
>
> Status in OpenERP Addons (modules):
> Fix Committed
>
> 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
>