[IMP/MOD]audittrail :usability improvements

bzr revid: dbr@tinyerp.com-20100915122723-othzdtheeby5y0ys
This commit is contained in:
DBR (OpenERP) 2010-09-15 17:57:23 +05:30
parent 7bc3efba8e
commit 4bed13e152
1 changed files with 7 additions and 7 deletions

View File

@ -35,15 +35,15 @@ class audittrail_rule(osv.osv):
_description = "Audittrail Rule"
_columns = {
"name": fields.char("Rule Name", size=32, required=True),
"object_id": fields.many2one('ir.model', 'Object', required=True),
"object_id": fields.many2one('ir.model', 'Object', required=True, help="Select object for which you want to generate log."),
"user_id": fields.many2many('res.users', 'audittail_rules_users',
'user_id', 'rule_id', 'Users', help="if User is not added then it will applicable for all users"),
"log_read": fields.boolean("Log Reads"),
"log_write": fields.boolean("Log Writes"),
"log_unlink": fields.boolean("Log Deletes"),
"log_create": fields.boolean("Log Creates"),
"log_action": fields.boolean("Log Action"),
"log_workflow": fields.boolean("Log Workflow"),
"log_read": fields.boolean("Log Reads", help="If this field is check then open record's log will be generated."),
"log_write": fields.boolean("Log Writes", help="If this field is check then modified record's log will be generated."),
"log_unlink": fields.boolean("Log Deletes", help="If this field is check then delete record's log will be generated."),
"log_create": fields.boolean("Log Creates",help="If this field is check then newly created Record's log will be generated."),
"log_action": fields.boolean("Log Action",help="If this field is check then activate action's log will be generated."),
"log_workflow": fields.boolean("Log Workflow",help="If this field is check then define workflow's log will be generated."),
"state": fields.selection((("draft", "Draft"),
("subscribed", "Subscribed")),
"State", required=True),