← Back to team overview

openerp-india team mailing list archive

[Bug 897509] Re: [6.0] [account] 'bool' object has no attribute 'split'

 

Hello Moisés López ,

I have checked this issue, but this code has already improved and I did
not faced this problem with latest code.

So would you please try with the addons latest revision (4935) and
notify us have you faced the problem or not?

Thanks and waiting for your reply!

** Changed in: openobject-addons
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/897509

Title:
  [6.0] [account]  'bool' object has no attribute 'split'

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Traceback (most recent call last):
    File "/openerp/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/openerp/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/openerp/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/openerp/server/bin/addons/account/invoice.py", line 1337, in product_id_change
      my_value_reference = my_value[0]["value_reference"].split(",")
  AttributeError: 'bool' object has no attribute 'split'

  The search needs add validation 
  ('value_reference','<>',False)

  property_obj.search(cr, uid, [... ('value_reference','<>',False) ])

  I will make a proposal merge.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/897509/+subscriptions


References