<tryton>
    <data>
        <!-- Group Configuration -->
        <!-- <record model="res.group" id="group_weight_report">
            <field name="name">Weight Report</field>
        </record>
        <record model="res.group" id="group_weight_report_admin">
            <field name="name">Weight Report Administration</field>
            <field name="parent" ref="group_weight_report"/>
        </record> -->
        
        <!-- Assign groups to admin user -->
        <!-- <record model="res.user-res.group" id="user_admin_group_weight_report">
            <field name="user" ref="res.user_admin"/>
            <field name="group" ref="group_weight_report"/>
        </record>
        <record model="res.user-res.group" id="user_admin_group_weight_report_admin">
            <field name="user" ref="res.user_admin"/>
            <field name="group" ref="group_weight_report_admin"/>
        </record>
         -->
        <!-- Icon -->
        <!-- <record model="ir.ui.icon" id="weight_report_icon">
            <field name="name">tryton-weight</field>
            <field name="path">icons/tryton-weight.svg</field>
        </record> -->
        
        <!-- Views -->
        <record model="ir.ui.view" id="view_weight_report_form">
            <field name="model">weight.report</field>
            <field name="type">form</field>
            <field name="name">weight_report_form</field>
        </record>
        
        <record model="ir.ui.view" id="view_weight_report_list">
            <field name="model">weight.report</field>
            <field name="type">tree</field>
            <field name="name">weight_report_list</field>
        </record>
        
        <!-- Actions -->
        <record model="ir.action.act_window" id="act_weight_report_form">
            <field name="name">Weight Reports</field>
            <field name="res_model">weight.report</field>
        </record>
        
        <record model="ir.action.act_window.view" id="act_weight_report_form_view1">
            <field name="sequence" eval="10"/>
            <field name="view" ref="view_weight_report_list"/>
            <field name="act_window" ref="act_weight_report_form"/>
        </record>
        
        <record model="ir.action.act_window.view" id="act_weight_report_form_view2">
            <field name="sequence" eval="20"/>
            <field name="view" ref="view_weight_report_form"/>
            <field name="act_window" ref="act_weight_report_form"/>
        </record>
        
        <!-- Action Domains -->
        <!-- <record model="ir.action.act_window.domain" id="act_weight_report_domain_all">
            <field name="name">All</field>
            <field name="sequence" eval="10"/>
            <field name="domain" eval="[]"/>
            <field name="act_window" ref="act_weight_report_form"/>
        </record>
        
        <record model="ir.action.act_window.domain" id="act_weight_report_domain_recent">
            <field name="name">Recent</field>
            <field name="sequence" eval="20"/>
            <field name="domain" eval="[('created_date', '&gt;=', '2025-01-01')]"/>
            <field name="act_window" ref="act_weight_report_form"/>
        </record> -->
        
        <!-- Import/Export Actions -->
        <!-- <record model="ir.action.wizard" id="act_import_json">
            <field name="name">Import from JSON</field>
            <field name="wiz_name">weight_report.import_json</field>
            <field name="keyword">import_json</field>
        </record>
        
        <record model="ir.action.wizard" id="act_export_json">
            <field name="name">Export to JSON</field>
            <field name="wiz_name">weight_report.export_json</field>
            <field name="keyword">export_json</field>
        </record>
         -->
        <!-- Access Rights -->
        <!-- <record model="ir.model.access" id="access_weight_report">
            <field name="model">weight.report</field>
            <field name="perm_read" eval="False"/>
            <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_weight_report_group">
            <field name="model">weight.report</field>
            <field name="group" ref="group_weight_report"/>
            <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> -->
        
        <!-- Model Buttons -->
        <!-- <record model="ir.model.button" id="weight_report_import_button">
            <field name="model">weight.report</field>
            <field name="name">import_json</field>
            <field name="string">Import JSON</field>
        </record>
        
        <record model="ir.model.button" id="weight_report_export_button">
            <field name="model">weight.report</field>
            <field name="name">export_json</field>
            <field name="string">Export JSON</field>
        </record> -->
        
        <!-- Menu Structure -->
        <menuitem
            name="Weight Reports"
            sequence="200"
            id="menu_weight"/>
            <!-- icon="tryton-weight"/> -->
            
        <menuitem
            name="Weight Reports"
            action="act_weight_report_form"
            parent="menu_weight"
            sequence="10"
            id="menu_weight_reports"/>
            
        <!-- <menuitem
            name="Reports"
            parent="purchase_trade.menu_global_reporting"
            action="act_weight_report_form"
            sequence="30"
            id="menu_gr_weight_reports"/> -->
    </data>
</tryton>