← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 804478] [NEW] Set Value in SearchFormWidget is bugged

 

Public bug reported:

I'm try to use the setValue method in the SearchFormWidget

Actually the code is :
	def setValue(self, val):
		for x in val:
			if x in self.widgets:
				self.widgets[x].value = val[x]    

the code must be corrected in this way:
	def setValue(self, val):
		for x in val:
			if x in self.widgets:
				self.widgets[x].setValue(val[x]) #<<<----

** Affects: openobject-client-kde
     Importance: Undecided
         Status: New


** Tags: api searchformwidget setvalue

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/804478

Title:
  Set Value in SearchFormWidget is bugged

Status in Qt/KDE OpenObject Client:
  New

Bug description:
  I'm try to use the setValue method in the SearchFormWidget

  Actually the code is :
  	def setValue(self, val):
  		for x in val:
  			if x in self.widgets:
  				self.widgets[x].value = val[x]    

  the code must be corrected in this way:
  	def setValue(self, val):
  		for x in val:
  			if x in self.widgets:
  				self.widgets[x].setValue(val[x]) #<<<----

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-kde/+bug/804478/+subscriptions


Follow ups

References