<?xml version="1.0"?>
<tryton>
    <data>

<!-- Sequences for Sample in Custody -->

        <record model="ir.sequence.type" id="seq_type_sample_in_custody">
            <field name="name">Sample in Custody</field>
        </record>
        <record model="ir.sequence.type-res.group"
            id="seq_type_sample_in_custody_group_admin">
            <field name="sequence_type" ref="seq_type_sample_in_custody"/>
            <field name="group" ref="res.group_admin"/>
        </record>
        <record model="ir.sequence" id="seq_sample_in_custody">
            <field name="name">Sample in Custody</field>
            <field name="sequence_type" ref="seq_type_sample_in_custody"/>
        </record>

<!-- Sequences for Project -->

        <record model="ir.sequence.type" id="seq_type_stp_project">
            <field name="name">Project</field>
        </record>
        <record model="ir.sequence.type-res.group"
            id="seq_type_stp_project_group_admin">
            <field name="sequence_type" ref="seq_type_stp_project"/>
            <field name="group" ref="res.group_admin"/>
        </record>

<!-- Project -->

        <record model="ir.ui.view" id="lims_project_view_form">
            <field name="model">lims.project</field>
            <field name="inherit" ref="lims_project.lims_project_view_form"/>
            <field name="name">project_form</field>
        </record>

        <record model="ir.model.button" id="project_get_stp_test_system_button">
            <field name="name">get_stp_test_system</field>
            <field name="string">Update</field>
            <field name="model" search="[('model', '=', 'lims.project')]"/>
        </record>

        <record model="ir.model.button" id="project_get_stp_test_method_button">
            <field name="name">get_stp_test_method</field>
            <field name="string">Update</field>
            <field name="model" search="[('model', '=', 'lims.project')]"/>
        </record>

        <record model="ir.model.button" id="project_re_open_button">
            <field name="name">re_open</field>
            <field name="string">Open</field>
            <field name="model" search="[('model', '=', 'lims.project')]"/>
        </record>

<!-- Project Professional-->

        <record model="ir.ui.view" id="lims_project_stp_professional_view_form">
            <field name="model">lims.project.stp_professional</field>
            <field name="type">form</field>
            <field name="name">project_stp_professional_form</field>
        </record>
        <record model="ir.ui.view" id="lims_project_stp_professional_view_list">
            <field name="model">lims.project.stp_professional</field>
            <field name="type">tree</field>
            <field name="name">project_stp_professional_list</field>
        </record>

<!-- Professional Position-->

        <record model="ir.ui.view" id="lims_project_stp_professional_position_view_form">
            <field name="model">lims.project.stp_professional.position</field>
            <field name="type">form</field>
            <field name="name">project_stp_professional_position_form</field>
        </record>
        <record model="ir.ui.view" id="lims_project_stp_professional_position_view_list">
            <field name="model">lims.project.stp_professional.position</field>
            <field name="type">tree</field>
            <field name="name">project_stp_professional_position_list</field>
        </record>

        <record model="ir.action.act_window" id="act_lims_project_stp_professional_position_list">
            <field name="name">Professional Positions</field>
            <field name="res_model">lims.project.stp_professional.position</field>
        </record>
        <record model="ir.action.act_window.view" id="act_lims_project_stp_professional_position_view_list">
            <field name="sequence" eval="10"/>
            <field name="view" ref="lims_project_stp_professional_position_view_list"/>
            <field name="act_window" ref="act_lims_project_stp_professional_position_list"/>
        </record>
        <record model="ir.action.act_window.view" id="act_lims_project_stp_professional_position_view_form">
            <field name="sequence" eval="20"/>
            <field name="view" ref="lims_project_stp_professional_position_view_form"/>
            <field name="act_window" ref="act_lims_project_stp_professional_position_list"/>
        </record>

        <menuitem action="act_lims_project_stp_professional_position_list"
            id="lims_project_stp_professional_position_menu"
            parent="lims_project.lims_config_projects" sequence="20"/>

        <record model="ir.model.access" id="access_project_stp_professional_position">
            <field name="model" search="[('model', '=', 'lims.project.stp_professional.position')]"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="False"/>
            <field name="perm_create" eval="False"/>
            <field name="perm_delete" eval="False"/>
        </record>
        <record model="ir.model.access" id="access_project_stp_professional_position_group_conf_project_admin">
            <field name="model" search="[('model', '=', 'lims.project.stp_professional.position')]"/>
            <field name="group" ref="lims_project.group_lims_conf_project_admin"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="True"/>
            <field name="perm_create" eval="True"/>
            <field name="perm_delete" eval="True"/>
        </record>

