← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 856501] Re: AttributeError: 'bool' object has no attribute 'id'

 

Hi,

I changed the point_of_sale.py as per the revisions 5236, 5237, 5238.  My
observations are as below:
situation 1
1. Created fresh database with demo data - done
2. Install Point of sale - Received error "AttributeError: 'cursor' object
has no attribute 'pool'"
3. Tried reinstall Point of sale - Received error "ValueError: No references
to point_of_sale.group_pos_user"
4. Tried for third time reinstall Point of sale - Received error
"ValueError: No references to point_of_sale.group_pos_user"

situation2
1. Created fresh database with no demo data - done
2. Install Point of sale - installed properly
3. Tried to add daily operations sales order & make the payment. It is
asking for Journal

So it seems like working for no demo data database but not with demo data.
Since it is working at your end, I am wondering where & what I am doing
wrong.
My tracebacks for situation 1 are as enclosed.

Thanks
Amit

On Fri, Sep 30, 2011 at 1:15 AM, Mustufa Rangwala (Open ERP) <
mra@xxxxxxxxxxx> wrote:

> ** Changed in: openobject-addons
>    Milestone: None => 6.1
>
> ** Summary changed:
>
> - AttributeError: 'bool' object has no attribute 'id'
> + pos: AttributeError: 'bool' object has no attribute 'id'
>
> --
> 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
>


** Attachment added: "traceback-pos"
   https://bugs.launchpad.net/bugs/856501/+attachment/2486062/+files/traceback-pos

-- 
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:
  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


References