mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-19 06:32:05 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<!-- Actions: add link to NCs -->
|
||||
<record id="view_mgmtsystem_action_form" model="ir.ui.view">
|
||||
<field name="name">mgmtsystem.action.form</field>
|
||||
<field name="model">mgmtsystem.action</field>
|
||||
<field name="inherit_id" ref="mgmtsystem_action.view_mgmtsystem_action_form" />
|
||||
<field name="arch" type="xml">
|
||||
|
||||
<field name="description" position="after">
|
||||
<separator string="Related Nonconformities" colspan="4" />
|
||||
<field
|
||||
name="nonconformity_ids"
|
||||
colspan="4"
|
||||
nolabel="1"
|
||||
attrs="{'invisible':[('nonconformity_ids','=',False)]}"
|
||||
/>
|
||||
</field>
|
||||
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<!-- Cause -->
|
||||
|
||||
<record id="view_mgmtsystem_nonconformity_cause_form" model="ir.ui.view">
|
||||
<field name="name">mgmtsystem.nonconformity.cause.form</field>
|
||||
<field name="type">form</field>
|
||||
<field name="model">mgmtsystem.nonconformity.cause</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Causes of nonconformity">
|
||||
<group>
|
||||
<field name="name" />
|
||||
<field name="sequence" />
|
||||
<field name="parent_id" />
|
||||
<field name="ref_code" />
|
||||
<field name="description" />
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_mgmtsystem_nonconformity_cause_tree" model="ir.ui.view">
|
||||
<field name="name">mgmtsystem.nonconformity.cause.tree</field>
|
||||
<field name="model">mgmtsystem.nonconformity.cause</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree>
|
||||
<field name="parent_id" />
|
||||
<field name="name" />
|
||||
<field name="description" />
|
||||
<field name="sequence" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_mgmtsystem_nonconformity_cause_filter" model="ir.ui.view">
|
||||
<field name="name">Causes</field>
|
||||
<field name="model">mgmtsystem.nonconformity.cause</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Causes">
|
||||
<field name="parent_id" />
|
||||
<field name="name" />
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="open_mgmtsystem_nonconformity_cause_list" model="ir.actions.act_window">
|
||||
<field name="name">Causes</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mgmtsystem.nonconformity.cause</field>
|
||||
<field name="view_id" eval="view_mgmtsystem_nonconformity_cause_tree" />
|
||||
<field name="search_view_id" ref="view_mgmtsystem_nonconformity_cause_filter" />
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="menu_open_nonconformity_cause"
|
||||
action="open_mgmtsystem_nonconformity_cause_list"
|
||||
parent="menu_mgmtsystem_configuration_nonconformities"
|
||||
sequence="30"
|
||||
groups="mgmtsystem.group_mgmtsystem_manager"
|
||||
/>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,419 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<menuitem
|
||||
id="menu_mgmtsystem_configuration_nonconformities"
|
||||
name="Nonconformities"
|
||||
parent="mgmtsystem.menu_mgmtsystem_configuration"
|
||||
groups="mgmtsystem.group_mgmtsystem_manager"
|
||||
sequence="10"
|
||||
/>
|
||||
|
||||
<record id="view_mgmtsystem_nonconformity_tree" model="ir.ui.view">
|
||||
<field name="name">mgmtsystem.nonconformity.tree</field>
|
||||
<field name="model">mgmtsystem.nonconformity</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree>
|
||||
<field name="ref" />
|
||||
<field name="create_date" />
|
||||
<field name="partner_id" />
|
||||
<field name="description" />
|
||||
<field name="user_id" />
|
||||
<field name="responsible_user_id" />
|
||||
<field name="manager_user_id" />
|
||||
<field name="system_id" />
|
||||
<field name="company_id" groups="base.group_multi_company" />
|
||||
<field name="stage_id" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_mgmtsystem_nonconformity_filter" model="ir.ui.view">
|
||||
<field name="name">mgmtsystem.nonconformity.filter</field>
|
||||
<field name="model">mgmtsystem.nonconformity</field>
|
||||
<field name="arch" type="xml">
|
||||
<search>
|
||||
<group name="filters">
|
||||
<filter
|
||||
name="draft"
|
||||
icon="terp-document-new"
|
||||
domain="[('state','=','draft')]"
|
||||
string="Draft"
|
||||
help="Draft/New nonconformities"
|
||||
/>
|
||||
<filter
|
||||
name="pending"
|
||||
icon="terp-gtk-media-pause"
|
||||
domain="[('state','in',['analysis','pending'])]"
|
||||
string="Analysis"
|
||||
help="Nonconformities pending review"
|
||||
/>
|
||||
<filter
|
||||
name="current"
|
||||
icon="terp-check"
|
||||
domain="[('state','=','open')]"
|
||||
string="In Progress"
|
||||
help="Open Nonconformities"
|
||||
/>
|
||||
<filter
|
||||
name="icon"
|
||||
icon="terp-camera_test"
|
||||
domain="[('state','=','done')]"
|
||||
string="Closed"
|
||||
help="Closed Nonconformities"
|
||||
/>
|
||||
<separator orientation="vertical" />
|
||||
<field name="ref" />
|
||||
<field name="create_date" />
|
||||
<filter
|
||||
name="current_user"
|
||||
string="User"
|
||||
domain="['|','|',('user_id','=',uid),('responsible_user_id','=',uid),('manager_user_id','=',uid)]"
|
||||
/>
|
||||
<field name="system_id" />
|
||||
<field name="company_id" groups="base.group_multi_company" />
|
||||
</group>
|
||||
<newline />
|
||||
<group expand="0" string="Group By...">
|
||||
<filter
|
||||
name="groupby_author"
|
||||
string="Author"
|
||||
icon="gtk-edit"
|
||||
context="{'group_by':'user_id'}"
|
||||
/>
|
||||
<filter
|
||||
name="groupby_responsible"
|
||||
string="Responsible"
|
||||
icon="terp-personal"
|
||||
context="{'group_by':'responsible_user_id'}"
|
||||
/>
|
||||
<filter
|
||||
name="groupby_manager"
|
||||
string="Manager"
|
||||
icon="terp-personal+"
|
||||
context="{'group_by':'manager_user_id'}"
|
||||
/>
|
||||
<separator orientation="vertical" />
|
||||
<filter
|
||||
name="groupby_system"
|
||||
string="System"
|
||||
icon="gtk-execute"
|
||||
context="{'group_by':'system_id'}"
|
||||
/>
|
||||
<filter
|
||||
name="groupby_partner"
|
||||
string="Partner"
|
||||
icon="terp-personal+"
|
||||
domain="[]"
|
||||
context="{'group_by':'partner_id'}"
|
||||
/>
|
||||
<filter
|
||||
name="groupby_procedure"
|
||||
string="Procedure"
|
||||
icon="terp-stock_symbol-selection"
|
||||
context="{'group_by':'procedure_ids'}"
|
||||
/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- Kanban view -->
|
||||
<record id="view_mgmtsystem_nonconformity_kanban" model="ir.ui.view">
|
||||
<field name="name">mgmtsystem.nonconformity.kanban</field>
|
||||
<field name="model">mgmtsystem.nonconformity</field>
|
||||
<field name="arch" type="xml">
|
||||
<kanban
|
||||
quick_create="false"
|
||||
default_group_by="stage_id"
|
||||
class="o_kanban_small_column"
|
||||
>
|
||||
<field name="stage_id" />
|
||||
<field name="responsible_user_id" />
|
||||
<field name="ref" />
|
||||
<field name="name" />
|
||||
<field name="message_needaction_counter" />
|
||||
<templates>
|
||||
<t t-name="kanban-box">
|
||||
|
||||
<div
|
||||
t-attf-class="#{kanban_color(red)} oe_kanban_global_click oe_kanban_content"
|
||||
>
|
||||
<div class="o_dropdown_kanban dropdown">
|
||||
|
||||
<a
|
||||
class="dropdown-toggle btn"
|
||||
role="button"
|
||||
data-toggle="dropdown"
|
||||
href="#"
|
||||
data-display="static"
|
||||
aria-label="Dropdown menu"
|
||||
title="Dropdown menu"
|
||||
>
|
||||
<span class="fa fa-bars fa-lg" />
|
||||
</a>
|
||||
<ul
|
||||
class="dropdown-menu"
|
||||
role="menu"
|
||||
aria-labelledby="dLabel"
|
||||
>
|
||||
<t t-if="widget.editable">
|
||||
<li>
|
||||
<a
|
||||
type="edit"
|
||||
role="menuitem"
|
||||
class="dropdown-item"
|
||||
>
|
||||
Edit
|
||||
</a>
|
||||
</li>
|
||||
</t>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<strong><field name="ref" /> - <field
|
||||
name="name"
|
||||
/></strong>
|
||||
</div>
|
||||
<div class="o_kanban_record_bottom">
|
||||
<div class="oe_kanban_bottom_left">
|
||||
<span
|
||||
class='oe_kanban_mail_new'
|
||||
title='Unread Messages'
|
||||
><i class='fa fa-comments' /><t
|
||||
t-raw="record.message_needaction_counter.raw_value"
|
||||
/></span>
|
||||
</div>
|
||||
<div class="oe_kanban_bottom_right">
|
||||
<field
|
||||
name="kanban_state"
|
||||
widget="kanban_state_selection"
|
||||
/>
|
||||
<field
|
||||
name="responsible_user_id"
|
||||
widget="many2one_avatar_user"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
</templates>
|
||||
</kanban>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_mgmtsystem_nonconformity_form" model="ir.ui.view">
|
||||
<field name="name">mgmtsystem.nonconformity.form</field>
|
||||
<field name="model">mgmtsystem.nonconformity</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Non-Conformity">
|
||||
<header>
|
||||
<field
|
||||
name="stage_id"
|
||||
widget="statusbar"
|
||||
options="{'clickable': 1}"
|
||||
/>
|
||||
<field name="state" invisible="True" />
|
||||
</header>
|
||||
<sheet string="Non-Conformity">
|
||||
<div class="oe_button_box" name="button_box" />
|
||||
<field name="kanban_state" widget="kanban_state_selection" />
|
||||
<group name="main">
|
||||
<group name="config">
|
||||
<field
|
||||
name="name"
|
||||
attrs="{'readonly':[('state','not in',['draft'])]}"
|
||||
/>
|
||||
<field
|
||||
name="ref"
|
||||
attrs="{'readonly':[('state','not in',['draft'])]}"
|
||||
/>
|
||||
<field name="create_date" readonly="1" />
|
||||
<field
|
||||
name="partner_id"
|
||||
attrs="{'readonly':[('state','not in',['draft','analysis'])]}"
|
||||
/>
|
||||
<field
|
||||
name="reference"
|
||||
attrs="{'readonly':[('state','not in',['draft'])]}"
|
||||
/>
|
||||
<field
|
||||
name="origin_ids"
|
||||
widget="many2many_tags"
|
||||
attrs="{'readonly':[('state','not in',['draft','analysis'])]}"
|
||||
/>
|
||||
</group>
|
||||
<group name="meta">
|
||||
<field
|
||||
name="responsible_user_id"
|
||||
attrs="{'readonly':[('state','not in',['draft','analysis'])]}"
|
||||
/>
|
||||
<field
|
||||
name="manager_user_id"
|
||||
attrs="{'readonly':[('state','not in',['draft','analysis'])]}"
|
||||
/>
|
||||
<field
|
||||
name="user_id"
|
||||
attrs="{'readonly':[('state','not in',['draft'])]}"
|
||||
/>
|
||||
<field
|
||||
name="system_id"
|
||||
attrs="{'readonly':[('state','not in',['draft','analysis'])]}"
|
||||
/>
|
||||
<field
|
||||
name="company_id"
|
||||
groups="base.group_multi_company"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<notebook>
|
||||
|
||||
<page string="Description" name="description">
|
||||
<field
|
||||
name="description"
|
||||
placeholder="Add a description ..."
|
||||
attrs="{'readonly':[('state','not in',['draft','analysis'])]}"
|
||||
/>
|
||||
<group name="state">
|
||||
<field
|
||||
name="immediate_action_id"
|
||||
domain="[('type_action','=','immediate')]"
|
||||
attrs="{'readonly':[('state','not in',['draft', 'analysis'])]}"
|
||||
/>
|
||||
</group>
|
||||
</page>
|
||||
|
||||
<page string="Procedures" name="procedures">
|
||||
<field
|
||||
name="procedure_ids"
|
||||
attrs="{'readonly':[('state','not in',['draft','analysis'])]}"
|
||||
domain="[('parent_id','in',('Procedure','Environmental Aspect','Manuals'))]"
|
||||
/>
|
||||
</page>
|
||||
|
||||
<page
|
||||
string="Causes and Analysis"
|
||||
attrs="{'invisible':[('state','in',['draft','cancel'])]}"
|
||||
name="causes_analysis"
|
||||
>
|
||||
<separator string="Analysis" />
|
||||
<field
|
||||
name="analysis"
|
||||
attrs="{'readonly':[('state','not in',['analysis'])]}"
|
||||
/>
|
||||
|
||||
<separator string="Causes" />
|
||||
<field
|
||||
name="cause_ids"
|
||||
attrs="{'readonly':[('state','not in',['analysis'])]}"
|
||||
options="{'no_create': True}"
|
||||
>
|
||||
<tree create="1" delete="1" decoration-info="parent_id">
|
||||
<field name="parent_id" />
|
||||
<field name="name" />
|
||||
<field name="description" />
|
||||
<field name="sequence" />
|
||||
</tree>
|
||||
</field>
|
||||
|
||||
<separator string="Analysis Confirmation" />
|
||||
<group>
|
||||
<group>
|
||||
<field
|
||||
name="severity_id"
|
||||
attrs="{'readonly':[('state','not in',['analysis'])]}"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
|
||||
<page
|
||||
string="Actions"
|
||||
attrs="{'invisible':[('state','in',['draft','analysis','cancel'])]}"
|
||||
name="actions"
|
||||
>
|
||||
<separator string="Action Plan" />
|
||||
<field
|
||||
name="action_ids"
|
||||
attrs="{'readonly':[('state','not in',['pending'])]}"
|
||||
/>
|
||||
|
||||
<group string="Plan Review" name="plan_review">
|
||||
<field
|
||||
name="action_comments"
|
||||
attrs="{'readonly':[('state','not in',['pending'])]}"
|
||||
nolabel="1"
|
||||
colspan="2"
|
||||
placeholder="Action Plan Comments"
|
||||
/>
|
||||
</group>
|
||||
|
||||
<group
|
||||
name="effectiveness_review"
|
||||
attrs="{'invisible':[('state','not in',['open','done'])]}"
|
||||
string="Effectiveness Review"
|
||||
>
|
||||
<field
|
||||
name="evaluation_comments"
|
||||
attrs="{'readonly':[('state','not in',['open'])]}"
|
||||
nolabel="1"
|
||||
colspan="2"
|
||||
placeholder="Evaluation Comments"
|
||||
/>
|
||||
</group>
|
||||
</page>
|
||||
|
||||
</notebook>
|
||||
</sheet>
|
||||
|
||||
<div class="oe_chatter">
|
||||
<field
|
||||
name="message_follower_ids"
|
||||
widget="mail_followers"
|
||||
groups="base.group_user"
|
||||
/>
|
||||
<field name="activity_ids" widget="mail_activity" />
|
||||
<field name="message_ids" widget="mail_thread" />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="open_mgmtsystem_nonconformity_list">
|
||||
<field name="name">Nonconformities</field>
|
||||
<field name="res_model">mgmtsystem.nonconformity</field>
|
||||
<field name="view_mode">kanban,tree,form</field>
|
||||
<field name="view_id" ref="view_mgmtsystem_nonconformity_kanban" />
|
||||
<field name="search_view_id" ref="view_mgmtsystem_nonconformity_filter" />
|
||||
<field name="context">{"search_default_user_id":uid}</field>
|
||||
</record>
|
||||
|
||||
<record
|
||||
model="ir.actions.act_window"
|
||||
id="open_mgmtsystem_nonconformity_thread_list"
|
||||
>
|
||||
<field name="name">Nonconformities</field>
|
||||
<field name="res_model">mgmtsystem.nonconformity</field>
|
||||
<field name="view_mode">kanban,tree,form</field>
|
||||
<field
|
||||
name="domain"
|
||||
>[('res_id', '=', active_id), ('res_model', '=', active_model)]</field>
|
||||
<field name="view_id" ref="view_mgmtsystem_nonconformity_kanban" />
|
||||
<field name="search_view_id" ref="view_mgmtsystem_nonconformity_filter" />
|
||||
<field
|
||||
name="context"
|
||||
>{"search_default_user_id":uid, "default_res_model": active_model, "default_res_id": active_id}</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="menu_open_nonconformity"
|
||||
name="Nonconformities"
|
||||
action="open_mgmtsystem_nonconformity_list"
|
||||
parent="mgmtsystem.menu_mgmtsystem_main"
|
||||
sequence="30"
|
||||
groups="mgmtsystem.group_mgmtsystem_manager,mgmtsystem.group_mgmtsystem_auditor,base.group_user"
|
||||
/>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record model="ir.ui.view" id="mgmtsystem_nonconformity_stage_tree_view">
|
||||
<field name="name">Management System Nonconformity Stage Tree</field>
|
||||
<field name="model">mgmtsystem.nonconformity.stage</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree>
|
||||
<field name="name" />
|
||||
<field name="sequence" widget="handle" />
|
||||
<field name="state" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="mgmtsystem_nonconformity_stage_form_view" model="ir.ui.view">
|
||||
<field name="name">mgmtsystem.nonconformity.stage.form.view</field>
|
||||
<field name="model">mgmtsystem.nonconformity.stage</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Nonconformity Stage">
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name" />
|
||||
</group>
|
||||
<group>
|
||||
<field name="fold" />
|
||||
<field name="sequence" groups="base.group_no_one" />
|
||||
<field name="is_starting" />
|
||||
<field name="state" />
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="mgmtsystem_nonconformity_stage_action">
|
||||
<field name="name">Stages</field>
|
||||
<field name="res_model">mgmtsystem.nonconformity.stage</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context">{}</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="menu_mgmtsystem_nonconformity_stages"
|
||||
name="Stages"
|
||||
parent="menu_mgmtsystem_configuration_nonconformities"
|
||||
action="mgmtsystem_nonconformity_stage_action"
|
||||
sequence="90"
|
||||
groups="mgmtsystem.group_mgmtsystem_manager,mgmtsystem.group_mgmtsystem_auditor,base.group_user"
|
||||
/>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,76 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<!-- Origin -->
|
||||
|
||||
<record id="view_mgmtsystem_nonconformity_origin_form" model="ir.ui.view">
|
||||
<field name="name">mgmtsystem.nonconformity.origin.form</field>
|
||||
<field name="type">form</field>
|
||||
<field name="model">mgmtsystem.nonconformity.origin</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Origins of nonconformity">
|
||||
<sheet>
|
||||
<field name="active" invisible="1" />
|
||||
<widget
|
||||
name="web_ribbon"
|
||||
title="Archived"
|
||||
bg_color="bg-danger"
|
||||
attrs="{'invisible': [('active', '=', True)]}"
|
||||
/>
|
||||
<group>
|
||||
<field name="name" />
|
||||
<field name="sequence" />
|
||||
<field name="parent_id" />
|
||||
<field name="ref_code" />
|
||||
<field name="description" />
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_mgmtsystem_nonconformity_origin_tree" model="ir.ui.view">
|
||||
<field name="name">mgmtsystem.nonconformity.origin.tree</field>
|
||||
<field name="model">mgmtsystem.nonconformity.origin</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree>
|
||||
<field name="parent_id" />
|
||||
<field name="name" />
|
||||
<field name="description" />
|
||||
<field name="sequence" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_mgmtsystem_nonconformity_origin_filter" model="ir.ui.view">
|
||||
<field name="name">Origins</field>
|
||||
<field name="model">mgmtsystem.nonconformity.origin</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Origins">
|
||||
<field name="parent_id" />
|
||||
<field name="name" />
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record
|
||||
id="open_mgmtsystem_nonconformity_origin_list"
|
||||
model="ir.actions.act_window"
|
||||
>
|
||||
<field name="name">Origins</field>
|
||||
<field name="res_model">mgmtsystem.nonconformity.origin</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" eval="False" />
|
||||
<field name="search_view_id" ref="view_mgmtsystem_nonconformity_origin_filter" />
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="menu_open_nonconformity_origin"
|
||||
action="open_mgmtsystem_nonconformity_origin_list"
|
||||
parent="menu_mgmtsystem_configuration_nonconformities"
|
||||
sequence="20"
|
||||
groups="mgmtsystem.group_mgmtsystem_manager"
|
||||
/>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<!-- Severity -->
|
||||
|
||||
<record id="view_mgmtsystem_nonconformity_severity_form" model="ir.ui.view">
|
||||
<field name="name">mgmtsystem.nonconformity.severity.form</field>
|
||||
<field name="type">form</field>
|
||||
<field name="model">mgmtsystem.nonconformity.severity</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Severity of Complaints and Nonconformities">
|
||||
<group>
|
||||
<field name="name" />
|
||||
<field name="sequence" />
|
||||
<field name="description" colspan="2" />
|
||||
<field name="active" />
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record
|
||||
id="open_mgmtsystem_nonconformity_severity_list"
|
||||
model="ir.actions.act_window"
|
||||
>
|
||||
<field name="name">Severity</field>
|
||||
<field name="res_model">mgmtsystem.nonconformity.severity</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="menu_open_nonconformity_severity"
|
||||
action="open_mgmtsystem_nonconformity_severity_list"
|
||||
parent="mgmtsystem_nonconformity.menu_mgmtsystem_configuration_nonconformities"
|
||||
groups="mgmtsystem.group_mgmtsystem_manager"
|
||||
/>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue