Skip to content

Commit e2074f2

Browse files
committed
[IMP] condominium: cleanup16 remove test
1 parent f9e5e2e commit e2074f2

File tree

11 files changed

+21
-120
lines changed

11 files changed

+21
-120
lines changed

condominium/__manifest__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
'data/ir_attachment_pre.xml',
2626
'data/ir_model.xml',
2727
'data/ir_model_fields.xml',
28+
'data/report_paperformat.xml',
2829
'data/ir_actions_report.xml',
2930
'data/mail_template.xml',
3031
'data/ir_actions_server.xml',
@@ -99,7 +100,6 @@
99100
'license': 'OPL-1',
100101
'assets': {
101102
'web.assets_backend': [
102-
'condominium/static/src/js/acquisition.js',
103103
'condominium/static/src/js/my_tour.js',
104104
]
105105
},
@@ -108,7 +108,6 @@
108108
'data/ir_actions_server.xml',
109109
'data/qweb_view.xml',
110110
"data/knowledge_article.xml",
111-
"static/src/js/acquisition.js",
112111
"static/src/js/my_tour.js",
113112
],
114113
'images': ['images/main.png'],

condominium/data/ir_actions_report.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<field name="name">General Meeting Report</field>
77
<field name="report_name">condominium.studio_report_docume_d1eb9c9c-5c91-47ca-9895-ba519a3d0517</field>
88
<field name="report_type">qweb-html</field>
9+
<field name="paperformat_id" ref="paperformat_meeting_report"/>
910
</record>
1011
<record id="calendar_event_repor_b15c7922-86c5-44a3-a418-2dc0d20cd6e8" model="ir.actions.report">
1112
<field name="binding_model_id" ref="calendar.model_calendar_event"/>

condominium/data/ir_actions_server.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ record['x_studio_attendee_vote_ids'] = env['x_calendar_event_line_a1bce_line_a3f
266266
<field name="state">mail_post</field>
267267
<field name="name">Condominium: Send General Meeting Agenda</field>
268268
</record>
269-
<record id="distribute_costs" model="ir.actions.server">
269+
<!-- <record id="distribute_costs" model="ir.actions.server">
270270
<field name="binding_model_id" ref="account.model_account_move"/>
271271
<field name="code"><![CDATA[
272272
def findClosestMeterReading(date, meter_readings):
@@ -324,7 +324,7 @@ else:
324324
<field name="model_id" ref="account.model_account_move"/>
325325
<field name="state">code</field>
326326
<field name="name">Condominium: Distribute Costs</field>
327-
</record>
327+
</record> -->
328328
<record id="industry_populate_di_1bcb08fe-f6dc-4ea0-9ffc-d4607055470e" model="ir.actions.server">
329329
<field name="binding_model_id" ref="distribution_key_ebf70cee-4475-4921-a5f1-85e747bc5842"/>
330330
<field name="code"><![CDATA[for distribution_key in records:

condominium/data/ir_ui_view.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,10 +2006,7 @@
20062006
</xpath>
20072007
<!-- <xpath expr="//group[@name='studio_group_8lb_right']" position="replace"/> -->
20082008
<!-- this xpath come from 'account_peppol' -->
2009-
<xpath expr="//button[@name='action_cancel_peppol_documents']" position="after">
2010-
<button string="Distribute Costs" name="%(distribute_costs)d" type="action"/>
2011-
</xpath>
2012-
2009+
<!-- add here to add distribute_costs -->
20132010
<!-- Remove the x_distribution key from the invoices (no longer used since the x_studio_distribution_key is leveraged from the distribution tab) -->
20142011
<!-- <xpath expr="//field[@name='invoice_vendor_bill_id']" position="after">
20152012
<field name="x_distribution_key" options="{'no_create': true}" placeholder="Area as distribution key"/>

condominium/data/knowledge_tour.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,4 @@
55
<field name="sequence">2</field>
66
<field name="rainbow_man_message">Welcome! Happy exploring.</field>
77
</record>
8-
<record id="acquisition_tour" model="web_tour.tour">
9-
<field name="name">Condominium_Acquisition</field>
10-
<field name="sequence">3</field>
11-
<field name="rainbow_man_message">Congrats! You did your first sell.</field>
12-
</record>
138
</odoo>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<odoo>
3+
<record id="paperformat_meeting_report" model="report.paperformat">
4+
<field name="name">Meeting Report A4</field>
5+
<field name="format">A4</field>
6+
<field name="page_height">0</field>
7+
<field name="page_width">0</field>
8+
<field name="orientation">Portrait</field>
9+
<field name="margin_top">20</field>
10+
<field name="margin_bottom">20</field>
11+
<field name="margin_left">10</field>
12+
<field name="margin_right">10</field>
13+
<field name="header_line" eval="False"/>
14+
<field name="dpi">90</field>
15+
</record>
16+
</odoo>

condominium/static/src/js/acquisition.js

Lines changed: 0 additions & 86 deletions
This file was deleted.

tests/test_condominium/__init__.py

Whitespace-only changes.

tests/test_condominium/__manifest__.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/test_condominium/tests/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)