Includes: - Odoo 19 framework (odoo/) - 27 custom EnCoach addons (new_project/custom_addons/) - encoach_core, encoach_api, encoach_lms_api, encoach_adaptive_api - encoach_exam, encoach_taxonomy, encoach_adaptive, encoach_assignment - encoach_ai, encoach_ai_grading, encoach_ai_generation, encoach_ai_media - encoach_courseware, encoach_communication, encoach_subscription - encoach_notification, encoach_approval, encoach_branding - encoach_classroom, encoach_registration, encoach_stats - encoach_faq, encoach_ticket, encoach_training, encoach_resources - encoach_adaptive_ai, encoach_sis - 21 OpenEduCat Enterprise modules (new_project/enterprise-19/) - 14 OpenEduCat Community modules (new_project/openeducat_erp-19.0/) - Configuration: odoo.conf, requirements.txt, scripts - 200+ REST API endpoints with JWT authentication - SRS and test documentation Made-with: Cursor
25 lines
1.4 KiB
XML
25 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo noupdate="1">
|
|
<!--
|
|
Given that data are loaded before update of warehouses through the post_init_hook,
|
|
we manually create the 'Repairs' Operation Type in warehouse0 here such that it's available
|
|
when the initialization of data triggers the default method of the required field 'picking_type_id'.
|
|
-->
|
|
|
|
<record id="picking_type_warehouse0_repair" model="stock.picking.type" forcecreate="0">
|
|
<field name="name">Repairs</field>
|
|
<field name="code">repair_operation</field>
|
|
<field name="company_id" ref="base.main_company"/>
|
|
<field name="default_location_src_id" ref="stock.stock_location_stock"/>
|
|
<field name="default_location_dest_id" model="stock.location" search="[('usage', '=', 'production'), ('company_id', '=', obj().env.ref('base.main_company').id)]"/>
|
|
<field name="default_remove_location_dest_id" model="stock.location" search="[('usage', '=', 'inventory'), ('company_id', '=', obj().env.ref('base.main_company').id)]"/>
|
|
<field name="default_recycle_location_dest_id" ref="stock.stock_location_stock"/>
|
|
<field name="sequence_code">RO</field>
|
|
<field name="warehouse_id" ref="stock.warehouse0"/>
|
|
</record>
|
|
|
|
<record id='stock.warehouse0' model='stock.warehouse'>
|
|
<field name='repair_type_id' ref='repair.picking_type_warehouse0_repair'/>
|
|
</record>
|
|
</odoo>
|