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

        <record model="ir.ui.icon" id="notebook_icon">
            <field name="name">lims-notebook</field>
            <field name="path">icons/notebook.svg</field>
        </record>
        <record model="ir.ui.icon" id="notebook_line_all_menu_icon">
            <field name="name">lims-notebook_line_all_menu</field>
            <field name="path">icons/notebook_line_all_menu.svg</field>
        </record>
        <record model="ir.ui.icon" id="laboratory_results_icon">
            <field name="name">lims-laboratory_results</field>
            <field name="path">icons/laboratory_results.svg</field>
        </record>
        <record model="ir.ui.icon" id="notebook_load_results_manual_icon">
            <field name="name">lims-notebook_load_results_manual</field>
            <field name="path">icons/notebook_load_results_manual.svg</field>
        </record>
        <record model="ir.ui.icon" id="notebook_load_results_formula_icon">
            <field name="name">lims-notebook_load_results_formula</field>
            <field name="path">icons/notebook_load_results_formula.svg</field>
        </record>

<!-- Notebook -->

        <record model="ir.ui.view" id="lims_notebook_view_form">
            <field name="model">lims.notebook</field>
            <field name="type">form</field>
            <field name="name">notebook_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_view_list">
            <field name="model">lims.notebook</field>
            <field name="type">tree</field>
            <field name="name">notebook_list</field>
        </record>

        <record model="ir.action.act_window" id="act_lims_notebook_list">
            <field name="name">Laboratory Notebooks</field>
            <field name="res_model">lims.notebook</field>
        </record>
        <record model="ir.action.act_window.view" id="act_lims_notebook_view_list">
            <field name="sequence" eval="10"/>
            <field name="view" ref="lims_notebook_view_list"/>
            <field name="act_window" ref="act_lims_notebook_list"/>
        </record>
        <record model="ir.action.act_window.view" id="act_lims_notebook_view_form">
            <field name="sequence" eval="20"/>
            <field name="view" ref="lims_notebook_view_form"/>
            <field name="act_window" ref="act_lims_notebook_list"/>
        </record>

        <record model="ir.rule.group" id="rule_group_notebook">
            <field name="name">User in laboratory</field>
            <field name="model" search="[('model', '=', 'lims.notebook')]"/>
            <field name="global_p" eval="True"/>
        </record>
        <record model="ir.rule" id="rule_notebook">
            <field name="domain"
                eval="[If(Bool(Eval('user', {}).get('laboratory', False)), ('lines.laboratory', '=', Eval('user', {}).get('laboratory', None)), If(Bool(Eval('user', {}).get('laboratories', False)), ('lines.laboratory', 'in', Eval('user', {}).get('laboratories', [])), ('id', '!=', 0)))]"
                pyson="1"/>
            <field name="rule_group" ref="rule_group_notebook"/>
        </record>

        <record model="ir.action.act_window" id="act_lims_notebook_line_related1">
            <field name="name">Notebook Lines</field>
            <field name="res_model">lims.notebook.line</field>
        </record>

        <record model="ir.action.wizard" id="act_open_notebook_lines">
            <field name="name">Notebook Lines</field>
            <field name="wiz_name">lims.open_notebook_lines</field>
            <field name="model">lims.notebook</field>
        </record>
        <record model="ir.action.keyword" id="act_open_notebook_line_keyword1">
            <field name="keyword">form_relate</field>
            <field name="model">lims.notebook,-1</field>
            <field name="action" ref="act_open_notebook_lines"/>
        </record>

<!-- Notebook Line -->

        <record model="ir.ui.view" id="lims_notebook_line_view_form">
            <field name="model">lims.notebook.line</field>
            <field name="type">form</field>
            <field name="name">notebook_line_form</field>
        </record>
        <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>

        <record model="ir.action.act_window" id="act_lims_notebook_line_list">
            <field name="name">Notebook Lines</field>
            <field name="res_model">lims.notebook.line</field>
            <field name="domain"
                eval="[('notebook', '=', Get(Eval('lims.act_lims_notebook_list', {}), 'id', None))]"
                pyson="1"/>
        </record>
        <record model="ir.action.act_window.view" id="act_lims_notebook_line_view_list">
            <field name="sequence" eval="10"/>
            <field name="view" ref="lims_notebook_line_view_list"/>
            <field name="act_window" ref="act_lims_notebook_line_list"/>
        </record>

        <record model="ir.rule.group" id="rule_group_notebook_line">
            <field name="name">User in laboratory</field>
            <field name="model" search="[('model', '=', 'lims.notebook.line')]"/>
            <field name="global_p" eval="True"/>
        </record>
        <record model="ir.rule" id="rule_notebook_line">
            <field name="domain"
                eval="[If(Bool(Eval('user', {}).get('laboratory', False)), ('laboratory', '=', Eval('user', {}).get('laboratory', None)), If(Bool(Eval('user', {}).get('laboratories', False)), ('laboratory', 'in', Eval('user', {}).get('laboratories', [])), ('id', '!=', 0)))]"
                pyson="1"/>
            <field name="rule_group" ref="rule_group_notebook_line"/>
        </record>

