You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
496 B
15 lines
496 B
# coding: utf-8
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
from openerp import fields, models
|
|
|
|
|
|
class AuditlogMethods(models.Model):
|
|
_name = 'auditlog.methods'
|
|
_description = 'Auditlog custom methods'
|
|
_order = 'name'
|
|
|
|
name = fields.Char(required=True)
|
|
message = fields.Char(required=True)
|
|
rule_id = fields.Many2one('auditlog.rule', readonly=True)
|
|
use_active_ids = fields.Boolean(default=False)
|
|
context_field_number = fields.Integer(default=0)
|