bugfix_304008
bzr revid: fp@tinyerp.com-20081201151351-auit087r6pz2ii69
This commit is contained in:
parent
cf6e0129fb
commit
1e87af4390
|
@ -197,7 +197,7 @@ create table wkf_activity
|
||||||
signal_send varchar(32) default null,
|
signal_send varchar(32) default null,
|
||||||
flow_start boolean default False,
|
flow_start boolean default False,
|
||||||
flow_stop boolean default False,
|
flow_stop boolean default False,
|
||||||
action varchar(64) default null,
|
action text default null,
|
||||||
primary key(id)
|
primary key(id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -287,7 +287,7 @@ class ir_model_fields(osv.osv):
|
||||||
_inherit = 'ir.model.fields'
|
_inherit = 'ir.model.fields'
|
||||||
_rec_name = 'field_description'
|
_rec_name = 'field_description'
|
||||||
_columns = {
|
_columns = {
|
||||||
'complete_name': fields.char('Complete Name', required=True, size=64, select=1),
|
'complete_name': fields.char('Complete Name', size=64, select=1),
|
||||||
}
|
}
|
||||||
|
|
||||||
def name_search(self, cr, uid, name, args=None, operator='ilike', context=None, limit=80):
|
def name_search(self, cr, uid, name, args=None, operator='ilike', context=None, limit=80):
|
||||||
|
|
|
@ -1773,6 +1773,7 @@ class orm(orm_template):
|
||||||
return super(orm, self).fields_get(cr, user, fields, context, read_access)
|
return super(orm, self).fields_get(cr, user, fields, context, read_access)
|
||||||
|
|
||||||
def read(self, cr, user, ids, fields=None, context=None, load='_classic_read'):
|
def read(self, cr, user, ids, fields=None, context=None, load='_classic_read'):
|
||||||
|
print 'READ', self._name, ids
|
||||||
if not context:
|
if not context:
|
||||||
context = {}
|
context = {}
|
||||||
self.pool.get('ir.model.access').check(cr, user, self._name, 'read')
|
self.pool.get('ir.model.access').check(cr, user, self._name, 'read')
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
__author__ = 'Cédric Krier, <ced@tinyerp.com>'
|
|
||||||
__version__ = '0.1.0'
|
__version__ = '0.1.0'
|
||||||
|
|
||||||
import psycopg
|
import psycopg
|
||||||
|
|
Loading…
Reference in New Issue