<!-- Reference Element in GLP-->

        <record model="ir.ui.view" id="lims_project_reference_element_view_form">
            <field name="model">lims.project.reference_element</field>
            <field name="type">form</field>
            <field name="name">project_reference_element_form</field>
        </record>
        <record model="ir.ui.view" id="lims_project_reference_element_view_list">
            <field name="model">lims.project.reference_element</field>
            <field name="type">tree</field>
            <field name="name">project_reference_element_list</field>
        </record>

<!-- Solvent and Reagent-->

        <record model="ir.ui.view" id="lims_project_solvent_reagent_view_form">
            <field name="model">lims.project.solvent_reagent</field>
            <field name="type">form</field>
            <field name="name">project_solvent_reagent_form</field>
        </record>
        <record model="ir.ui.view" id="lims_project_solvent_reagent_view_list">
            <field name="model">lims.project.solvent_reagent</field>
            <field name="type">tree</field>
            <field name="name">project_solvent_reagent_list</field>
        </record>

<!-- Sample in Custody-->

        <record model="ir.ui.view" id="lims_project_sample_in_custody_view_form">
            <field name="model">lims.project.sample_in_custody</field>
            <field name="type">form</field>
            <field name="name">project_sample_in_custody_form</field>
        </record>
        <record model="ir.ui.view" id="lims_project_sample_in_custody_view_list">
            <field name="model">lims.project.sample_in_custody</field>
            <field name="type">tree</field>
            <field name="name">project_sample_in_custody_list</field>
        </record>

<!-- Deviation and Amendment-->

        <record model="ir.ui.view" id="lims_project_deviation_amendment_view_form">
            <field name="model">lims.project.deviation_amendment</field>
            <field name="type">form</field>
            <field name="name">project_deviation_amendment_form</field>
        </record>
        <record model="ir.ui.view" id="lims_project_deviation_amendment_view_list">
            <field name="model">lims.project.deviation_amendment</field>
            <field name="type">tree</field>
            <field name="name">project_deviation_amendment_list</field>
        </record>

<!-- Deviation/Amendment Professional-->

        <record model="ir.ui.view" id="lims_project_deviation_amendment_professional_view_form">
            <field name="model">lims.project.deviation_amendment.professional</field>
            <field name="type">form</field>
            <field name="name">project_deviation_amendment_professional_form</field>
        </record>
        <record model="ir.ui.view" id="lims_project_deviation_amendment_professional_view_list">
            <field name="model">lims.project.deviation_amendment.professional</field>
            <field name="type">tree</field>
            <field name="name">project_deviation_amendment_professional_list</field>
        </record>

<!-- Sample -->

        <record model="ir.ui.view" id="lims_sample_view_form">
            <field name="model">lims.sample</field>
            <field name="inherit" ref="lims.lims_sample_view_form"/>
            <field name="name">sample_form</field>
        </record>
        <record model="ir.ui.view" id="lims_sample_view_list">
            <field name="model">lims.sample</field>
            <field name="type">tree</field>
            <field name="name">sample_list</field>
        </record>

<!-- Wizard Create Sample -->

        <record model="ir.ui.view" id="lims_create_sample_start_view_form">
            <field name="model">lims.create_sample.start</field>
            <field name="inherit" ref="lims.lims_create_sample_start_view_form"/>
            <field name="name">create_sample_start_form</field>
        </record>

<!-- Lot -->

        <record model="ir.ui.view" id="lims_lot_view_form">
            <field name="model">stock.lot</field>
            <field name="inherit" ref="stock_lot.lot_view_form"/>
            <field name="name">stock_lot_form</field>
        </record>

