← 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 am closing this issue, because I am not able to find this traceback on
product_id_change with all possible configuration.

If you still faced the problem then you can reopen this with more information.
For regarding your branch, I think it is one type of coding improvement and you have put  a merge proposal for stable-6 branch, So our OPW team will look in to this.

Thanks for reporting! 
 

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

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

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