quality_control: * Changed permissions

* security modified
* some demo info added
* Added "partner_selectable" field, so that inspections can by made by partner
* Little view fixing, field was oe_edit_only instead of label
* Add partners to trigger lines
* Tests added
* Trigger lines with duplicated test cleaned

quality_control: Propose to OCA

quality_control: required changes

quality_control: Fixing coveralls

quality_control_stock: * added demo data * replaced unlink method by ondelete="cascade" * required changes
This commit is contained in:
oihane
2015-08-12 11:23:41 +02:00
committed by Enrique Martín
parent 4b0fad7d5e
commit 29fa84e1d1
21 changed files with 1523 additions and 343 deletions

View File

@@ -16,3 +16,7 @@ class QcTrigger(models.Model):
comodel_name='res.company', string='Company',
default=lambda self: self.env['res.company']._company_default_get(
'qc.test'))
partner_selectable = fields.Boolean(
string='Selectable by partner', default=False, readonly=True,
help='This technical field is to allow to filter by partner in'
' triggers')