mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
<quality_control> deleted constraint
This commit is contained in:
committed by
Stefano Consolaro
parent
4695e934c7
commit
917f70b67b
@@ -130,11 +130,6 @@ class QcProof(orm.Model):
|
||||
'active': True,
|
||||
}
|
||||
|
||||
_sql_constraints = [
|
||||
('proof_method_unique', 'UNIQUE (proof_id, method_id)',
|
||||
_('Proof-Method relation alredy exists!')),
|
||||
]
|
||||
|
||||
def name_search(self, cr, uid, name='', args=None, operator='ilike',
|
||||
context=None, limit=None):
|
||||
result = super(QcProof, self).name_search(cr, uid, name=name,
|
||||
|
||||
Reference in New Issue
Block a user