|
6 | 6 | <field name="domain">[('x_source_sales_order', '=', active_id)]</field> |
7 | 7 | <field name="res_model">sale.order</field> |
8 | 8 | </record> |
9 | | - <record id="properties_menu_action" model="ir.actions.act_window"> |
| 9 | + <record id="buildings_act_window" model="ir.actions.act_window"> |
| 10 | + <field name="help"><![CDATA[ |
| 11 | +<p class="o_view_nocontent_smiling_face"> Create and manage the buildings that compose this condominium<br></p> |
| 12 | +]]></field> |
| 13 | + <field name="name">Buildings</field> |
| 14 | + <field name="res_model">x_buildings</field> |
| 15 | + <field name="view_mode">kanban,list,form,activity</field> |
| 16 | + </record> |
| 17 | + <record id="bu_act_window" model="ir.actions.act_window"> |
| 18 | + <field name="context">{'search_default_x_condominium': active_id,'default_x_condominium': active_id}</field> |
| 19 | + <field name="domain">[('x_condominium', '=', active_id)]</field> |
| 20 | + <field name="name">Buildings</field> |
| 21 | + <field name="res_model">x_buildings</field> |
| 22 | + </record> |
| 23 | + <record id="buildings_tags_act_window" model="ir.actions.act_window"> |
| 24 | + <field name="name">Buildings Tags</field> |
| 25 | + <field name="res_model">x_buildings_tag</field> |
| 26 | + </record> |
| 27 | + <record id="employees_act_window" model="ir.actions.act_window"> |
| 28 | + <field name="help"><![CDATA[ |
| 29 | +<p class="o_view_nocontent_smiling_face"> Manage the employees working for this condominium<br></p> |
| 30 | +]]></field> |
| 31 | + <field name="name">Employees</field> |
| 32 | + <field name="res_model">hr.employee</field> |
| 33 | + <field name="view_mode">kanban,list,form,pivot,graph,activity,hierarchy</field> |
| 34 | + </record> |
| 35 | + <record id="condominium_act_window" model="ir.actions.act_window"> |
| 36 | + <field name="name">Infrastructure</field> |
| 37 | + <field name="res_model">res.partner</field> |
| 38 | + <field name="view_mode">kanban,list,form,map,activity</field> |
| 39 | + </record> |
| 40 | + <record id="vendors_act_window" model="ir.actions.act_window"> |
| 41 | + <field name="domain">[('x_vendor_companies', 'in', allowed_company_ids)]</field> |
| 42 | + <field name="help"><![CDATA[<p class="o_view_nocontent_smiling_face"> Manage the vendors related to this condominium<br></p>]]></field> |
| 43 | + <field name="name">Vendors</field> |
| 44 | + <field name="res_model">res.partner</field> |
| 45 | + <field name="view_mode">kanban,list,form,map,activity</field> |
| 46 | + </record> |
| 47 | + <record id="owners_act_window" model="ir.actions.act_window"> |
| 48 | + <field name="domain">[('x_companies', 'in', allowed_company_ids)]</field> |
| 49 | + <field name="help"><![CDATA[ |
| 50 | +<p class="o_view_nocontent_smiling_face"> Manage the owners of this condominium<br></p> |
| 51 | +]]></field> |
| 52 | + <field name="name">Owners</field> |
| 53 | + <field name="res_model">res.partner</field> |
| 54 | + <field name="view_mode">kanban,list,form,map,activity</field> |
| 55 | + </record> |
| 56 | + <record id="condo_act_window" model="ir.actions.act_window"> |
| 57 | + <field name="domain">[('ref_company_ids', 'in', allowed_company_ids)]</field> |
| 58 | + <field name="help"><![CDATA[ |
| 59 | +<p class="o_view_nocontent_smiling_face"> Manage the condominium: buildings, properties, owners and much more!<br></p> |
| 60 | +]]></field> |
| 61 | + <field name="name">Condominium</field> |
| 62 | + <field name="res_model">res.partner</field> |
| 63 | + <field name="view_mode">kanban,list,form,map,activity</field> |
| 64 | + </record> |
| 65 | + <record id="property_types_act_window" model="ir.actions.act_window"> |
| 66 | + <field name="name">Properties Types</field> |
| 67 | + <field name="res_model">x_properties_types</field> |
| 68 | + </record> |
| 69 | + <record id="properties_tags_act_window" model="ir.actions.act_window"> |
| 70 | + <field name="name">Properties Tags</field> |
| 71 | + <field name="res_model">x_properties_tag</field> |
| 72 | + </record> |
| 73 | + <record id="props_act_window" model="ir.actions.act_window"> |
| 74 | + <field name="context">{'search_default_x_parent': active_id,'default_x_parent': active_id}</field> |
| 75 | + <field name="domain">[('x_parent', '=', active_id)]</field> |
| 76 | + <field name="name">Properties</field> |
| 77 | + <field name="res_model">x_properties</field> |
| 78 | + </record> |
| 79 | + <record id="props_build_act_window" model="ir.actions.act_window"> |
| 80 | + <field name="context">{'search_default_x_building': active_id,'default_x_building': active_id}</field> |
| 81 | + <field name="domain">[('x_building', '=', active_id)]</field> |
| 82 | + <field name="name">Properties</field> |
| 83 | + <field name="res_model">x_properties</field> |
| 84 | + </record> |
| 85 | + <record id="prop_condo_act_window" model="ir.actions.act_window"> |
| 86 | + <field name="context">{'search_default_x_condominium': active_id,'default_x_condominium': active_id}</field> |
| 87 | + <field name="domain">[('x_condominium', '=', active_id)]</field> |
| 88 | + <field name="name">Properties</field> |
| 89 | + <field name="res_model">x_properties</field> |
| 90 | + </record> |
| 91 | + <record id="prop_own_act_window" model="ir.actions.act_window"> |
| 92 | + <field name="context">{'search_default_x_owner': active_id,'default_x_owner': active_id}</field> |
| 93 | + <field name="domain">[('x_owner', '=', active_id)]</field> |
10 | 94 | <field name="name">Properties</field> |
11 | | - <field name="res_model">x_units</field> |
12 | | - <field name="view_mode">kanban,map,list,form,activity</field> |
| 95 | + <field name="res_model">x_properties</field> |
13 | 96 | </record> |
14 | | - <record id="properties_tags_menu_action" model="ir.actions.act_window"> |
15 | | - <field name="name">Units Tags</field> |
16 | | - <field name="res_model">x_units_tag</field> |
| 97 | + <record id="properties_act_window" model="ir.actions.act_window"> |
| 98 | + <field name="help"><![CDATA[ |
| 99 | +<p> Create and manage the properties that compose this condominium</p> |
| 100 | +]]></field> |
| 101 | + <field name="name">Properties</field> |
| 102 | + <field name="res_model">x_properties</field> |
| 103 | + <field name="view_mode">kanban,list,form,activity</field> |
17 | 104 | </record> |
18 | 105 | </odoo> |
0 commit comments