<!-- Notebook Line -->

        <record model="ir.ui.view" id="lims_notebook_line_view_list">
            <field name="model">lims.notebook.line</field>
            <field name="type">tree</field>
            <field name="name">notebook_line_list</field>
        </record>

<!-- BPL 01. BPL-005- Anexo 3 Ingreso y egreso provisorio de muestras al archivo -->

        <record model="ir.action.report" id="report_glp_01">
            <field name="name">GLP 01. GLP-005- Annex 3 Temporary input and output of samples to the file</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.01</field>
            <field name="report">lims_project_study_plan/report/glp_01.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_01_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_01"/>
        </record>

<!-- BPL 02. BPL-005- Anexo 4 Ingreso y egreso definitivo de muestras para analizar -->

        <record model="ir.action.report" id="report_glp_02">
            <field name="name">GLP 02. GLP-005- Annex 4 Definitive input and output of samples to analyze</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.02</field>
            <field name="report">lims_project_study_plan/report/glp_02.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_02_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_02"/>
        </record>

<!-- BPL 03. BPL-005- Anexo 5 Almacenamiento de muestras de planes de estudio -->

        <record model="ir.action.report" id="report_glp_03">
            <field name="name">GLP 03. GLP-005- Annex 5 Storage of samples</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.03</field>
            <field name="report">lims_project_study_plan/report/glp_03.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.ui.view" id="report_glp_03_print_start_view_form">
            <field name="model">lims.project.glp_report.03.print.start</field>
            <field name="type">form</field>
            <field name="name">report_glp_03_print_start_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_report_glp_03_print">
            <field name="name">GLP 03. GLP-005- Annex 5 Storage of samples</field>
            <field name="wiz_name">lims.project.glp_report.03.print</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_03_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="wiz_report_glp_03_print"/>
        </record>

<!-- BPL 04. BPL-005- Anexo 6 Movimiento de contramuestras de planes de estudio -->

        <record model="ir.action.report" id="report_glp_04">
            <field name="name">GLP 04. GLP-005- Annex 6 Movements of countersamples</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.04</field>
            <field name="report">lims_project_study_plan/report/glp_04.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_04_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_04"/>
        </record>

<!-- BPL 05. BPL-005- Anexo 7 Descarte de muestras de planes de estudio -->

        <record model="ir.action.report" id="report_glp_05">
            <field name="name">GLP 05. GLP-005- Annex 7 Discharge of samples</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.05</field>
            <field name="report">lims_project_study_plan/report/glp_05.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.ui.view" id="report_glp_05_print_start_view_form">
            <field name="model">lims.project.glp_report.05.print.start</field>
            <field name="type">form</field>
            <field name="name">report_glp_05_print_start_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_report_glp_05_print">
            <field name="name">GLP 05. GLP-005- Annex 7 Discharge of samples</field>
            <field name="wiz_name">lims.project.glp_report.05.print</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_05_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="wiz_report_glp_05_print"/>
        </record>

<!-- BPL 06. BPL-001- Anexo 3 Desviaciones/ Enmiendas del plan de estudio -->

        <record model="ir.action.report" id="report_glp_06">
            <field name="name">GLP 06. GLP-001- Annex 3 Deviations and amendments of Study plan</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.06</field>
            <field name="report">lims_project_study_plan/report/glp_06.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_06_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_06"/>
        </record>

<!-- BPL 07. Tabla 1- Plan de estudio -->

        <record model="ir.action.report" id="report_glp_07">
            <field name="name">GLP 07. Table 1- Study plan</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.07</field>
            <field name="report">lims_project_study_plan/report/glp_07.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_07_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_07"/>
        </record>

<!-- BPL 08. Tabla 2- Elementos de prueba para informe final (RP) -->

        <record model="ir.action.report" id="report_glp_08">
            <field name="name">GLP 08. Table 2- Test elements for Final report (RP)</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.08</field>
            <field name="report">lims_project_study_plan/report/glp_08.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_08_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_08"/>
        </record>

