Change _rpc_allowed into _rpc

This commit is contained in:
Cédric Krier committed 2009-02-25 12:27:49 +01:00
1 parent 6b5db54b5a
commit 026c7caa5e
1 file changed
+3 -3
+3 -3
View File
@@ -39,9 +39,9 @@ class Forecast(OSV):
def __init__(self):
super(Forecast, self).__init__()
self._rpc_allowed += [
'button_draft',
]
self._rpc.update({
'button_draft': True,
})
self._sql_constraints += [
('check_from_to_date',
'CHECK(to_date >= from_date)',