[IMP] Request View : Improvements
lp bug: https://launchpad.net/bugs/474312 fixed bzr revid: jvo@tinyerp.com-20091106100623-qi5y3kr9u1jv4bio
This commit is contained in:
parent
c436917517
commit
526bfa6627
|
@ -23,12 +23,12 @@
|
|||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Requests">
|
||||
<notebook>
|
||||
<page string="Request">
|
||||
<separator colspan="4" string="Description"/>
|
||||
<field name="act_from" select="1"/>
|
||||
<field name="act_to" select="1"/>
|
||||
<field colspan="4" name="name" select="1"/>
|
||||
<notebook colspan="4">
|
||||
<page string="Request">
|
||||
<separator colspan="4" string="Description"/>
|
||||
<newline/>
|
||||
<field colspan="4" name="body" select="2"/>
|
||||
<field name="trigger_date" select="2"/>
|
||||
|
|
|
@ -66,7 +66,7 @@ class LocalService(Service):
|
|||
for method_name, method_definition in self._service._methods.items():
|
||||
setattr(self, method_name, method_definition)
|
||||
except KeyError, keyError:
|
||||
Logger().notifyChannel('module', LOG_ERROR, 'This service does not exists: %s' % (str(keyError),) )
|
||||
Logger().notifyChannel('module', LOG_ERROR, 'This service does not exist: %s' % (str(keyError),) )
|
||||
raise
|
||||
def __call__(self, method, *params):
|
||||
return getattr(self, method)(*params)
|
||||
|
|
Loading…
Reference in New Issue