<!-- Notebook Line Professional -->

        <record model="ir.ui.view" id="lims_notebook_line_professional_view_form">
            <field name="model">lims.notebook.line.professional</field>
            <field name="type">form</field>
            <field name="name">notebook_line_professional_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_line_professional_view_list">
            <field name="model">lims.notebook.line.professional</field>
            <field name="type">tree</field>
            <field name="name">notebook_line_professional_list</field>
        </record>

<!-- Notebook Line All Fields -->

        <record model="ir.ui.view" id="lims_notebook_line_all_fields_view_form">
            <field name="model">lims.notebook.line.all_fields</field>
            <field name="type">form</field>
            <field name="name">notebook_line_all_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_line_all_fields_view_list">
            <field name="model">lims.notebook.line.all_fields</field>
            <field name="type">tree</field>
            <field name="name">notebook_line_all_list</field>
        </record>

        <record model="ir.action.act_window" id="act_lims_notebook_line_all_fields_list">
            <field name="name">All Notebook Lines</field>
            <field name="res_model">lims.notebook.line.all_fields</field>
        </record>
        <record model="ir.action.act_window.view" id="act_lims_notebook_line_all_view_list">
            <field name="sequence" eval="10"/>
            <field name="view" ref="lims_notebook_line_all_fields_view_list"/>
            <field name="act_window" ref="act_lims_notebook_line_all_fields_list"/>
        </record>
        <record model="ir.action.act_window.view" id="act_lims_notebook_line_all_view_form">
            <field name="sequence" eval="20"/>
            <field name="view" ref="lims_notebook_line_all_fields_view_form"/>
            <field name="act_window" ref="act_lims_notebook_line_all_fields_list"/>
        </record>

        <record model="ir.rule.group" id="rule_group_notebook_line_all_fields">
            <field name="name">User in laboratory</field>
            <field name="model" search="[('model', '=', 'lims.notebook.line.all_fields')]"/>
            <field name="global_p" eval="True"/>
        </record>
        <record model="ir.rule" id="rule_notebook_line_all_fields">
            <field name="domain"
                eval="[If(Bool(Eval('user', {}).get('laboratory', False)), ('laboratory', '=', Eval('user', {}).get('laboratory', None)), If(Bool(Eval('user', {}).get('laboratories', False)), ('laboratory', 'in', Eval('user', {}).get('laboratories', [])), ('id', '!=', 0)))]"
                pyson="1"/>
            <field name="rule_group" ref="rule_group_notebook_line_all_fields"/>
        </record>

<!-- Wizard Initial Concentration Calculation -->

        <record model="ir.ui.view" id="lims_notebook_initial_concentration_calc_view_form">
            <field name="model">lims.notebook.initial_concentration_calc.start</field>
            <field name="type">form</field>
            <field name="name">notebook_initial_concentration_calc_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_initial_concentration_calc">
            <field name="name">Initial Concentration Calculation</field>
            <field name="wiz_name">lims.notebook.initial_concentration_calc</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_initial_concentration_calc_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook,-1</field>
            <field name="action" ref="wiz_lims_notebook_initial_concentration_calc"/>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_line_initial_concentration_calc">
            <field name="name">Initial Concentration Calculation</field>
            <field name="wiz_name">lims.notebook_line.initial_concentration_calc</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_line_initial_concentration_calc_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line,-1</field>
            <field name="action" ref="wiz_lims_notebook_line_initial_concentration_calc"/>
        </record>

