|
@ -11,7 +11,6 @@ from openerp import SUPERUSER_ID |
|
|
|
|
|
|
|
|
from openerp import models, fields, api, _ |
|
|
from openerp import models, fields, api, _ |
|
|
from openerp.exceptions import Warning |
|
|
from openerp.exceptions import Warning |
|
|
from openerp.osv import orm |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class IrModel(models.Model): |
|
|
class IrModel(models.Model): |
|
@ -35,11 +34,6 @@ class IrModel(models.Model): |
|
|
vals[validator_line.field_id.name])) |
|
|
vals[validator_line.field_id.name])) |
|
|
return True |
|
|
return True |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class IrModel(orm.Model): |
|
|
|
|
|
|
|
|
|
|
|
_inherit = 'ir.model' |
|
|
|
|
|
|
|
|
|
|
|
def _field_validator_hook(self, cr, ids): |
|
|
def _field_validator_hook(self, cr, ids): |
|
|
|
|
|
|
|
|
def _wrap_create(): |
|
|
def _wrap_create(): |
|
|