<!-- BPL 09. Tabla 3- Resultado de informe final -->

        <record model="ir.action.report" id="report_glp_09">
            <field name="name">GLP 09. Table 3- Result of Final report</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.09</field>
            <field name="report">lims_project_study_plan/report/glp_09.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_09_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_09"/>
        </record>

<!-- BPL 10. Esquema rector -->

        <record model="ir.action.report" id="report_glp_10">
            <field name="name">GLP 10. Rector scheme</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.10</field>
            <field name="report">lims_project_study_plan/report/glp_10.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.ui.view" id="report_glp_10_print_start_view_form">
            <field name="model">lims.project.glp_report.10.print.start</field>
            <field name="type">form</field>
            <field name="name">report_glp_10_print_start_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_report_glp_10_print">
            <field name="name">GLP 10. Rector scheme</field>
            <field name="wiz_name">lims.project.glp_report.10.print</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_10_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="wiz_report_glp_10_print"/>
        </record>

<!-- BPL 11. Elementos de prueba/referencia (FOR) -->

        <record model="ir.action.report" id="report_glp_11">
            <field name="name">GLP 11. Reference/Test elements (FOR)</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.11</field>
            <field name="report">lims_project_study_plan/report/glp_11.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_11_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_11"/>
        </record>

<!-- BPL 12. Registro de cambios -->

        <record model="ir.action.report" id="report_glp_12">
            <field name="name">GLP 12. Changelog</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.12</field>
            <field name="report">lims_project_study_plan/report/glp_12.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.ui.view" id="report_glp_12_print_start_view_form">
            <field name="model">lims.project.glp_report.12.print.start</field>
            <field name="type">form</field>
            <field name="name">report_glp_12_print_start_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_report_glp_12_print">
            <field name="name">GLP 12. Changelog</field>
            <field name="wiz_name">lims.project.glp_report.12.print</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_12_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="wiz_report_glp_12_print"/>
        </record>

<!-- BPL Study plan -->

        <record model="ir.action.report" id="report_glp_study_plan">
            <field name="name">GLP Study plan</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.study_plan</field>
            <field name="report">lims_project_study_plan/report/glp_study_plan.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_study_plan_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_study_plan"/>
        </record>

<!-- BPL Final Report (RP) -->

        <record model="ir.action.report" id="report_glp_final_rp">
            <field name="name">GLP Final Report (RP)</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.final_rp</field>
            <field name="report">lims_project_study_plan/report/glp_final_report_rp.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_final_rp_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_final_rp"/>
        </record>

<!-- BPL Final Report (FOR) -->

        <record model="ir.action.report" id="report_glp_final_for">
            <field name="name">GLP Final Report (FOR)</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.final_for</field>
            <field name="report">lims_project_study_plan/report/glp_final_report_for.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_final_for_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_final_for"/>
        </record>

<!-- BPL Analytical Phase Report -->

        <record model="ir.action.report" id="report_glp_analytical_phase">
            <field name="name">GLP Analytical Phase Report </field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.analytical_phase</field>
            <field name="report">lims_project_study_plan/report/glp_analytical_phase_report.fodt</field>
            <field name="extension">pdf</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_analytical_phase_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_analytical_phase"/>
        </record>

<!-- BPL 13. Registro de preparación de muestras BPL -->

        <record model="ir.action.report" id="report_glp_13">
            <field name="name">GLP 13. GLP-007- Annex 3 Sample preparation registration GLP</field>
            <field name="model">lims.project</field>
            <field name="report_name">lims.project.glp_report.13</field>
            <field name="report">lims_project_study_plan/report/glp_13.fods</field>
            <field name="extension">xls</field>
        </record>

        <record model="ir.action.keyword" id="report_glp_13_keyword">
            <field name="keyword">form_print</field>
            <field name="model">lims.project,-1</field>
            <field name="action" ref="report_glp_13"/>
        </record>

<!-- Wizard Open Project -->

        <record model="ir.ui.view" id="lims_project_re_open_start_view_form">
            <field name="model">lims.project.re_open.start</field>
            <field name="type">form</field>
            <field name="name">project_re_open_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_re_open_project">
            <field name="name">Open Project</field>
            <field name="wiz_name">lims.project.re_open</field>
        </record>

    </data>
</tryton>