<!-- Wizard Results Conversion -->

        <record model="ir.ui.view" id="lims_notebook_results_conversion_view_form">
            <field name="model">lims.notebook.results_conversion.start</field>
            <field name="type">form</field>
            <field name="name">notebook_results_conversion_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_results_conversion">
            <field name="name">Results Conversion</field>
            <field name="wiz_name">lims.notebook.results_conversion</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_results_conversion_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook,-1</field>
            <field name="action" ref="wiz_lims_notebook_results_conversion"/>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_line_results_conversion">
            <field name="name">Results Conversion</field>
            <field name="wiz_name">lims.notebook_line.results_conversion</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_line_results_conversion_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line,-1</field>
            <field name="action" ref="wiz_lims_notebook_line_results_conversion"/>
        </record>

<!-- Wizard Limits Validation -->

        <record model="ir.ui.view" id="lims_notebook_limits_validation_view_form">
            <field name="model">lims.notebook.limits_validation.start</field>
            <field name="type">form</field>
            <field name="name">notebook_limits_validation_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_limits_validation">
            <field name="name">Limits Validation</field>
            <field name="wiz_name">lims.notebook.limits_validation</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_limits_validation_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook,-1</field>
            <field name="action" ref="wiz_lims_notebook_limits_validation"/>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_line_limits_validation">
            <field name="name">Limits Validation</field>
            <field name="wiz_name">lims.notebook_line.limits_validation</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_line_limits_validation_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line,-1</field>
            <field name="action" ref="wiz_lims_notebook_line_limits_validation"/>
        </record>

<!-- Wizard Internal Relations Calculation 1 (repetition zero) -->

        <record model="ir.ui.view" id="lims_notebook_internal_relations_calc_1_start_view_form">
            <field name="model">lims.notebook.internal_relations_calc_1.start</field>
            <field name="type">form</field>
            <field name="name">notebook_internal_relations_calc_1_start_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_internal_relations_calc_1">
            <field name="name">Internal Relations Calculation</field>
            <field name="wiz_name">lims.notebook.internal_relations_calc_1</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_internal_relations_calc_1_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook,-1</field>
            <field name="action" ref="wiz_lims_notebook_internal_relations_calc_1"/>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_line_internal_relations_calc_1">
            <field name="name">Internal Relations Calculation</field>
            <field name="wiz_name">lims.notebook_line.internal_relations_calc_1</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_line_internal_relations_calc_1_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line,-1</field>
            <field name="action" ref="wiz_lims_notebook_line_internal_relations_calc_1"/>
        </record>

<!-- Wizard Internal Relations Calculation 2 (with repetitions) -->

        <record model="ir.ui.view" id="lims_notebook_internal_relations_calc_2_start_view_form">
            <field name="model">lims.notebook.internal_relations_calc_2.start</field>
            <field name="type">form</field>
            <field name="name">notebook_internal_relations_calc_2_start_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_internal_relations_calc_2_result_view_form">
            <field name="model">lims.notebook.internal_relations_calc_2.result</field>
            <field name="type">form</field>
            <field name="name">notebook_internal_relations_calc_2_result_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_internal_relations_calc_2_process_view_form">
            <field name="model">lims.notebook.internal_relations_calc_2.process</field>
            <field name="type">form</field>
            <field name="name">notebook_internal_relations_calc_2_process_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_internal_relations_calc_2_variable_view_list">
            <field name="model">lims.notebook.internal_relations_calc_2.variable</field>
            <field name="type">tree</field>
            <field name="name">notebook_internal_relations_calc_2_variable_list</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_internal_relations_calc_2_variable_view_form">
            <field name="model">lims.notebook.internal_relations_calc_2.variable</field>
            <field name="type">form</field>
            <field name="name">notebook_internal_relations_calc_2_variable_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_internal_relations_calc_2">
            <field name="name">Internal Relations Calculation</field>
            <field name="wiz_name">lims.notebook.internal_relations_calc_2</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_internal_relations_calc_2_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook,-1</field>
            <field name="action" ref="wiz_lims_notebook_internal_relations_calc_2"/>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_line_internal_relations_calc_2">
            <field name="name">Internal Relations Calculation</field>
            <field name="wiz_name">lims.notebook_line.internal_relations_calc_2</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_line_internal_relations_calc_2_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line,-1</field>
            <field name="action" ref="wiz_lims_notebook_line_internal_relations_calc_2"/>
        </record>

        <record model="ir.model.field.access" id="access_internal_relations_calc_2_process_variables">
            <field name="field"
                search="[('name', '=', 'variables'), ('model.model', '=', 'lims.notebook.internal_relations_calc_2.process')]"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="True"/>
            <field name="perm_create" eval="False"/>
            <field name="perm_delete" eval="False"/>
        </record>

