Skip to content

Commit 423427c

Browse files
committed
Cleanup commit -6
- changes in ir_ui_view.
1 parent 33d6a07 commit 423427c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+969
-3455
lines changed

condominium/__manifest__.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33
'version': '1.3',
44
'category': 'Services',
55
'depends': [
6-
'account_peppol',
76
'account_check_printing',
87
'account_followup',
8+
'account_peppol',
99
'accountant',
1010
'appointment_account_payment',
1111
'calendar',
1212
'contacts',
1313
'documents_product',
1414
'documents_project_sale',
1515
'documents_spreadsheet',
16-
'l10n_be_reports_post_wizard',
1716
'helpdesk_sale_timesheet',
1817
'hr',
1918
'knowledge',
19+
'l10n_be_reports_post_wizard',#need to remove
2020
'sale_subscription',
2121
'web_studio',
22-
],
22+
],
2323
'data': [
2424
'data/res_config_settings.xml',
2525
'data/ir_attachment_pre.xml',
@@ -53,16 +53,13 @@
5353
'data/knowledge_article_favorite.xml',
5454
'data/mail_message.xml',
5555
'data/x_buildings_tag.xml',
56-
'data/x_properties_types.xml',
57-
'data/x_properties_tag.xml',
58-
'data/x_meters.xml',
5956
'data/knowledge_tour.xml',
6057
'data/res_partner.xml',
6158
'data/res_company.xml',
59+
'data/x_meters.xml',
6260
'data/x_distribution_key.xml',
6361
'data/x_vote_criteria.xml',
6462
'data/x_calendar_event_line_a1bce.xml',
65-
'data/x_meters.xml',
6663
'data/x_meeting.xml',
6764
'data/x_properties_types.xml',
6865
'data/x_properties_tag.xml',

condominium/data/ir_actions_act_window.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@
133133
<field name="name">Ownership</field>
134134
<field name="res_model">x_ownership</field>
135135
</record>
136-
137-
138136
<record id="period_82f7a875-3f1d-4d53-a3fe-90d32b44cafa" model="ir.actions.act_window">
139137
<field name="help"><![CDATA[<p class="o_view_nocontent_smiling_face">
140138
This is your new action.

condominium/data/ir_actions_server.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ for line in records.x_line_ids:
2424
total_share += line.x_share
2525
2626
if round(total_share) != 100:
27-
raise UserError(total_share)
27+
raise UserError("Total share must be 100%. Current: %s" % total_share)
2828
2929
for line in records.x_line_ids:
3030
project_plan, other_plans = line.x_analytic_line_id.env['account.analytic.plan']._get_all_plans()
@@ -221,7 +221,6 @@ record['x_studio_attendee_vote_ids'] = env['x_calendar_event_line_a1bce_line_a3f
221221
<field name="binding_model_id" ref="calendar_event_line_c0871dc9-8843-41a1-8c07-bbfd5c053508"/>
222222
<field name="code"><![CDATA[for attendee_vote in record.x_studio_attendee_vote_ids: attendee_vote['x_studio_vote'] = "Against"
223223
224-
225224
]]> </field>
226225
<field name="model_id" ref="calendar_event_line_c0871dc9-8843-41a1-8c07-bbfd5c053508"/>
227226
<field name="state">code</field>
@@ -231,7 +230,6 @@ record['x_studio_attendee_vote_ids'] = env['x_calendar_event_line_a1bce_line_a3f
231230
<field name="binding_model_id" ref="calendar_event_line_c0871dc9-8843-41a1-8c07-bbfd5c053508"/>
232231
<field name="code"><![CDATA[for attendee_vote in record.x_studio_attendee_vote_ids: attendee_vote['x_studio_vote'] = "In Favor"
233232
234-
235233
]]> </field>
236234
<field name="model_id" ref="calendar_event_line_c0871dc9-8843-41a1-8c07-bbfd5c053508"/>
237235
<field name="state">code</field>
@@ -353,8 +351,6 @@ if server_action: server_action.run()]]></field>
353351
<field name="binding_model_id" ref="calendar_event_line_c0871dc9-8843-41a1-8c07-bbfd5c053508"/>
354352
<field name="code"><![CDATA[customer_id = record.x_calendar_event_id.x_studio_partner_id.id
355353
action = { 'type': 'ir.actions.act_window', 'name': 'Create Task', 'res_model': 'project.task', 'view_mode': 'form', 'view_type': 'form', 'target': 'new', 'context': { 'default_project_id': env['project.project'].search([('partner_id', '=', customer_id)]).id, 'default_name': record.x_name, 'default_user_ids': [env.user.id], 'default_partner_id': customer_id } }
356-
357-
358354
]]> </field>
359355
<field name="model_id" ref="calendar_event_line_c0871dc9-8843-41a1-8c07-bbfd5c053508"/>
360356
<field name="state">code</field>

condominium/data/ir_default.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,24 +53,24 @@
5353
<field name="json_value">"1"</field>
5454
</record>
5555
<record id="active_buildings_default" model="ir.default">
56-
<field name="field_id" ref="active_buildings"/>
57-
<field name="json_value">true</field>
56+
<field name="field_id" ref="active_buildings"/>
57+
<field name="json_value">true</field>
5858
</record>
5959
<record id="sequence_buildings_default" model="ir.default">
60-
<field name="field_id" ref="sequence_buildings"/>
61-
<field name="json_value">10</field>
60+
<field name="field_id" ref="sequence_buildings"/>
61+
<field name="json_value">10</field>
6262
</record>
6363
<record id="active_properties_type_default" model="ir.default">
64-
<field name="field_id" ref="active_properties_type"/>
65-
<field name="json_value">true</field>
64+
<field name="field_id" ref="active_properties_type"/>
65+
<field name="json_value">true</field>
6666
</record>
6767
<record id="sequence_properties_type_default" model="ir.default">
68-
<field name="field_id" ref="sequence_properties_types"/>
69-
<field name="json_value">10</field>
68+
<field name="field_id" ref="sequence_properties_types"/>
69+
<field name="json_value">10</field>
7070
</record>
7171
<record id="active_ratios_default" model="ir.default">
72-
<field name="field_id" ref="active_ratios_field"/>
73-
<field name="json_value">true</field>
72+
<field name="field_id" ref="active_ratios_field"/>
73+
<field name="json_value">true</field>
7474
</record>
7575

7676
<function model="ir.default" name="set" eval="('account.analytic.account', 'plan_id', obj().env.ref('condominium.condominium_analytic_plan_2').id)"/>

0 commit comments

Comments
 (0)