- Task list view (bemade_fsm) cleaned up - Add equipment to service to task list view (bemade_fsm) - Give base.group_user access to read client application details - Add migration script for fsm_equipment to refactor components into a hierarchy of equipment. - Add the notion of equipment hierarchy instead of components. partner_id field is only to be filled on the root equipment, to facilitate viewing client equipment lists without the clutter of all the subcomponents. - Add the notion of "inherited partner id" to show the root's partner_id on child equipment (components) form view. - Improve the interventions list on the equipment form view. Added a custom embedded tree view with limited fields, ordered by date. - Make the default search for equipment only search for root equipments (parent_id = False)
14 lines
No EOL
596 B
XML
14 lines
No EOL
596 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<record id="project_task_view_tree_equipment" model="ir.ui.view">
|
|
<field name="name">project.task.view.tree.equipment</field>
|
|
<field name="model">project.task</field>
|
|
<field name="inherit_id" ref="industry_fsm.project_task_view_list_fsm"/>
|
|
<field name="arch" type="xml">
|
|
<field name="partner_id" position="after">
|
|
<field name="equipment_ids" widget="many2many_tags"
|
|
string="Equipment" optional="show"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
</odoo> |