<!-- Wizard Load Results by Formula -->

        <record model="ir.ui.view" id="lims_notebook_load_results_formula_start_view_form">
            <field name="model">lims.notebook.load_results_formula.start</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_formula_start_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_formula_empty_view_form">
            <field name="model">lims.notebook.load_results_formula.empty</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_formula_empty_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_formula_result_view_form">
            <field name="model">lims.notebook.load_results_formula.result</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_formula_result_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_formula_process_view_form">
            <field name="model">lims.notebook.load_results_formula.process</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_formula_process_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_formula_variable_view_list">
            <field name="model">lims.notebook.load_results_formula.variable</field>
            <field name="type">tree</field>
            <field name="name">notebook_load_results_formula_variable_list</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_formula_variable_view_form">
            <field name="model">lims.notebook.load_results_formula.variable</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_formula_variable_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_formula_beginning_view_form">
            <field name="model">lims.notebook.load_results_formula.beginning</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_formula_beginning_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_formula_confirm_view_form">
            <field name="model">lims.notebook.load_results_formula.confirm</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_formula_confirm_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_formula_sit1_view_form">
            <field name="model">lims.notebook.load_results_formula.sit1</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_formula_sit1_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_formula_sit2_view_form">
            <field name="model">lims.notebook.load_results_formula.sit2</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_formula_sit2_form</field>
        </record>

        <record model="ir.ui.view" id="lims_notebook_load_results_formula_sit2_detail_view_list">
            <field name="model">lims.notebook.load_results_formula.sit2.detail</field>
            <field name="type">tree</field>
            <field name="name">notebook_load_results_formula_sit2_detail_list</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_formula_sit2_detail_view_form">
            <field name="model">lims.notebook.load_results_formula.sit2.detail</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_formula_sit2_detail_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_load_results_formula">
            <field name="name">Load Results by Formula</field>
            <field name="wiz_name">lims.notebook.load_results_formula</field>
        </record>

        <record model="ir.model.field.access" id="access_load_results_formula_sit2_details">
            <field name="field"
                search="[('name', '=', 'details'), ('model.model', '=', 'lims.notebook.load_results_formula.sit2')]"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="True"/>
            <field name="perm_create" eval="False"/>
            <field name="perm_delete" eval="False"/>
        </record>

<!-- Wizard Load Results Manually -->

        <record model="ir.ui.view" id="lims_notebook_load_results_manual_start_view_form">
            <field name="model">lims.notebook.load_results_manual.start</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_manual_start_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_manual_empty_view_form">
            <field name="model">lims.notebook.load_results_manual.empty</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_manual_empty_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_manual_result_view_form">
            <field name="model">lims.notebook.load_results_manual.result</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_manual_result_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_manual_result_line_view_list">
            <field name="model">lims.notebook.load_results_manual.line</field>
            <field name="type">tree</field>
            <field name="name">notebook_load_results_manual_result_line_list</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_manual_result_line_view_form">
            <field name="model">lims.notebook.load_results_manual.line</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_manual_result_line_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_manual_sit1_view_form">
            <field name="model">lims.notebook.load_results_manual.sit1</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_manual_sit1_form</field>
        </record>
        <record model="ir.ui.view" id="lims_notebook_load_results_manual_sit2_view_form">
            <field name="model">lims.notebook.load_results_manual.sit2</field>
            <field name="type">form</field>
            <field name="name">notebook_load_results_manual_sit2_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_load_results_manual">
            <field name="name">Load Results Manually</field>
            <field name="wiz_name">lims.notebook.load_results_manual</field>
        </record>

        <record model="ir.model.field.access" id="access_load_results_manual_result_lines">
            <field name="field"
                search="[('name', '=', 'lines'), ('model.model', '=', 'lims.notebook.load_results_manual.result')]"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="True"/>
            <field name="perm_create" eval="False"/>
            <field name="perm_delete" eval="False"/>
        </record>

<!-- Wizard Add Internal Relations -->

        <record model="ir.ui.view" id="lims_notebook_add_internal_relations_start_view_form">
            <field name="model">lims.notebook.add_internal_relations.start</field>
            <field name="type">form</field>
            <field name="name">notebook_add_internal_relations_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_add_internal_relations">
            <field name="name">Add Internal Relations</field>
            <field name="wiz_name">lims.notebook.add_internal_relations</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_add_internal_relations_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook,-1</field>
            <field name="action" ref="wiz_lims_notebook_add_internal_relations"/>
        </record>

