← Back to team overview

credativ team mailing list archive

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

 

Hello Moisés López ,

I have checked your issue again But I am not able to reproduce it.

So Would you please provide the precious steps to reproduce it.

Thanks and Waiting for your reply!

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, 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