mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
New module <quality_control_hr> closes #662 * Changes in access rules * Trigger line instead of test and user
This commit is contained in:
@@ -11,8 +11,9 @@
|
||||
<group name="qc" string="Quality control">
|
||||
<field name="qc_triggers" nolabel="1">
|
||||
<tree string="Quality control triggers" editable="bottom">
|
||||
<field name="trigger" widget="selection"/>
|
||||
<field name="test"/>
|
||||
<field name="trigger" widget="selection" />
|
||||
<field name="test" />
|
||||
<field name="user" />
|
||||
</tree>
|
||||
</field>
|
||||
</group>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<tree string="Quality control triggers" editable="bottom">
|
||||
<field name="trigger" widget="selection"/>
|
||||
<field name="test"/>
|
||||
<field name="user" />
|
||||
</tree>
|
||||
</field>
|
||||
</group>
|
||||
|
||||
@@ -39,21 +39,22 @@
|
||||
statusbar_colors='{"success": "blue", "failed": "red"}' />
|
||||
</header>
|
||||
<sheet>
|
||||
<h1>
|
||||
<label string="Inspection "/>
|
||||
<field name="name" class="oe_inline"/>
|
||||
</h1>
|
||||
<div class="oe_right oe_button_box" name="buttons">
|
||||
<button class="oe_inline oe_stat_button"
|
||||
type="action"
|
||||
name="%(action_qc_inspection_set_test)d"
|
||||
icon="fa-bookmark-o"
|
||||
states="draft"
|
||||
string="Set test"/>
|
||||
string="Set test" />
|
||||
</div>
|
||||
<h1>
|
||||
<label string="Inspection "/>
|
||||
<field name="name" class="oe_inline"/>
|
||||
</h1>
|
||||
<group>
|
||||
<group>
|
||||
<field name="test"/>
|
||||
<field name="test" />
|
||||
<field name="user" />
|
||||
<field name="object_id" />
|
||||
<field name="product" />
|
||||
</group>
|
||||
@@ -109,6 +110,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Inspections">
|
||||
<field name="name" />
|
||||
<field name="user" />
|
||||
<field name="test" />
|
||||
<field name="product" />
|
||||
<field name="success" />
|
||||
@@ -124,6 +126,7 @@
|
||||
<search string="Search inspection">
|
||||
<group>
|
||||
<field name="name" />
|
||||
<field name="user" />
|
||||
<field name="object_id" />
|
||||
<field name="product" />
|
||||
<field name="test" />
|
||||
@@ -141,6 +144,9 @@
|
||||
<filter string="Test"
|
||||
domain="[]"
|
||||
context="{'group_by': 'test'}" />
|
||||
<filter string="Responsible"
|
||||
domain="[]"
|
||||
context="{'group_by': 'user'}" />
|
||||
<filter string="Product"
|
||||
domain="[]"
|
||||
context="{'group_by': 'product'}" />
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
<menuitem parent="qc_menu"
|
||||
name="Tests"
|
||||
id="qc_menu_test_parent"
|
||||
groups="group_quality_control_manager"
|
||||
sequence="20" />
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
@@ -120,6 +120,7 @@
|
||||
parent="qc_menu_test_parent"
|
||||
id="qc_test_menu"
|
||||
action="action_qc_test"
|
||||
groups="group_quality_control_manager"
|
||||
sequence="20" />
|
||||
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user