<!-- Wizard Repeat Analysis -->

        <record model="ir.ui.view" id="lims_notebook_line_repeat_analysis_start_view_form">
            <field name="model">lims.notebook.line.repeat_analysis.start</field>
            <field name="type">form</field>
            <field name="name">notebook_line_repeat_analysis_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_line_repeat_analysis">
            <field name="name">Repeat Analysis</field>
            <field name="wiz_name">lims.notebook.line.repeat_analysis</field>
        </record>
        <record model="ir.action.keyword" id="lims_lims_notebook_line_repeat_analysis_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line,-1</field>
            <field name="action" ref="wiz_lims_notebook_line_repeat_analysis"/>
        </record>

<!-- Wizard Accept Lines -->

        <record model="ir.ui.view" id="lims_notebook_accept_lines_start_view_form">
            <field name="model">lims.notebook.accept_lines.start</field>
            <field name="type">form</field>
            <field name="name">notebook_accept_lines_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_accept_lines">
            <field name="name">Accept Lines</field>
            <field name="wiz_name">lims.notebook.accept_lines</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_accept_lines_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook,-1</field>
            <field name="action" ref="wiz_lims_notebook_accept_lines"/>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_line_accept_lines">
            <field name="name">Accept Lines</field>
            <field name="wiz_name">lims.notebook_line.accept_lines</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_line_accept_lines_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line,-1</field>
            <field name="action" ref="wiz_lims_notebook_line_accept_lines"/>
        </record>

<!-- Wizard Unaccept Lines -->

        <record model="ir.action.wizard" id="wiz_lims_notebook_line_unaccept_lines">
            <field name="name">Unaccept Lines</field>
            <field name="wiz_name">lims.notebook_line.unaccept_lines</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_line_unaccept_lines_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line,-1</field>
            <field name="action" ref="wiz_lims_notebook_line_unaccept_lines"/>
        </record>

<!-- Wizard Results Verification -->

        <record model="ir.ui.view" id="lims_notebook_results_verification_view_form">
            <field name="model">lims.notebook.results_verification.start</field>
            <field name="type">form</field>
            <field name="name">notebook_results_verification_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_results_verification">
            <field name="name">Results Verification</field>
            <field name="wiz_name">lims.notebook.results_verification</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_results_verification_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook,-1</field>
            <field name="action" ref="wiz_lims_notebook_results_verification"/>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_line_results_verification">
            <field name="name">Results Verification</field>
            <field name="wiz_name">lims.notebook_line.results_verification</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_line_results_verification_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line,-1</field>
            <field name="action" ref="wiz_lims_notebook_line_results_verification"/>
        </record>

<!-- Wizard Uncertainty Calculation -->

        <record model="ir.ui.view" id="lims_notebook_uncertainty_calc_view_form">
            <field name="model">lims.notebook.uncertainty_calc.start</field>
            <field name="type">form</field>
            <field name="name">notebook_uncertainty_calc_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_uncertainty_calc">
            <field name="name">Uncertainty Calculation</field>
            <field name="wiz_name">lims.notebook.uncertainty_calc</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_uncertainty_calc_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook,-1</field>
            <field name="action" ref="wiz_lims_notebook_uncertainty_calc"/>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_line_uncertainty_calc">
            <field name="name">Uncertainty Calculation</field>
            <field name="wiz_name">lims.notebook_line.uncertainty_calc</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_line_uncertainty_calc_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line,-1</field>
            <field name="action" ref="wiz_lims_notebook_line_uncertainty_calc"/>
        </record>

<!-- Wizard Precision Control -->

        <record model="ir.ui.view" id="lims_notebook_precision_control_view_form">
            <field name="model">lims.notebook.precision_control.start</field>
            <field name="type">form</field>
            <field name="name">notebook_precision_control_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_precision_control">
            <field name="name">Precision Control</field>
            <field name="wiz_name">lims.notebook.precision_control</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_precision_control_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook,-1</field>
            <field name="action" ref="wiz_lims_notebook_precision_control"/>
        </record>

        <record model="ir.action.wizard" id="wiz_lims_notebook_line_precision_control">
            <field name="name">Precision Control</field>
            <field name="wiz_name">lims.notebook_line.precision_control</field>
        </record>
        <record model="ir.action.keyword" id="lims_notebook_line_precision_control_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line,-1</field>
            <field name="action" ref="wiz_lims_notebook_line_precision_control"/>
        </record>

