Browse Source

[IMP] mass_editing: Added _('') for constraint message.

pull/2/head
Anu Patel 12 years ago
parent
commit
c099945611
  1. 4
      mass_editing/mass_editing.py

4
mass_editing/mass_editing.py

@ -54,7 +54,7 @@ class mass_object(orm.Model):
}
_sql_constraints = [
('name_uniq', 'unique (name)', 'Name must be unique!'),
('name_uniq', 'unique (name)', _('Name must be unique!')),
]
def onchange_model(self, cr, uid, ids, model_id, context=None):
@ -102,7 +102,7 @@ class mass_object(orm.Model):
}, context)
return True
def unlink_action(self, cr, uid, ids, context=None):
def unlink_action(self, cr, uid, ids, context=None):
for template in self.browse(cr, uid, ids, context=context):
try:
if template.ref_ir_act_window:

Loading…
Cancel
Save