Dear All ..

I tried to write a new simple module.

My ir.model.access.csv file look like :
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_taxi_car","taxi.car","model_taxi_car","base.group_user",1,1,1,1
"access_taxi_driver","taxi.driver","model_taxi_driver","base.group_user",1,1,1,1
"access_taxi_ticket","taxi.ticket","model_taxi_ticket","base.group_user",1,1,1,1
The import procedure work seamless.
But, when I (login as admin) try to access "taxi_car", and try to create new 
record ... the "id" field is greyed (non editable).

I also tried to assign permissions using Administration->security->Access 
Controls Grid, and sign all as r,w,c,u .... and still got the same condition.

So , how to set so that a user can have r,w,c,u permissions to a model ?

here is part of the code
class taxi_car(osv.osv):
    """(NULL)"""
    _name = 'taxi.car'
    _columns = {
        'id': fields.char('Car-ID', size=10, 
required=True),
        'ticket': fields.many2one('taxi.ticket', 
'Operation Ticket'),
    }
taxi_car()

Sincerely
-bino-




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=60744#60744

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to