<!-- Wizard Evaluate Rules -->

        <record model="ir.ui.view" id="notebook_evaluate_rules_start_view_form">
            <field name="model">lims.notebook.evaluate_rules.start</field>
            <field name="type">form</field>
            <field name="name">notebook_evaluate_rules_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_notebook_evaluate_rules">
            <field name="name">Evaluate Rules</field>
            <field name="wiz_name">lims.notebook.evaluate_rules</field>
        </record>
        <record model="ir.action.keyword" id="wiz_notebook_evaluate_rules_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook,-1</field>
            <field name="action" ref="wiz_notebook_evaluate_rules"/>
        </record>

        <record model="ir.action.wizard" id="wiz_notebook_line_evaluate_rules">
            <field name="name">Evaluate Rules</field>
            <field name="wiz_name">lims.notebook_line.evaluate_rules</field>
        </record>
        <record model="ir.action.keyword" id="wiz_notebook_line_evaluate_rules_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line,-1</field>
            <field name="action" ref="wiz_notebook_line_evaluate_rules"/>
        </record>

<!-- Change Estimated Days For Results -->

        <record model="ir.ui.view" id="change_results_estimated_waiting_start_view_form">
            <field name="model">lims.change_results_estimated_waiting.start</field>
            <field name="type">form</field>
            <field name="name">change_results_estimated_waiting_start_form</field>
        </record>

        <record model="ir.action.wizard" id="wiz_change_results_estimated_waiting">
            <field name="name">Change Estimated Days For Results</field>
            <field name="wiz_name">lims.change_results_estimated_waiting</field>
        </record>

        <record model="ir.action.keyword" id="change_results_estimated_waiting_keyword">
            <field name="keyword">form_action</field>
            <field name="model">lims.notebook.line.all_fields,-1</field>
            <field name="action" ref="wiz_change_results_estimated_waiting"/>
        </record>

<!-- Analysis Pending of Inform -->

        <record model="ir.ui.view" id="print_analysis_pending_inform_start_view_form">
            <field name="model">lims.print_analysis_pending_inform.start</field>
            <field name="type">form</field>
            <field name="name">analysis_pending_inform_start_form</field>
        </record>
        <record model="ir.action.wizard" id="wiz_print_analysis_pending_inform">
            <field name="name">Pending analysis Unchecked</field>
            <field name="wiz_name">lims.print_analysis_pending_inform</field>
        </record>
        <record model="ir.action.report" id="report_analysis_pending_inform">
            <field name="name">Pending analysis Unchecked</field>
            <field name="report_name">lims.analysis_pending_inform</field>
            <field name="report">lims/report/analysis_pending_inform.fods</field>
            <field name="extension">xls</field>
        </record>


