mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[MIG] quality_control_team_oca: Migration to 14.0
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"name": "Quality Control Team OCA",
|
"name": "Quality Control Team OCA",
|
||||||
"summary": "Adds quality control teams to handle different quality "
|
"summary": "Adds quality control teams to handle different quality "
|
||||||
"control workflows",
|
"control workflows",
|
||||||
"version": "13.0.1.0.0",
|
"version": "14.0.1.0.0",
|
||||||
"category": "Quality Control",
|
"category": "Quality Control",
|
||||||
"website": "https://github.com/OCA/manufacture",
|
"website": "https://github.com/OCA/manufacture",
|
||||||
"author": "Eficent, Odoo Community Association (OCA)",
|
"author": "Eficent, Odoo Community Association (OCA)",
|
||||||
|
|||||||
@@ -1,13 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<!-- Copyright 2017 Eficent Business and IT Consulting Services S.L.
|
<!-- Copyright 2017 Eficent Business and IT Consulting Services S.L.
|
||||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||||
<odoo>
|
<odoo noupdate="0">
|
||||||
|
<record model="qc.team" id="qc_team_main">
|
||||||
<data noupdate="0">
|
<field name="name">Main QC Team</field>
|
||||||
<record model="qc.team" id="qc_team_main">
|
<field name="member_ids" eval="[(4, ref('base.user_admin'))]" />
|
||||||
<field name="name">Main QC Team</field>
|
</record>
|
||||||
<field name="member_ids" eval="[(4, ref('base.user_admin'))]" />
|
|
||||||
</record>
|
|
||||||
</data>
|
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ class QualityControlTeam(models.Model):
|
|||||||
company_id = fields.Many2one(
|
company_id = fields.Many2one(
|
||||||
comodel_name="res.company",
|
comodel_name="res.company",
|
||||||
string="Company",
|
string="Company",
|
||||||
default=lambda self: self.env["res.company"]._company_default_get("qc.team"),
|
default=lambda self: self.env.company,
|
||||||
)
|
)
|
||||||
user_id = fields.Many2one(comodel_name="res.users", string="Team Leader")
|
user_id = fields.Many2one(comodel_name="res.users", string="Team Leader")
|
||||||
member_ids = fields.One2many(
|
member_ids = fields.One2many(
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<!-- Copyright 2017 Eficent Business and IT Consulting Services S.L.
|
<!-- Copyright 2017 Eficent Business and IT Consulting Services S.L.
|
||||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||||
|
|
||||||
<record id="qc_team_view_form" model="ir.ui.view">
|
<record id="qc_team_view_form" model="ir.ui.view">
|
||||||
@@ -78,14 +78,21 @@
|
|||||||
>
|
>
|
||||||
<strong
|
<strong
|
||||||
class="o_kanban_record_title"
|
class="o_kanban_record_title"
|
||||||
><field name="name" /></strong>
|
>
|
||||||
|
<field name="name" />
|
||||||
|
</strong>
|
||||||
</div>
|
</div>
|
||||||
<a
|
<a
|
||||||
t-if="! read_only_mode"
|
t-if="! read_only_mode"
|
||||||
type="delete"
|
type="delete"
|
||||||
class="text-danger"
|
class="text-danger"
|
||||||
>
|
>
|
||||||
<i class="fa fa-times" />
|
<i
|
||||||
|
class="fa fa-times"
|
||||||
|
aria-label="Unlink"
|
||||||
|
role="img"
|
||||||
|
title="Unlink"
|
||||||
|
/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -125,7 +132,7 @@
|
|||||||
<field name="model">qc.team</field>
|
<field name="model">qc.team</field>
|
||||||
<field name="field_parent">child_ids</field>
|
<field name="field_parent">child_ids</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="Quality Control Team">
|
<tree>
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="active" invisible="1" />
|
<field name="active" invisible="1" />
|
||||||
<field name="user_id" />
|
<field name="user_id" />
|
||||||
@@ -140,7 +147,8 @@
|
|||||||
<field name="help" type="html">
|
<field name="help" type="html">
|
||||||
<p class="oe_view_nocontent_create">
|
<p class="oe_view_nocontent_create">
|
||||||
Click here to define a new quality control team.
|
Click here to define a new quality control team.
|
||||||
</p><p>
|
</p>
|
||||||
|
<p>
|
||||||
Use quality control team to organize your different
|
Use quality control team to organize your different
|
||||||
departments into separate teams. Each team will work in
|
departments into separate teams. Each team will work in
|
||||||
its own list of processes, stages...
|
its own list of processes, stages...
|
||||||
|
|||||||
Reference in New Issue
Block a user