mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[9.0][MIG] quality_control
This commit is contained in:
committed by
Stefano Consolaro
parent
1d76f7fde6
commit
3cbcbe3f31
@@ -1,5 +1,8 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
##############################################################################
|
||||
# For copyright and license notices, see __openerp__.py file in root directory
|
||||
##############################################################################
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2010 NaN Projectes de Programari Lliure, S.L.
|
||||
# Copyright 2014 Serv. Tec. Avanzados - Pedro M. Baeza
|
||||
# Copyright 2014 Oihane Crucelaegui - AvanzOSC
|
||||
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import qc_test_wizard
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
# For copyright and license notices, see __openerp__.py file in root directory
|
||||
##############################################################################
|
||||
from openerp import models, fields, api
|
||||
# Copyright 2010 NaN Projectes de Programari Lliure, S.L.
|
||||
# Copyright 2014 Serv. Tec. Avanzados - Pedro M. Baeza
|
||||
# Copyright 2014 Oihane Crucelaegui - AvanzOSC
|
||||
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from openerp import api, fields, models
|
||||
|
||||
|
||||
class QcInspectionSetTest(models.TransientModel):
|
||||
|
||||
@@ -1,36 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="view_qc_test_set_test_form" model="ir.ui.view">
|
||||
<field name="name">qc.inspection.set.test.form</field>
|
||||
<field name="model">qc.inspection.set.test</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Select test" version="7.0">
|
||||
<group>
|
||||
<field name="test" />
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_create_test"
|
||||
string="Accept"
|
||||
type="object"
|
||||
class="oe_highlight"/>
|
||||
or
|
||||
<button special="cancel"
|
||||
class="oe_link"
|
||||
string="Cancel" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<odoo>
|
||||
|
||||
<record id="action_qc_inspection_set_test" model="ir.actions.act_window">
|
||||
<field name="name">Select test</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">qc.inspection.set.test</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
<record id="view_qc_test_set_test_form" model="ir.ui.view">
|
||||
<field name="name">qc.inspection.set.test.form</field>
|
||||
<field name="model">qc.inspection.set.test</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Select test" version="7.0">
|
||||
<group>
|
||||
<field name="test" />
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_create_test"
|
||||
string="Accept"
|
||||
type="object"
|
||||
class="oe_highlight"/>
|
||||
or
|
||||
<button special="cancel"
|
||||
class="oe_link"
|
||||
string="Cancel" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
<record id="action_qc_inspection_set_test" model="ir.actions.act_window">
|
||||
<field name="name">Select test</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">qc.inspection.set.test</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user