From ba9937876776fbf9da856fd6bcdf54ef4acb3031 Mon Sep 17 00:00:00 2001 From: mega Date: Tue, 17 Jun 2025 14:43:26 +0530 Subject: [PATCH 01/20] Cleanup commit -1 - dumy commit . --- condominium/__manifest__.py | 34 +- condominium/data/base_automation.xml | 36 +- condominium/data/documents_folder.xml | 16 + condominium/data/ir_actions_act_window.xml | 352 +- .../data/ir_actions_act_window_view.xml | 28 + condominium/data/ir_actions_report.xml | 17 + condominium/data/ir_actions_server.xml | 427 ++- condominium/data/ir_default.xml | 96 +- condominium/data/ir_model.xml | 368 +- condominium/data/ir_model_access.xml | 597 ++- condominium/data/ir_model_fields.xml | 2427 ++++++++++--- condominium/data/ir_rule.xml | 5 + condominium/data/ir_ui_menu.xml | 289 +- condominium/data/ir_ui_view.xml | 3201 ++++++++++++++++- condominium/data/knowledge_article.xml | 280 +- condominium/data/meter_view.xml | 4 +- condominium/data/product_product.xml | 43 +- condominium/data/project_project.xml | 8 + condominium/data/project_task_type.xml | 31 +- condominium/data/res_company.xml | 15 + condominium/data/res_config_settings.xml | 5 + condominium/data/res_partner.xml | 211 ++ condominium/data/sale_order_template_line.xml | 134 +- condominium/data/sale_subscription_plan.xml | 8 + .../data/sale_subscription_pricing.xml | 18 + condominium/data/x_buildings.xml | 66 + .../data/x_calendar_event_line_a1bce.xml | 123 + ...x_calendar_event_line_a1bce_line_a3f04.xml | 949 +++++ condominium/data/x_distribution_key.xml | 39 + condominium/data/x_meeting.xml | 7 + condominium/data/x_meter_reading.xml | 141 + condominium/data/x_period.xml | 15 + condominium/data/x_property.xml | 132 + condominium/data/x_property_line_019a4.xml | 73 + condominium/data/x_property_line_07bf7.xml | 7 + condominium/data/x_property_line_bfb14.xml | 17 + condominium/data/x_ratios.xml | 628 ++++ condominium/data/x_vote_criteria.xml | 18 + condominium/demo/account_analytic_account.xml | 110 +- condominium/demo/calendar_event.xml | 12 + condominium/demo/res_company.xml | 12 - condominium/demo/sale_order.xml | 109 +- condominium/demo/sale_order_line.xml | 314 +- condominium/demo/sale_order_post.xml | 2 +- condominium/demo/x_buildings.xml | 8 + ...x_calendar_event_line_a1bce_line_a3f04.xml | 949 +++++ condominium/static/src/js/my_tour.js | 1 - 47 files changed, 11133 insertions(+), 1249 deletions(-) create mode 100644 condominium/data/ir_actions_act_window_view.xml create mode 100644 condominium/data/ir_actions_report.xml create mode 100644 condominium/data/res_company.xml create mode 100644 condominium/data/res_partner.xml create mode 100644 condominium/data/sale_subscription_plan.xml create mode 100644 condominium/data/sale_subscription_pricing.xml create mode 100644 condominium/data/x_buildings.xml create mode 100644 condominium/data/x_calendar_event_line_a1bce.xml create mode 100644 condominium/data/x_calendar_event_line_a1bce_line_a3f04.xml create mode 100644 condominium/data/x_distribution_key.xml create mode 100644 condominium/data/x_meeting.xml create mode 100644 condominium/data/x_meter_reading.xml create mode 100644 condominium/data/x_period.xml create mode 100644 condominium/data/x_property.xml create mode 100644 condominium/data/x_property_line_019a4.xml create mode 100644 condominium/data/x_property_line_07bf7.xml create mode 100644 condominium/data/x_property_line_bfb14.xml create mode 100644 condominium/data/x_ratios.xml create mode 100644 condominium/data/x_vote_criteria.xml create mode 100644 condominium/demo/calendar_event.xml create mode 100644 condominium/demo/x_calendar_event_line_a1bce_line_a3f04.xml diff --git a/condominium/__manifest__.py b/condominium/__manifest__.py index 2e6bfbc97e..25f6bb70c5 100644 --- a/condominium/__manifest__.py +++ b/condominium/__manifest__.py @@ -3,6 +3,7 @@ 'version': '1.3', 'category': 'Services', 'depends': [ + 'account_peppol', 'account_check_printing', 'account_followup', 'accountant', @@ -22,13 +23,15 @@ 'data/ir_attachment_pre.xml', 'data/ir_model.xml', 'data/ir_model_fields.xml', - 'data/base_automation.xml', + 'data/ir_actions_report.xml', 'data/ir_actions_server.xml', + 'data/base_automation.xml', 'data/account_analytic_plan.xml', 'data/ir_filters.xml', 'data/ir_default.xml', 'data/meter_view.xml', 'data/ir_actions_act_window.xml', + 'data/ir_actions_act_window_view.xml', 'data/ir_ui_view.xml', 'data/ir_ui_menu.xml', 'data/ir_model_access.xml', @@ -38,6 +41,8 @@ 'data/project_project.xml', 'data/project_task.xml', 'data/product_product.xml', + 'data/sale_subscription_plan.xml', + 'data/sale_subscription_pricing.xml', 'data/sale_order_template.xml', 'data/sale_order_template_line.xml', 'data/knowledge_cover.xml', @@ -49,15 +54,32 @@ 'data/x_properties_tag.xml', 'data/x_meters.xml', 'data/knowledge_tour.xml', + 'data/res_partner.xml', + 'data/res_company.xml', + 'data/x_distribution_key.xml', + + 'data/x_vote_criteria.xml', + 'data/x_calendar_event_line_a1bce.xml', + 'data/x_meters.xml', + 'data/x_meeting.xml', + 'data/x_properties_types.xml', + 'data/x_properties_tag.xml', + 'data/x_buildings.xml', + 'data/x_property.xml', + 'data/x_property_line_019a4.xml', + 'demo/account_analytic_account.xml', + 'data/x_meter_reading.xml', + 'data/x_period.xml', + 'data/x_property_line_07bf7.xml', + 'data/x_property_line_bfb14.xml', + 'data/x_ratios.xml' ], 'demo': [ - 'demo/res_partner.xml', - 'demo/res_company.xml', - 'demo/x_buildings.xml', - 'demo/account_analytic_account.xml', + 'demo/x_calendar_event_line_a1bce_line_a3f04.xml', + 'demo/calendar_event.xml', 'demo/sale_order.xml', 'demo/sale_order_line.xml', - 'demo/sale_order_post.xml', + # 'demo/sale_order_post.xml', 'demo/helpdesk_team.xml', 'demo/helpdesk_ticket.xml', ], diff --git a/condominium/data/base_automation.xml b/condominium/data/base_automation.xml index 770c06d8e9..3df71098bc 100644 --- a/condominium/data/base_automation.xml +++ b/condominium/data/base_automation.xml @@ -1,9 +1,43 @@ - Set Usage in Meter Readings + Industry: Set Usage in Meter Readings on_create_or_write + + + + on_create_or_write + Industry: On owners edit + + + + + on_unlink + Industry: On property deletion + + + + + on_create_or_write + [("id", "!=", False)] + [("id", "=", False)] + Industry: On Vote Edit + + + + + on_change + Industry: On Distribution input update + + + + + + on_create_or_write + Industry: On Distribution input save + + diff --git a/condominium/data/documents_folder.xml b/condominium/data/documents_folder.xml index 5a007dea9d..b338215d68 100644 --- a/condominium/data/documents_folder.xml +++ b/condominium/data/documents_folder.xml @@ -10,4 +10,20 @@ folder + + S00002 - Kick-Off Template + folder + + view + view + + + + Internal + folder + Y9AlV4aaRry8vrqEeZ70mQ + view + edit + + diff --git a/condominium/data/ir_actions_act_window.xml b/condominium/data/ir_actions_act_window.xml index 26bf1b32a8..e738b1ec28 100644 --- a/condominium/data/ir_actions_act_window.xml +++ b/condominium/data/ir_actions_act_window.xml @@ -59,6 +59,12 @@ form {'create': False} + + Split + x_analytic_account_wizard + form + new + {'search_default_x_condominium': active_id,'default_x_condominium': active_id} [('x_condominium', '=', active_id), ('x_is_a_property','=', True)] @@ -74,7 +80,7 @@ x_meters @@ -111,4 +117,348 @@ product.pricelist list,kanban,form + + + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Ownership + x_ownership +
+ + + + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Period + x_period +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Property + x_property + kanban,list,form +
+ + {'search_default_x_studio_current_owner': active_id,'default_x_studio_current_owner': active_id} + [('x_studio_current_owner', '=', active_id)] + Properties + x_property + + + {'search_default_x_studio_condominium': active_id,'default_x_studio_condominium': active_id} + [('x_studio_condominium', '=', active_id)] + Properties + x_property + + + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Meeting + x_meeting +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Vote + x_vote +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Meetings + x_meeting + form +
+ + [('x_companies', 'in', allowed_company_ids)] + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Meetings + calendar.event + list,form,calendar,gantt,pivot,graph +
+ + [('x_studio_condominium','in', allowed_company_ids)] + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Meetings + calendar.event + list,form,calendar,gantt,pivot,graph +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Motion Criteria + x_vote_criteria +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Meter Readings + x_meter_reading +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Period + x_period + list,form,calendar +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Meters + x_meters +
+ + [('move_type', '!=', 'out_invoice')] + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Invoices + account.move +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Invoices + account.move +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Distribution Key + x_distribution_key +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Distribution Key + x_distribution_key +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ ratios + x_ratios +
+ + [('x_company_id', 'in', allowed_company_ids)] + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Buildings (new) + account.analytic.plan + kanban,list,form +
+ + [('x_company_id', 'in', allowed_company_ids),('parent_id', '!=', False)] + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Properties (new) + account.analytic.plan + kanban,list,form +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Units + account.analytic.plan + kanban,list,form +
+ + + This is your new action. +

+

By default, it contains a list and a form view and possibly + other view types depending on the options you chose for your model. +

+

+ You can start customizing these screens by clicking on the Studio icon on the + top right corner (you can also customize this help message there). +

+ ]]>
+ Breakdown of Charges + account.analytic.line + pivot,list,form,grid +
diff --git a/condominium/data/ir_actions_act_window_view.xml b/condominium/data/ir_actions_act_window_view.xml new file mode 100644 index 0000000000..8617d7b28f --- /dev/null +++ b/condominium/data/ir_actions_act_window_view.xml @@ -0,0 +1,28 @@ + + + + + list + + + + activity + + + + + list + + + + pivot + + + + graph + + + + kanban + + diff --git a/condominium/data/ir_actions_report.xml b/condominium/data/ir_actions_report.xml new file mode 100644 index 0000000000..ba5c7ff0f9 --- /dev/null +++ b/condominium/data/ir_actions_report.xml @@ -0,0 +1,17 @@ + + + + + calendar.event + General Meeting Report + condominium.studio_report_docume_d1eb9c9c-5c91-47ca-9895-ba519a3d0517 + qweb-html + + + + calendar.event + General Meeting Agenda + condominium.studio_report_docume_f2caf209-068e-49ab-9a02-4cfe3e9625b2 + qweb-html + + diff --git a/condominium/data/ir_actions_server.xml b/condominium/data/ir_actions_server.xml index b992c84132..803a885092 100644 --- a/condominium/data/ir_actions_server.xml +++ b/condominium/data/ir_actions_server.xml @@ -1,86 +1,5 @@ - - Split per Owner - code - - - - - Compute Ratios - code - - - - - - Distribute Costs - - code - - Confirm code @@ -88,24 +7,128 @@ for aml in record.invoice_line_ids: +]]> - - Meter Reading - + + + Confirm code - - + + {analytic_name}" + note_details[line.x_analytic_line_id.id].add(note_line) + else: + analytic_url = f"/odoo/analytic-items/{new_analytic_item_id.id}" + note_line = {f"- {line.x_share:.2f}% on {analytic_name}"} + note_details.update({line.x_analytic_line_id.id: set(note_line)}) + +for cell, new_analytic_lines in occupied_cells.items(): + for new_analytic_line in list(new_analytic_lines): + for Aid, values in note_details.items(): + if cell == Aid: + note_html = f""" + {datetime.date.today().strftime("%d %B %Y")}
+