<!-- Analysis Checked pending of inform -->

        <record model="ir.ui.view" id="print_analysis_checked_pending_inform_start_view_form">
            <field name="model">lims.print_analysis_checked_pending_inform.start</field>
            <field name="type">form</field>
            <field name="name">print_analysis_checked_pending_inform_start_view_form</field>
        </record>
        <record model="ir.action.wizard" id="wiz_print_analysis_checked_pending_inform">
            <field name="name">Analysis checked pending of inform</field>
            <field name="wiz_name">lims.print_analysis_checked_pending_inform</field>
        </record>
        <record model="ir.action.report" id="report_analysis_checked_pending_inform">
            <field name="name">Analysis checked pending of inform</field>
            <field name="report_name">lims.analysis_checked_pending_inform</field>
            <field name="report">lims/report/analysis_checked_pending_inform.fods</field>
            <field name="extension">xls</field>
        </record>

        <menuitem parent="lims_laboratory" action="act_lims_notebook_list"
            id="lims_notebook_menu" sequence="30"
            icon="lims-notebook"/>
        <menuitem parent="lims_notebook_menu" action="act_lims_notebook_line_all_fields_list"
            id="lims_notebook_line_all_menu" sequence="10"
            icon="lims-notebook_line_all_menu"/>
        <menuitem parent="lims_notebook_line_all_menu" action="wiz_print_analysis_pending_inform"
            id="menu_print_analysis_pending_inform" sequence="100"
            icon="tryton-print"/>
        <menuitem parent="lims_notebook_line_all_menu" action="wiz_print_analysis_checked_pending_inform"
            id="menu_print_analysis_checked_pending_inform" sequence="100"
            icon="tryton-print"/>

        <menuitem name="Results entry" parent="lims_laboratory"
            id="lims_laboratory_results" sequence="40"
            icon="lims-laboratory_results"/>
        <menuitem parent="lims_laboratory_results" action="wiz_lims_notebook_load_results_manual"
            id="lims_notebook_load_results_manual_menu" sequence="10"
            icon="lims-notebook_load_results_manual"/>
        <menuitem parent="lims_laboratory_results" action="wiz_lims_notebook_load_results_formula"
            id="lims_notebook_load_results_formula_menu" sequence="20"
            icon="lims-notebook_load_results_formula"/>

        <record model="ir.model.access" id="access_notebook_views">
            <field name="model" search="[('model', '=', 'lims.notebook.view')]"/>
            <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_notebook_views_group_conf_laboratory_admin">
            <field name="model" search="[('model', '=', 'lims.notebook.view')]"/>
            <field name="group" ref="group_lims_conf_laboratory_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>

        <record model="ir.model.access" id="access_notebook">
            <field name="model" search="[('model', '=', 'lims.notebook')]"/>
            <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_notebook_group_notebook">
            <field name="model" search="[('model', '=', 'lims.notebook')]"/>
            <field name="group" ref="group_lims_notebook"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="True"/>
            <field name="perm_create" eval="False"/>
            <field name="perm_delete" eval="False"/>
        </record>

        <record model="ir.model.access" id="access_notebook_line">
            <field name="model" search="[('model', '=', 'lims.notebook.line')]"/>
            <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_notebook_line_group_notebook">
            <field name="model" search="[('model', '=', 'lims.notebook.line')]"/>
            <field name="group" ref="group_lims_notebook"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="True"/>
            <field name="perm_create" eval="False"/>
            <field name="perm_delete" eval="False"/>
        </record>

        <record model="ir.model.field.access" id="access_notebook_line_accepted">
            <field name="field" search="[('name', '=', 'accepted'), ('model.model', '=', 'lims.notebook.line')]"/>
            <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.field.access" id="access_notebook_line_accepted_group_laboratory_results_acceptance">
            <field name="field" search="[('name', '=', 'accepted'), ('model.model', '=', 'lims.notebook.line')]"/>
            <field name="group" ref="group_lims_laboratory_results_acceptance"/>
            <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>

        <record model="ir.ui.menu-res.group" id="menu_laboratory_group_notebook_readonly">
            <field name="menu" ref="lims_laboratory"/>
            <field name="group" ref="group_lims_notebook_readonly"/>
        </record>
        <record model="ir.ui.menu-res.group" id="menu_laboratory_group_notebook">
            <field name="menu" ref="lims_laboratory"/>
            <field name="group" ref="group_lims_notebook"/>
        </record>

        <record model="ir.ui.menu-res.group" id="menu_notebook_group_notebook_readonly">
            <field name="menu" ref="lims_notebook_menu"/>
            <field name="group" ref="group_lims_notebook_readonly"/>
        </record>
        <record model="ir.ui.menu-res.group" id="menu_notebook_group_notebook">
            <field name="menu" ref="lims_notebook_menu"/>
            <field name="group" ref="group_lims_notebook"/>
        </record>

        <record model="ir.ui.menu-res.group" id="menu_notebook_line_all_group_notebook_readonly">
            <field name="menu" ref="lims_notebook_line_all_menu"/>
            <field name="group" ref="group_lims_notebook_readonly"/>
        </record>
        <record model="ir.ui.menu-res.group" id="menu_notebook_line_all_group_notebook">
            <field name="menu" ref="lims_notebook_line_all_menu"/>
            <field name="group" ref="group_lims_notebook"/>
        </record>

        <record model="ir.ui.menu-res.group" id="menu_laboratory_group_laboratory_results">
            <field name="menu" ref="lims_laboratory"/>
            <field name="group" ref="group_lims_laboratory_results"/>
        </record>

        <record model="ir.ui.menu-res.group" id="menu_laboratory_results_group_laboratory_results">
            <field name="menu" ref="lims_laboratory_results"/>
            <field name="group" ref="group_lims_laboratory_results"/>
        </record>

    </data>
</tryton>