Analytic item coming from a split
+ {'
'.join(list(values))}
+ See original analytic item: +

+ """ + new_analytic_line.write({"x_notes": note_html.strip()}) + +for Aid, values in note_details.items(): + raise UserError(values) + note_html = f""" + {datetime.date.today().strftime("%d %B %Y")}
+

Analytic item splited
+ {'
'.join(list(values))}
+

+ """ + new_analytic_item.browse(Aid).write({"x_notes": note_html.strip()}) + + +# for Aid, values in occupied_cells.items(): +# raise UserError(values) +# for value in values: +# raise UserError(value) + +# note_html = f""" +# {datetime.date}
+#

Analytic item coming from a split
+# {'
'.join(note_lines)}
+# See original analytic item: +#

+# """ + +# new_analytic_item.write({"x_notes": note_html.strip()})]]> +
+
+ + + Split + + + list,kanban + code + + Open company partner form view @@ -135,5 +158,219 @@ action = {'type': 'ir.actions.client', 'tag': 'reload'}]]> code Create Condominium - +
+ + + + code + Split SO per Owner + + + + + code + Compute Meter Reading Consumption + + + + + code + Update Property Current Owner + base_automation + + + + + code + Archive related accounts + base_automation + + + + + + code + Populate Voters + base_automation + + + + + + code + Set Votes as All Against + + + + + + code + Set Votes as All In Favor + + + + + mail_post + Send General Meeting Report + + + + + mail_post + Send General Meeting Agenda + + + + = 2: + mrstart = findClosestMeterReading(record.x_studio_period_start, property.x_studio_meter_reading_ids) + mrend = findClosestMeterReading(record.x_studio_period_end, property.x_studio_meter_reading_ids) + for owner in property.x_studio_owner_ids: + mrostart = findClosestMeterReading(owner.x_studio_start_date, property.x_studio_meter_reading_ids) + mroend = findClosestMeterReading(owner.x_studio_end_date, property.x_studio_meter_reading_ids) + if mrostart and mrostart.x_date < mrstart.x_date: mrostart = mrstart + if mroend and mrend.x_date < mroend.x_date: mroend = mrend + if mrostart and mroend and not (mrend.x_date < mrostart.x_date or mroend.x_date < mroend.x_date): + analytic_distribution[owner.x_studio_account.id] = abs(mroend.x_quantity - mrostart.x_quantity) + + #else: + #raise UserError("Period Start and Period End are required to distribute costs by meter.") + #for aml in record.invoice_line_ids: aml['analytic_distribution'] = {} + # Outcome + total_ratio = sum(analytic_distribution.values()) + if total_ratio: + for key in analytic_distribution: analytic_distribution[key] *= 100 / total_ratio + for aml in record.invoice_line_ids: aml['analytic_distribution'] = analytic_distribution + else: + for aml in record.invoice_line_ids: aml['analytic_distribution'] = {} + +]]> + + code + Distribute Costs + + + + + + code + Populate Distribution Key + + + + + + code + Compute Distribution Key Ratios + + + + + code + Call Distribute Costs on UI update + base_automation + + + + + code + Call Distribute Costs on save + base_automation + + + + + + code + Create Task from Motion +
diff --git a/condominium/data/ir_default.xml b/condominium/data/ir_default.xml index 11df1c7de0..aea61ed824 100644 --- a/condominium/data/ir_default.xml +++ b/condominium/data/ir_default.xml @@ -1,25 +1,77 @@ - - - - true - - - - 10 - - - - true - - - - 10 - - - - true - + + + + true + + + + true + + + + true + + + + true + + + + true + + + + 1 + + + + 4 + + + + 3 + + + + 2 + + + + 10 + + + + "Shares" + + + + "0" + + + + "1" + + + + true + + + + 10 + + + + true + + + + 10 + + + + true + - + diff --git a/condominium/data/ir_model.xml b/condominium/data/ir_model.xml index d81ec6893d..bcf5705d15 100644 --- a/condominium/data/ir_model.xml +++ b/condominium/data/ir_model.xml @@ -1,35 +1,339 @@ - - - - x_buildings - Buildings - - - x_buildings_tag - Buildings Tags - - - x_properties_tag - Properties Tags - - - - - x_properties_types - Properties Types - - - x_ratios - Ratios - - - x_meter_reading - Meter Reading - - - x_meters - Meters - + + + + + x_property + Property + + + + x_property_line_bfb14 + Property Line Meter Reading ids + + + + x_property_line_019a4 + Property Line Owner ids + + + + x_property_line_07bf7 + Property Line Tenant ids + + + + + + x_meeting + Meeting + + + + x_calendar_event_line_a7dc0 + calendar_event_line + + + + x_calendar_event_line_a1bce + Calendar Event Line Motion + + + + x_calendar_event_line_a1bce_line_a3f04 + Calendar Event Line Motion Line Vote + + + + x_calendar_event_line_920fe + calendar_event_line + + + + + + x_vote_criteria + Vote Criteria + + + + + + x_period + Period + + + + + + x_distribution_key + Distribution Key + + + + x_distribution_key_line_4d544 + distribution_key_line + + + + x_distribution_key_line_92aae + distribution_key_line + + + + x_calendar_event_line_a1bce_line_cce2e + calendar_event_line_a1bce_line + + + + x_calendar_event_line_a1bce_line_ea528 + calendar_event_line_a1bce_line + + + + x_calendar_event_line_a1bce_line_e3675 + calendar_event_line_a1bce_line + + + + x_calendar_event_line_a1bce_line_89b1c + calendar_event_line_a1bce_line + + + + + + x_ownership + Ownership + + + + + x_vote + Vote + + + + + + + x_buildings + Buildings + + + x_buildings_tag + Buildings Tags + + + x_properties_tag + Properties Tags + + + + + x_properties_types + Properties Types + + + x_ratios + Ratios + + + x_meter_reading + Meter Reading + + + x_meters + Meters + + + + x_analytic_account_wizard + Split Analytic Items + + + x_analytic_account_wizard_line + Split Wizard Line + diff --git a/condominium/data/ir_model_access.xml b/condominium/data/ir_model_access.xml index 261872b1e3..c2d15dcd08 100644 --- a/condominium/data/ir_model_access.xml +++ b/condominium/data/ir_model_access.xml @@ -1,137 +1,466 @@ - - - - Ratios group_system - - - - - - - - - Ratios group_user - - - - - - - - Buildings group_system - - - - - - - - - Buildings group_user - - - - - - - - - Buildings Tags group_system - - - - - - - - - Buildings Tags group_user - - - - - - - - - Properties group system - - - - - - - - - Properties group user - - - - - - - - - Properties Tags group_system - - - - - - - - - Properties Tags group_user - - - - - - - - - Properties Types group_system - - - - - - - - - Properties Types group_user - - - - - - - access_meter_reading_user - - - - - - - - - access_meter_reading_admin - - - - - - - - - access_meters_user - - - - - - - + + + + Property group_system + + + + + + + + + Property group_user + + + + + + + + property_line group_system + + + + + + + + + property_line group_user + + + + + + + + property_line group_system + + + + + + + + + property_line group_user + + + + + + + + property_line group_system + + + + + + + + + property_line group_user + + + + + + + + Meeting group_system + + + + + + + + + Meeting group_user + + + + + + + + calendar_event_line group_system + + + + + + + + + calendar_event_line group_user + + + + + + + + calendar_event_line group_system + + + + + + + + + calendar_event_line group_user + + + + + + + + calendar_event_line_a1bce_line group_system + + + + + + + + + calendar_event_line_a1bce_line group_user + + + + + + + + calendar_event_line group_system + + + + + + + + + calendar_event_line group_user + + + + + + + + Vote Criteria group_system + + + + + + + + + Vote Criteria group_user + + + + + + + + Period group_system + + + + + + + + + Period group_user + + + + + + + + Distribution Key group_system + + + + + + + + + Distribution Key group_user + + + + + + + + distribution_key_line group_system + + + + + + + + + distribution_key_line group_user + + + + + + + + distribution_key_line group_system + + + + + + + + + distribution_key_line group_user + + + + + + + + calendar_event_line_a1bce_line group_system + + + + + + + + + calendar_event_line_a1bce_line group_user + + + + + + + + calendar_event_line_a1bce_line group_system + + + + + + + + + calendar_event_line_a1bce_line group_user + + + + + + + + calendar_event_line_a1bce_line group_system + + + + + + + + + calendar_event_line_a1bce_line group_user + + + + + + + + calendar_event_line_a1bce_line group_system + + + + + + + + + calendar_event_line_a1bce_line group_user + + + + + + + + Ratios group_system + + + + + + + + + Ratios group_user + + + + + + + + Buildings group_system + + + + + + + + + Buildings group_user + + + + + + + + + Buildings Tags group_system + + + + + + + + + Buildings Tags group_user + + + + + + + + + Properties group system + + + + + + + + + Properties group user + + + + + + + + + Properties Tags group_system + + + + + + + + + Properties Tags group_user + + + + + + + + + Properties Types group_system + + + + + + + + + Properties Types group_user + + + + + + + access_meter_reading_user + + + + + + + + + access_meter_reading_admin + + + + + + + + + access_meters_user + + + + + + + + + + + x_analytic_account_wizard user access + + + + + + + + + + + x_analytic_account_wizard_line user access + + + + + + + + diff --git a/condominium/data/ir_model_fields.xml b/condominium/data/ir_model_fields.xml index 95362c4136..e2db1b65fa 100644 --- a/condominium/data/ir_model_fields.xml +++ b/condominium/data/ir_model_fields.xml @@ -1,577 +1,1876 @@ - - x_name - char - - Description - - - 1 - standard - - - x_active - boolean - - Active - - 1 - - - x_company_id - many2one - - Company - - res.company - 1 - - - x_notes - html - - Notes - - - - x_image - binary - - Image - - - - x_sequence - integer - - Sequence - - - - x_tag_ids - many2many - - Tags - - x_buildings_tag - x_buildings_tag_rel - - - x_name - char - - Name - - - - - x_color - integer - - Color - - - - x_tags - many2many - - Tags - - x_properties_tag - x_account_analytic_account_x_properties_tag_rel - - - x_name - char - - Name - - - - - x_color - integer - - Color - - - - x_condominium - many2one - x_company_id.partner_id - Condominium - - - res.partner - - - x_street - char - - Street - - - - x_street2 - char - - Street2 - - - - x_city - char - - City - - - - x_zip - char - - ZIP - - - - x_country - many2one - - Country - - res.country - - - x_state - many2one - - State - - res.country.state - - - x_condominium - many2one - company_id.partner_id - Condominium - - - res.partner - - - x_building - many2one - - Building - - x_buildings - - - - x_tenant - many2one - - Tenant - - res.partner - - - x_parent - many2one - - Parent - - account.analytic.account - - - x_floor - char - - Floor - - - - x_area - float - - Area - - - - x_name - char - - Description - - - 1 - standard - - - x_active - boolean - - Active - - 1 - - - x_sequence - integer - - Sequence - - - - x_type - many2one - - Type - - x_properties_types - - - x_parent_account_analytic_account_count - + x_name + char + + Description + + + 1 + + + + x_active + boolean + + Active + + 1 + + + x_company_id + many2one + + Company + + res.company + 1 + + + x_notes + html + + Notes + + + + x_image + binary + + Image + + + + x_sequence + integer + + Sequence + + + + x_tag_ids + many2many + + Tags + + x_buildings_tag + x_buildings_tag_rel + + + x_name + char + + Name + + + + + x_color + integer + + Color + + + + x_tags + many2many + + Tags + + x_properties_tag + x_account_analytic_account_x_properties_tag_rel + + + x_name + char + + Name + + + + + x_color + integer + + Color + + + + x_condominium + many2one + x_company_id.partner_id + Condominium + + + res.partner + + + x_street + char + + Street + + + + x_street2 + char + + Street2 + + + + x_city + char + + City + + + + x_zip + char + + ZIP + + + + x_country + many2one + + Country + + res.country + + + x_state + many2one + + State + + res.country.state + + + x_condominium + many2one + company_id.partner_id + Condominium + + + res.partner + + + x_building + many2one + + Building + + x_buildings + + + + x_tenant + many2one + + Tenant + + res.partner + + + x_parent + many2one + + Parent + + account.analytic.account + + + x_floor + char + + Floor + + + + x_area + float + + Area + + + + x_name + char + + Description + + + 1 + + + + x_active + boolean + + Active + + 1 + + + x_sequence + integer + + Sequence + + + + x_type + many2one + + Type + + x_properties_types + + + x_parent_account_analytic_account_count + - integer - Parent count - - - - - - x_x_building_account_analytic_account_count - + integer + Parent count + + + + + + x_x_building_account_analytic_account_count + - integer - Building count - - - - - - x_condominium_account_analytic_account_count - - integer - Building Condominium count - - - - - - x_properties_ids - one2many - Properties - - account.analytic.account - partner_id - - - x_companies - + integer + Building count + + + + + + x_condominium_account_analytic_account_count + + integer + Building Condominium count + + + + + + x_properties_ids + one2many + Properties + + account.analytic.account + partner_id + + + x_companies + - many2many - x_properties_ids,x_properties_ids.x_condominium - Partner's Companies - - - res.company - x_res_company_res_partner_rel - - - x_vendors - many2many - - Vendors - - res.partner - x_res_partner_res_partner_rel_1 - - - x_vendor_condominiums - many2many - - Vendors Condominiums - - res.partner - x_res_partner_res_partner_rel_1 - id2 - id1 - - - x_vendor_companies - + many2many + x_properties_ids,x_properties_ids.x_condominium + Partner's Companies + + + res.company + x_res_company_res_partner_rel + + + x_vendors + many2many + + Vendors + + res.partner + x_res_partner_res_partner_rel_1 + + + x_vendor_condominiums + many2many + + Vendors Condominiums + + res.partner + x_res_partner_res_partner_rel_1 + id2 + id1 + + + x_vendor_companies + - many2many - x_vendor_condominiums - Vendors Companies - - - res.company - x_res_company_res_partner_rel_1 - - - x_condominium_properties - one2many - Condominium Properties - - account.analytic.account - x_condominium - - - x_source_sales_order - - Source Sales Order - many2one - sale.order - - - x_x_source_sales_order_sale_order_count - - Source Sales Order count - - integer - - - - - x_is_a_property_plan - boolean - Property plan - - - - x_is_a_property - boolean - Is a property - - plan_id.x_is_a_property_plan - - - - x_company_partner_id - boolean - Company partner - - partner_id,company_id - + many2many + x_vendor_condominiums + Vendors Companies + + + res.company + x_res_company_res_partner_rel_1 + + + x_condominium_properties + one2many + Condominium Properties + + account.analytic.account + x_condominium + + + x_source_sales_order + + Source Sales Order + many2one + sale.order + + + x_x_source_sales_order_sale_order_count + + Source Sales Order count + + integer + + + + + x_is_a_property_plan + boolean + Property plan + + + + x_is_a_property + boolean + Is a property + + plan_id.x_is_a_property_plan + + + + x_company_partner_id + boolean + Company partner + + partner_id,company_id + - - - - - x_name - char - - Description - - standard - - - x_active - boolean - - Active - - - - x_company_id - many2one - - Company - - res.company - - - x_sequence - integer - - Sequence - - - - x_property - many2one - - Property - - account.analytic.account - - - x_pricelist - many2one - - Pricelist - - product.pricelist - - - float - - Ratio - - x_ratio - - - x_area - float - x_property.x_area - Area - - - - - - x_building - many2one - x_property.x_building - Building - - - x_buildings - - - - x_type - many2one - x_property.x_type - Type - - - x_properties_types - - - - x_floor - char - x_property.x_floor - Floor - - - - - - x_owner - many2one - x_property.partner_id - Owner - - - res.partner - - - - x_ratios - one2many - Ratios - - x_ratios - x_pricelist - - - x_distribution_key - many2one - - Distribution Key - - product.pricelist - - - x_meter_id - Meter - - many2one - x_meters - - - x_date - Date - - date - - - - x_quantity - Quantity - - float - - - x_usage - Usage - - float - - - - x_description - Description - - char - - - x_image - Attachment - binary - - - - x_account_analytic_account_id - Property - - account.analytic.account - many2one - - - x_property_meter_reading_ids - Meter Readings - - one2many - x_meter_reading - x_account_analytic_account_id - - - x_name - Description - - char - - - x_currency_id - Currency - - res.currency - many2one - - - x_price - Price - - monetary - - - x_sequence - Sequence - - integer - +]]>
+ + + + + x_name + char + + Description + + + + + x_active + boolean + + Active + + + + x_company_id + many2one + + Company + + res.company + + + x_sequence + integer + + Sequence + + + + + x_property + many2one + + Property + + account.analytic.account + + + x_pricelist + many2one + + Pricelist + + product.pricelist + + + float + + Ratio + + x_ratio + + + x_area + float + x_property.x_area + Area + + + + + + x_building + many2one + x_property.x_building + Building + + + x_buildings + + + + x_type + many2one + x_property.x_type + Type + + + x_properties_types + + + + x_floor + char + x_property.x_floor + Floor + + + + + + x_owner + many2one + x_property.partner_id + Owner + + + res.partner + + + + x_ratios + one2many + Ratios + + x_ratios + x_pricelist + + + x_distribution_key + many2one + + Distribution Key + + product.pricelist + + + x_meter_id + Meter + + many2one + x_meters + + + x_date + Date + + date + + + + x_quantity + Quantity + + float + + + x_usage + Usage + + float + + + + x_description + Description + + char + + + x_image + Attachment + binary + + + + x_account_analytic_account_id + Property + + account.analytic.account + many2one + + + x_property_meter_reading_ids + Meter Readings + + one2many + x_meter_reading + x_account_analytic_account_id + + + x_name + Description + + char + + + x_currency_id + Currency + + res.currency + many2one + + + x_price + Price + + monetary + + + x_sequence + Sequence + + integer + + + many2one + + Current Owner + + x_studio_current_owner + res.partner + + + char + + Description + + x_name + + 1 + + + + boolean + + Active + + x_active + 1 + + + integer + + Sequence + + x_studio_sequence + + + many2one + + Building + + + x_studio_building + x_buildings + + + many2one + + Type + + x_studio_type + x_properties_types + + + char + + Floor + + x_studio_floor + + + float + + Area + + x_studio_area + + + many2one + + Parent + + x_studio_parent + x_property + + + integer + + Sequence + + x_studio_sequence + + + char + + Description + + x_name + + + + + many2one + + X Property + + x_property_id + x_property + + + many2one + + Meter + + x_studio_meter + x_meters + + + date + + Date + + x_studio_date + + + float + + Quantity + + x_studio_quantity + + + float + + Consumption + + x_studio_consumption + + + integer + + Sequence + + x_studio_sequence + + + char + + Description + + x_name + + + + many2one + + X Property + + x_property_id + x_property + + + one2many + Owner ids + + x_studio_owner_ids + x_property_line_019a4 + x_property_id + + + integer + + Sequence + + x_studio_sequence + + + char + + Description + + x_name + + + + many2one + + X Property + + x_property_id + x_property + + + one2many + Tenant ids + + x_studio_tenant_ids + x_property_line_07bf7 + x_property_id + + + date + + Start Date + + x_studio_start_date + + + date + + End Date + + x_studio_end_date + + + many2one + + Tenant + + x_studio_tenant + res.partner + + + date + + Start Date + + x_studio_start_date + + + date + + End Date + + x_studio_end_date + + + many2one + + Owner + + x_studio_owner + res.partner + + + many2one + + Owner + + x_studio_owner + res.partner + + + many2one + + Property + + x_studio_property + x_property + + + many2one + + Account + + x_studio_account + account.analytic.account + + + many2one + + Owner line + + x_studio_owner_line + x_property_line_019a4 + + + date + x_studio_owner_line.x_studio_start_date + Start Date + + x_studio_start_date + + + + + date + x_studio_owner_line.x_studio_end_date + End Date + + x_studio_end_date + + + + + + many2one + x_studio_property, x_owner + Account + + x_studio_account + + account.analytic.account + + + + + one2many + Meter Reading ids + + x_studio_meter_reading_ids + x_meter_reading + x_studio_property + + + many2many + + Tags + + x_studio_tags + x_properties_tag + x_x_properties_tag_x_property_rel + + + + integer + Current Owner count + + x_x_studio_current_owner_x_property_count + + + + + many2one + + Company + + x_studio_company_id + res.company + + + many2one + x_studio_company_id.partner_id + Condominium + + x_studio_condominium + + res.partner + + + one2many + Account ids + + x_studio_account_ids + account.analytic.account + x_studio_property + + + + integer + Condominium count + + x_x_studio_condominium_x_property_count + + + + + char + + Description + + x_name + + 1 + + + + boolean + + Active + + x_active + 1 + + + integer + + Sequence + + x_studio_sequence + + + many2one + + Condominium + + x_studio_condominium + res.company + + + one2many + x_properties_ids + Properties (old) + + x_studio_properties + + account.analytic.account + partner_id + + + + integer + + Sequence + + x_studio_sequence + + + char + + Description + + x_name + + + + + many2one + + X Calendar Event + + x_calendar_event_id + calendar.event + + + integer + + Sequence + + x_studio_sequence + + + char + + Motion + + x_name + + + + + many2one + + X Calendar Event + + x_calendar_event_id + calendar.event + + + one2many + Motions + + x_studio_vote_ids + x_calendar_event_line_a1bce + x_calendar_event_id + + + integer + + Sequence + + x_studio_sequence + + + char + + Description + + x_name + + + + many2one + + X Calendar Event Line A1Bce + + x_calendar_event_line_a1bce_id + x_calendar_event_line_a1bce + + + one2many + Attendee Vote ids + + x_studio_attendee_vote_ids + x_calendar_event_line_a1bce_line_a3f04 + x_calendar_event_line_a1bce_id + + + many2one + + Attendee + + x_studio_attendee + res.partner + + + selection + + Vote + + x_studio_vote + [('Abstention', 'Abstention'), ('Against', 'Against'), ('In Favor', 'In Favor')] + + + integer + + Sequence + + x_studio_sequence + + + char + + Description + + x_name + + + + + many2one + + X Calendar Event + + x_calendar_event_id + calendar.event + + + many2one + + Voting key + + x_studio_voting_key + x_distribution_key + + + + float + event_id.x_studio_voting_key + Ratio + + x_studio_ratio + + + + + + one2many + partner_id.x_properties_ids + Properties + + x_studio_properties + + account.analytic.account + partner_id + + + + boolean + + Attending + + x_studio_attending + + + many2one + event_id.x_studio_condominium + Condominium + + x_studio_condominium + + res.company + + + + + boolean + + Delegating + + x_studio_delegating + + + x_distribution_key + many2one + + Distribution Key + x_distribution_key + + + + one2many + Ratio ids + + x_studio_ratio_ids + x_ratios + x_distribution_key + + + + 0 and record.x_studio_voting_key != False and record.x_studio_condominium != False : + x_studio_attending_ratio = 0 + for attendee in record.attendee_ids: + if attendee.x_studio_attending or attendee.x_studio_delegating: x_studio_attending_ratio += attendee.x_studio_ratio + total_ratio = sum( + ratio.x_ratio for ratio in record.x_studio_voting_key.x_studio_ratio_ids + ) + if total_ratio > 0: + record['x_studio_attending_ratio'] = x_studio_attending_ratio / total_ratio + else: + record['x_studio_attending_ratio'] = False]]> + + float + attendee_ids, x_studio_voting_key + Attending and Delegating Ratio + + x_studio_attending_ratio + + + + html + + Notes + + x_studio_notes + + + char + + Description + + x_name + + 1 + + + + boolean + + Active + + x_active + 1 + + + integer + + Sequence + + x_studio_sequence + + + float + + Acceptation threshold + + x_studio_acceptation_threshold + + + many2one + + Motion Criteria + + x_studio_vote_criteria + x_vote_criteria + + + 0 and record.x_calendar_event_id.x_studio_voting_key != False: + x_studio_in_favor = 0 + for attendee_vote in record.x_studio_attendee_vote_ids: + for attendee in record.x_calendar_event_id.attendee_ids: + if attendee.partner_id.id == attendee_vote.x_studio_attendee.id and attendee_vote.x_studio_vote == 'In Favor': x_studio_in_favor += attendee.x_studio_ratio + record['x_studio_in_favor'] = x_studio_in_favor / sum([x_studio_ratio.x_ratio for x_studio_ratio in record.x_calendar_event_id.x_studio_voting_key.x_studio_ratio_ids]) / record.x_calendar_event_id.x_studio_attending_ratio + else: record['x_studio_in_favor'] = 0]]> + float + x_studio_attendee_vote_ids + In Favor + + x_studio_in_favor + + + + + + 0 and record.x_calendar_event_id.x_studio_voting_key != False: + x_studio_against = 0 + for attendee_vote in record.x_studio_attendee_vote_ids: + for attendee in record.x_calendar_event_id.attendee_ids: + if attendee.partner_id.id == attendee_vote.x_studio_attendee.id and attendee_vote.x_studio_vote == 'Against': x_studio_against += attendee.x_studio_ratio + record['x_studio_against'] = x_studio_against / sum([x_studio_ratio.x_ratio for x_studio_ratio in record.x_calendar_event_id.x_studio_voting_key.x_studio_ratio_ids]) / record.x_calendar_event_id.x_studio_attending_ratio + else: record['x_studio_against'] = 0]]> + float + x_studio_attendee_vote_ids + Against + + x_studio_against + + + + + + 0 and record.x_calendar_event_id.x_studio_voting_key != False: + x_studio_abstention = 0 + for attendee_vote in record.x_studio_attendee_vote_ids: + for attendee in record.x_calendar_event_id.attendee_ids: + if attendee.partner_id.id == attendee_vote.x_studio_attendee.id and attendee_vote.x_studio_vote == 'Abstention': x_studio_abstention += attendee.x_studio_ratio + record['x_studio_abstention'] = x_studio_abstention / sum([x_studio_ratio.x_ratio for x_studio_ratio in record.x_calendar_event_id.x_studio_voting_key.x_studio_ratio_ids]) / record.x_calendar_event_id.x_studio_attending_ratio + else: record['x_studio_abstention'] = 0]]> + float + x_studio_attendee_vote_ids + Abstention + + x_studio_abstention + + + + + + = record.x_studio_vote_criteria.x_studio_acceptation_threshold: record['x_studio_outcome'] = 'Approved' + else: record['x_studio_outcome'] = 'Rejected' + ]]> + selection + x_studio_in_favor, x_studio_against, x_studio_abstention, x_studio_vote_criteria + Outcome + + x_studio_outcome + + + [('Approved', 'Approved'), ('Rejected', 'Rejected')] + + + + + integer + attendee_ids + Attending and Delegating Owners + + x_studio_attending_owners + + + + boolean + + Used for categorization + + x_studio_used_for_categorization + + + many2one + + Allocation + + x_studio_analytic_category + account.report.line + + + many2one + move_id.x_studio_analytic_category + Analytic Category + + x_studio_analytic_category + + account.report.line + + + + many2one + move_line_id.x_studio_analytic_category + Analytic Category + + x_studio_analytic_category + + account.report.line + + + + char + + Name + + x_name + + 1 + + + + boolean + + Active + + x_active + 1 + + + date + + Date + + x_studio_date + + + integer + + Sequence + + x_studio_sequence + + + date + + Start Date + + x_studio_start_date + + + date + + End Date + + x_studio_end_date + + + many2one + + Meter + + x_studio_meter + x_meters + + + many2one + + Period + + x_studio_period + x_period + + + date + + Period Start + + x_studio_period_start + + + date + + Period End + + x_studio_period_end + + + char + + Description + + x_name + + 1 + + + + boolean + + Active + + x_active + 1 + + + many2one + + Company + + x_studio_company_id + res.company + 1 + + + integer + + Sequence + + x_studio_sequence + + + selection + + Based on + + x_studio_based_on + [('Shares', 'Shares'), ('Meter Readings', 'Meter Readings')] + + + many2one + + Meter + + x_studio_meter + x_meters + + + integer + + Sequence + + x_studio_sequence + + + char + + Description + + x_name + + + + + many2one + + X Distribution Key + + x_distribution_key_id + x_distribution_key + + + integer + + Sequence + + x_studio_sequence + + + char + + Description + + x_name + + + + + many2one + + X Distribution Key + + x_distribution_key_id + x_distribution_key + + + many2one + + Distribution Key + + x_studio_distribution_key + x_distribution_key + + + + boolean + invoice_line_ids, x_studio_distribution_key, x_studio_period_start, x_studio_period_end + Is distributed + + x_studio_is_distributed + + + + many2many + + Co-Owners + + x_studio_co_owners + res.partner + x_res_partner_x_property_line_019a4_rel + + + integer + + Year of Build + + x_studio_year_of_build_1 + + + selection + + Roof Type + + x_studio_roof_type_1 + [('Flat', 'Flat'), ('Angled', 'Angled')] + + + integer + + Floors + + x_studio_floors + + + boolean + + Elevators + + x_studio_elevators + + + selection + x_studio_distribution_key.x_studio_based_on + Based on + + x_studio_based_on + + [('Shares', 'Shares'), ('Meter Readings', 'Meter Readings')] + + + + many2one + + Company + + x_company_id + res.company + + + + boolean + parent_id + Is a unit + + x_studio_is_a_unit + + + + many2one + product_id.categ_id + Product Category + + x_studio_product_category + + product.category + + + + many2many + + Co-ownership Properties + + x_studio_co_ownership_properties + x_property + + + one2many + Ownership Properties + + x_studio_ownership_properties + x_property_line_019a4 + x_studio_owner + + + integer + + Sequence + + x_studio_sequence + + + char + + Description + + x_name + + + + + many2one + + X Calendar Event Line A1Bce + + x_calendar_event_line_a1bce_id + x_calendar_event_line_a1bce + + + integer + + Sequence + + x_studio_sequence + + + char + + Description + + x_name + + + + + many2one + + X Calendar Event Line A1Bce + + x_calendar_event_line_a1bce_id + x_calendar_event_line_a1bce + + + one2many + New Lines + + x_studio_one2many_field_8eh_1is91bfcb + x_calendar_event_line_a1bce_line_ea528 + x_calendar_event_line_a1bce_id + + + integer + + Sequence + + x_studio_sequence + + + char + + Description + + x_name + + + + + many2one + + X Calendar Event Line A1Bce + + x_calendar_event_line_a1bce_id + x_calendar_event_line_a1bce + + + integer + + Sequence + + x_studio_sequence + + + char + + Description + + x_name + + + + + many2one + + X Calendar Event Line A1Bce + + x_calendar_event_line_a1bce_id + x_calendar_event_line_a1bce + + + + + + x_analytic_account_wizard_id + many2one + Analytic account wizard + + x_analytic_account_wizard + + + + + x_analytic_line_id + many2one + Analytic Line + + account.analytic.line + + + x_analytic_account_name_id + many2one + account.analytic.account + Account name + x_analytic_line_id.x_plan11_id + + + + + x_currency_id + many2one + res.currency + + x_analytic_line_id.currency_id + True + + + + x_amount + monetary + Amount + + x_currency_id + True + + + + x_line_ids + one2many + x_analytic_account_wizard_line + x_analytic_account_wizard_id + Split Lines + + + + + x_share + + float + x_amount + Share + + + + + + + x_total + float + Total + + + + + x_notes + html + + Notes + + + +>>>>>>> 413a26e70 (Cleanup commit -1) diff --git a/condominium/data/ir_rule.xml b/condominium/data/ir_rule.xml index 08f387aaff..8ba9aec847 100644 --- a/condominium/data/ir_rule.xml +++ b/condominium/data/ir_rule.xml @@ -15,4 +15,9 @@ + + + + Distribution Key - Multi-Company + diff --git a/condominium/data/ir_ui_menu.xml b/condominium/data/ir_ui_menu.xml index 4842b7ec5b..d9d1d12955 100644 --- a/condominium/data/ir_ui_menu.xml +++ b/condominium/data/ir_ui_menu.xml @@ -1,10 +1,13 @@ + Condominium + + Infrastructure @@ -27,100 +30,272 @@ 1000 + + + + + Condominium + + 1 + Buildings 2 + Properties + 3 + + + + + Distribution Keys + + 4 + + + + + + Owners + 1 - - - Condominium - + + + Helpdesk + 3 - - - Distribution Keys - - 5 - - - - Buildings - + + + Documents + 4 - - - Tags - - 1 + + + Sales + + 5 + + + + + + + Meetings + + 6 + + + + + + Distribution and Allocation + + 1 + + + + Vendors + + 2 + + + + Employees + + 3 + + + Properties 1 + + + Type + + 1 + Tags 2 - - - Type - + + + Buildings + + 4 + + + + Tags + 1 + + + Costs + + 3 + - Meters - - - 3 + Meters + + + 3 - - - Vendors - - 1 + + + General Meetings + + 4 - - - Employees - - 2 + + + Motion Criteria + + 1 - - - Owners - - 1 + + + + + + + + + + + + + Ownership + + 6 - - - Helpdesk - - 2 + + + + Periods + + 1 - - - Documents - - 3 + + + + + Vote + + 41 - - - Sales - - 4 + + + + + Meter Readings + + 3 + + + + + Periods + + 2 + + + + Meters + + 1 + + + + + Invoices + + 1001 + + + + + ratios + + 1001 + + + + + Buildings (new) + + 2 + + + + + Properties (new) + + 3 + + + + + Units + + 3 + + + + + Breakdown of Charges + + 1 diff --git a/condominium/data/ir_ui_view.xml b/condominium/data/ir_ui_view.xml index 6f941ac83d..34dad87784 100644 --- a/condominium/data/ir_ui_view.xml +++ b/condominium/data/ir_ui_view.xml @@ -1,6 +1,96 @@ - + + + + + +
+

+ + + + +
+ + Security + +
+

+
+
+
+ web.basic_layout + basic_layout + + qweb +
+ + analytic.analytic.account.form customization + + primary + + account.analytic.account + 400 + form + + + e.g. Apartment A0 + + + + + + + + + + + Apartment... + + + + + + + + + x_is_a_property + Owner + + + + + + + + + True + + + 1 + base.group_no_one + True + + + + + + + + + + + + + + + + + + Custom form view for sale order sale.order @@ -135,72 +225,6 @@ - - analytic.analytic.account.form customization - - primary - - account.analytic.account - 400 - form - - - e.g. Apartment A0 - - - - - - - - - - - Apartment... - - - - - - - - - x_is_a_property - Owner - - - - - - - - - True - - - 1 - base.group_no_one - True - - - - - - - - - - - - - - - - - - account.analytic.account.quick_create account.analytic.account @@ -313,7 +337,7 @@ product.pricelist.form customization - + extension product.pricelist @@ -321,7 +345,7 @@ form - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + res.partner.select customization + + extension + res.partner + + 160 + search + + + + + + + + - - - + - - - + - - - + - +
@@ -588,9 +548,29 @@ form - + + +