odoo10_addons

Check-in [fc597a82cd]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:se renombra anexo_al_balance a trial_balance_co
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | enterprise
Files: files | file ages | folders
SHA3-256: fc597a82cd1274fe76063bd1deabc46eb5528b8a8af424505b795b40c689ca31
User & Date: bit4bit 2019-02-20 21:57:18
Context
2019-02-21
02:20
trial_balance_co: se permite generar agrupado por account.code, usando los niveles de la contabilidad colombiana check-in: fd559f3ab9 user: bit4bit tags: enterprise
2019-02-20
21:57
se renombra anexo_al_balance a trial_balance_co check-in: fc597a82cd user: bit4bit tags: enterprise
21:44
correcion cuando ahi cuenta sin balance check-in: 27696fdefd user: bit4bit tags: enterprise
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Name change from anexo_al_balance/LICENSE to trial_balance_co/LICENSE.

Name change from anexo_al_balance/__init__.py to trial_balance_co/__init__.py.

Name change from anexo_al_balance/__manifest__.py to trial_balance_co/__manifest__.py.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- coding: utf-8 -*-
{
    'name': "anexo_al_balance",

    'summary': """
        Reporte Anexos Al Balance Por NIF
    """,

    'description': """
        Reporte Anexos Al Balance Por NIF
    """,

    'author': "Ceiba - Cier",
    'website': "https://efossils.somxslibres.net/fossil/user/bit4bit/repository/odoo10_addons",

    # Categories can be used to filter modules in modules listing
    # Check https://github.com/odoo/odoo/blob/master/odoo/addons/base/module/module_data.xml


|


|



|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- coding: utf-8 -*-
{
    'name': "trial_balance_co",

    'summary': """
       Balance de Comprobación para Colombia 
    """,

    'description': """
        Balance de Comprobación para Colombia
    """,

    'author': "Ceiba - Cier",
    'website': "https://efossils.somxslibres.net/fossil/user/bit4bit/repository/odoo10_addons",

    # Categories can be used to filter modules in modules listing
    # Check https://github.com/odoo/odoo/blob/master/odoo/addons/base/module/module_data.xml

Name change from anexo_al_balance/controllers/__init__.py to trial_balance_co/controllers/__init__.py.

Name change from anexo_al_balance/controllers/controllers.py to trial_balance_co/controllers/controllers.py.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- coding: utf-8 -*-
from odoo import http

# class AnexoAlBalance(http.Controller):
#     @http.route('/anexo_al_balance/anexo_al_balance/', auth='public')
#     def index(self, **kw):
#         return "Hello, world"

#     @http.route('/anexo_al_balance/anexo_al_balance/objects/', auth='public')
#     def list(self, **kw):
#         return http.request.render('anexo_al_balance.listing', {
#             'root': '/anexo_al_balance/anexo_al_balance',
#             'objects': http.request.env['anexo_al_balance.anexo_al_balance'].search([]),
#         })

#     @http.route('/anexo_al_balance/anexo_al_balance/objects/<model("anexo_al_balance.anexo_al_balance"):obj>/', auth='public')
#     def object(self, obj, **kw):
#         return http.request.render('anexo_al_balance.object', {
#             'object': obj
#         })




|



|

|
|
|


|

|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- coding: utf-8 -*-
from odoo import http

# class AnexoAlBalance(http.Controller):
#     @http.route('/trial_balance_co/trial_balance_co/', auth='public')
#     def index(self, **kw):
#         return "Hello, world"

#     @http.route('/trial_balance_co/trial_balance_co/objects/', auth='public')
#     def list(self, **kw):
#         return http.request.render('trial_balance_co.listing', {
#             'root': '/trial_balance_co/trial_balance_co',
#             'objects': http.request.env['trial_balance_co.trial_balance_co'].search([]),
#         })

#     @http.route('/trial_balance_co/trial_balance_co/objects/<model("trial_balance_co.trial_balance_co"):obj>/', auth='public')
#     def object(self, obj, **kw):
#         return http.request.render('trial_balance_co.object', {
#             'object': obj
#         })

Name change from anexo_al_balance/demo/demo.xml to trial_balance_co/demo/demo.xml.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<odoo>
    <data>
        <!--  -->
        <!--   <record id="object0" model="anexo_al_balance.anexo_al_balance"> -->
        <!--     <field name="name">Object 0</field> -->
        <!--     <field name="value">0</field> -->
        <!--   </record> -->
        <!--  -->
        <!--   <record id="object1" model="anexo_al_balance.anexo_al_balance"> -->
        <!--     <field name="name">Object 1</field> -->
        <!--     <field name="value">10</field> -->
        <!--   </record> -->
        <!--  -->
        <!--   <record id="object2" model="anexo_al_balance.anexo_al_balance"> -->
        <!--     <field name="name">Object 2</field> -->
        <!--     <field name="value">20</field> -->
        <!--   </record> -->
        <!--  -->
        <!--   <record id="object3" model="anexo_al_balance.anexo_al_balance"> -->
        <!--     <field name="name">Object 3</field> -->
        <!--     <field name="value">30</field> -->
        <!--   </record> -->
        <!--  -->
        <!--   <record id="object4" model="anexo_al_balance.anexo_al_balance"> -->
        <!--     <field name="name">Object 4</field> -->
        <!--     <field name="value">40</field> -->
        <!--   </record> -->
        <!--  -->
    </data>
</odoo>



|




|




|




|




|






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<odoo>
    <data>
        <!--  -->
        <!--   <record id="object0" model="trial_balance_co.trial_balance_co"> -->
        <!--     <field name="name">Object 0</field> -->
        <!--     <field name="value">0</field> -->
        <!--   </record> -->
        <!--  -->
        <!--   <record id="object1" model="trial_balance_co.trial_balance_co"> -->
        <!--     <field name="name">Object 1</field> -->
        <!--     <field name="value">10</field> -->
        <!--   </record> -->
        <!--  -->
        <!--   <record id="object2" model="trial_balance_co.trial_balance_co"> -->
        <!--     <field name="name">Object 2</field> -->
        <!--     <field name="value">20</field> -->
        <!--   </record> -->
        <!--  -->
        <!--   <record id="object3" model="trial_balance_co.trial_balance_co"> -->
        <!--     <field name="name">Object 3</field> -->
        <!--     <field name="value">30</field> -->
        <!--   </record> -->
        <!--  -->
        <!--   <record id="object4" model="trial_balance_co.trial_balance_co"> -->
        <!--     <field name="name">Object 4</field> -->
        <!--     <field name="value">40</field> -->
        <!--   </record> -->
        <!--  -->
    </data>
</odoo>

Name change from anexo_al_balance/i18n/es.po to trial_balance_co/i18n/es.po.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164





165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#	* anexo_al_balance
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-02-14 14:43+0000\n"
"PO-Revision-Date: 2019-02-14 14:43+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid ": Partner Trial Balance"
msgstr ": Anexo al Balance"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "<strong>Date from :</strong>"
msgstr "<strong>Fecha desde:</strong>"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "<strong>Date to :</strong>"
msgstr "<strong>Fecha hasta:</strong>"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "<strong>Display Account:</strong>"
msgstr "<strong>Ver cuenta:</strong>"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "<strong>Target Moves:</strong>"
msgstr "<strong>Movimientos señalados:</strong>"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "Account"
msgstr "Cuenta"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "All Entries"
msgstr "Todos los asientos"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "All Posted Entries"
msgstr "Todos los asientos validados"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "All accounts"
msgstr "Todas las cuentas"

#. module: anexo_al_balance
#: code:addons/anexo_al_balance/report/balance.py:102
#, python-format
msgid "Asociado en Elementos de diaro con id %s no ubicado en Asociados, indique un partner por defecto"
msgstr "Asociado en Elementos de diaro con id %s no ubicado en Asociados, indique un partner por defecto"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "Balance"
msgstr "Saldo pendiente"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "Balance Prev"
msgstr "Balance Prev"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "Code"
msgstr "Código"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_create_uid
msgid "Created by"
msgstr "Creado por"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_create_date
msgid "Created on"
msgstr "Creado el"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "Credit"
msgstr "Haber"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "Debit"
msgstr "Debe"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_default_unknown_partner
msgid "Default Unknown Partner"
msgstr "Tercero Por Defecto"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_display_name
#: model:ir.model.fields,field_description:anexo_al_balance.field_report_anexo_al_balance_report_partner_trial_balance_display_name
msgid "Display Name"
msgstr "Nombre a mostrar"

#. module: anexo_al_balance
#: code:addons/anexo_al_balance/report/balance.py:167
#, python-format
msgid "Form content is missing, this report cannot be printed."
msgstr "Form content is missing, this report cannot be printed."

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_id
#: model:ir.model.fields,field_description:anexo_al_balance.field_report_anexo_al_balance_report_partner_trial_balance_id
msgid "ID"
msgstr "ID"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_journal_ids
msgid "Journals"
msgstr "Diarios"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance___last_update
#: model:ir.model.fields,field_description:anexo_al_balance.field_report_anexo_al_balance_report_partner_trial_balance___last_update
msgid "Last Modified on"
msgstr "Última modificación en"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_write_date
msgid "Last Updated on"
msgstr "Última actualización el"

#. module: anexo_al_balance
#: model:ir.actions.act_window,name:anexo_al_balance.action_account_balance_menu
#: model:ir.ui.menu,name:anexo_al_balance.menu_general_Balance_report
msgid "Partner Trial Balance"
msgstr "Anexo al Balance"

#. module: anexo_al_balance
#: model:ir.model,name:anexo_al_balance.model_anexo_al_balance_report_partner_trial_balance
msgid "Partner Trial Balance Report"
msgstr "Reporte Anexos al Balance"

#. module: anexo_al_balance
#: model:ir.actions.report.xml,name:anexo_al_balance.action_report_partner_trial_balance
msgid "Report Trial Balance"
msgstr "Report Trial Balance"

#. module: anexo_al_balance





#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "With balance not equal to zero"
msgstr "Con saldo distinto a 0"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "With movements"
msgstr "Con movimientos"

#. module: anexo_al_balance
#: model:ir.model,name:anexo_al_balance.model_report_anexo_al_balance_report_partner_trial_balance
msgid "report.anexo_al_balance.report_partner_trial_balance"
msgstr "report.anexo_al_balance.report_partner_trial_balance"

#. module: anexo_al_balance
#: model:ir.model,name:anexo_al_balance.model_report_anexo_al_balance_report_partner_trialbalance
msgid "report.anexo_al_balance.report_partner_trialbalance"
msgstr "report.anexo_al_balance.report_partner_trialbalance"



|





|
|







|
|



|
|



|
|



|
|



|
|



|
|



|
|



|
|



|
|



|
|




|
|



|
|

|

|
|



|
|



|
|



|
|



|
|



|
|



|
|
|



|
|




|
|
|



|
|



|
|
|



|
|



|
|



|
|
|



|
|



|
|
|
|

|
>
>
>
>
>
|



|
|



|
|
|
|

<
<
<
<
<
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183





# Translation of Odoo Server.
# This file contains the translation of the following modules:
#	* trial_balance_co
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-02-20 21:53+0000\n"
"PO-Revision-Date: 2019-02-20 21:53+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid ": Partner Trial Balance"
msgstr ": Anexo al Balance"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "<strong>Date from :</strong>"
msgstr "<strong>Fecha desde:</strong>"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "<strong>Date to :</strong>"
msgstr "<strong>Fecha hasta:</strong>"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "<strong>Display Account:</strong>"
msgstr "<strong>Ver cuenta:</strong>"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "<strong>Target Moves:</strong>"
msgstr "<strong>Movimientos señalados:</strong>"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "Account"
msgstr "Cuenta"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "All Entries"
msgstr "Todos los asientos"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "All Posted Entries"
msgstr "Todos los asientos validados"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "All accounts"
msgstr "Todas las cuentas"

#. module: trial_balance_co
#: code:addons/trial_balance_co/report/balance.py:102
#, python-format
msgid "Asociado en Elementos de diaro con id %s no ubicado en Asociados, indique un partner por defecto"
msgstr "Asociado en Elementos de diaro con id %s no ubicado en Asociados, indique un partner por defecto"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "Balance"
msgstr "Saldo pendiente"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "Balance Prev"
msgstr "Balance Previo"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "Code"
msgstr "Código"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_create_uid
msgid "Created by"
msgstr "Creado por"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_create_date
msgid "Created on"
msgstr "Creado el"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "Credit"
msgstr "Haber"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "Debit"
msgstr "Debe"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_default_unknown_partner
msgid "Default Unknown Partner"
msgstr "Tercero Por Defecto"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_report_trial_balance_co_report_partner_trial_balance_display_name
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_display_name
msgid "Display Name"
msgstr "Nombre a mostrar"

#. module: trial_balance_co
#: code:addons/trial_balance_co/report/balance.py:167
#, python-format
msgid "Form content is missing, this report cannot be printed."
msgstr "Form content is missing, this report cannot be printed."

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_report_trial_balance_co_report_partner_trial_balance_id
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_id
msgid "ID"
msgstr "ID"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_journal_ids
msgid "Journals"
msgstr "Diarios"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_report_trial_balance_co_report_partner_trial_balance___last_update
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance___last_update
msgid "Last Modified on"
msgstr "Última modificación en"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_write_date
msgid "Last Updated on"
msgstr "Última actualización el"

#. module: trial_balance_co
#: model:ir.actions.act_window,name:trial_balance_co.action_account_balance_menu
#: model:ir.ui.menu,name:trial_balance_co.menu_general_Balance_report
msgid "Partner Trial Balance"
msgstr "Anexo al Balance"

#. module: trial_balance_co
#: model:ir.model,name:trial_balance_co.model_trial_balance_co_report_partner_trial_balance
msgid "Partner Trial Balance Report"
msgstr "Reporte Anexos al Balance"

#. module: trial_balance_co
#: model:ir.actions.report.xml,name:trial_balance_co.action_report_partner_trial_balance
msgid "Report Partner Trial Balance"
msgstr "Report Partner Trial Balance"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_date_from
msgid "Start Date"
msgstr "Fecha de inicio"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "With balance not equal to zero"
msgstr "Con saldo distinto a 0"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "With movements"
msgstr "Con movimientos"

#. module: trial_balance_co
#: model:ir.model,name:trial_balance_co.model_report_trial_balance_co_report_partner_trial_balance
msgid "report.trial_balance_co.report_partner_trial_balance"
msgstr "report.trial_balance_co.report_partner_trial_balance"






Name change from anexo_al_balance/i18n/es_CO.po to trial_balance_co/i18n/es_CO.po.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164





165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#	* anexo_al_balance
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-02-14 14:43+0000\n"
"PO-Revision-Date: 2019-02-14 14:43+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid ": Partner Trial Balance"
msgstr ": Anexo al Balance"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "<strong>Date from :</strong>"
msgstr "<strong>Fecha desde:</strong>"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "<strong>Date to :</strong>"
msgstr "<strong>Fecha hasta:</strong>"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "<strong>Display Account:</strong>"
msgstr "<strong>Ver cuenta:</strong>"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "<strong>Target Moves:</strong>"
msgstr "<strong>Movimientos señalados:</strong>"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "Account"
msgstr "Cuenta"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "All Entries"
msgstr "Todos los asientos"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "All Posted Entries"
msgstr "Todos los asientos validados"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "All accounts"
msgstr "Todas las cuentas"

#. module: anexo_al_balance
#: code:addons/anexo_al_balance/report/balance.py:102
#, python-format
msgid "Asociado en Elementos de diaro con id %s no ubicado en Asociados, indique un partner por defecto"
msgstr "Asociado en Elementos de diaro con id %s no ubicado en Asociados, indique un partner por defecto"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "Balance"
msgstr "Saldo pendiente"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "Balance Prev"
msgstr "Balance Prev"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "Code"
msgstr "Código"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_create_uid
msgid "Created by"
msgstr "Creado por"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_create_date
msgid "Created on"
msgstr "Creado el"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "Credit"
msgstr "Haber"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "Debit"
msgstr "Debe"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_default_unknown_partner
msgid "Default Unknown Partner"
msgstr "Tercero Por Defecto"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_display_name
#: model:ir.model.fields,field_description:anexo_al_balance.field_report_anexo_al_balance_report_partner_trial_balance_display_name
msgid "Display Name"
msgstr "Nombre a mostrar"

#. module: anexo_al_balance
#: code:addons/anexo_al_balance/report/balance.py:167
#, python-format
msgid "Form content is missing, this report cannot be printed."
msgstr "Form content is missing, this report cannot be printed."

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_id
#: model:ir.model.fields,field_description:anexo_al_balance.field_report_anexo_al_balance_report_partner_trial_balance_id
msgid "ID"
msgstr "ID"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_journal_ids
msgid "Journals"
msgstr "Diarios"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance___last_update
#: model:ir.model.fields,field_description:anexo_al_balance.field_report_anexo_al_balance_report_partner_trial_balance___last_update
msgid "Last Modified on"
msgstr "Última modificación en"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: anexo_al_balance
#: model:ir.model.fields,field_description:anexo_al_balance.field_anexo_al_balance_report_partner_trial_balance_write_date
msgid "Last Updated on"
msgstr "Última actualización el"

#. module: anexo_al_balance
#: model:ir.actions.act_window,name:anexo_al_balance.action_account_balance_menu
#: model:ir.ui.menu,name:anexo_al_balance.menu_general_Balance_report
msgid "Partner Trial Balance"
msgstr "Anexo al Balance"

#. module: anexo_al_balance
#: model:ir.model,name:anexo_al_balance.model_anexo_al_balance_report_partner_trial_balance
msgid "Partner Trial Balance Report"
msgstr "Reporte Anexos al Balance"

#. module: anexo_al_balance
#: model:ir.actions.report.xml,name:anexo_al_balance.action_report_partner_trial_balance
msgid "Report Trial Balance"
msgstr "Report Trial Balance"

#. module: anexo_al_balance





#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "With balance not equal to zero"
msgstr "Con saldo distinto a 0"

#. module: anexo_al_balance
#: model:ir.ui.view,arch_db:anexo_al_balance.report_partner_trial_balance
msgid "With movements"
msgstr "Con movimientos"

#. module: anexo_al_balance
#: model:ir.model,name:anexo_al_balance.model_report_anexo_al_balance_report_partner_trial_balance
msgid "report.anexo_al_balance.report_partner_trial_balance"
msgstr "report.anexo_al_balance.report_partner_trial_balance"

#. module: anexo_al_balance
#: model:ir.model,name:anexo_al_balance.model_report_anexo_al_balance_report_partner_trialbalance
msgid "report.anexo_al_balance.report_partner_trialbalance"
msgstr "report.anexo_al_balance.report_partner_trialbalance"



|





|
|







|
|



|
|



|
|



|
|



|
|



|
|



|
|



|
|



|
|



|
|




|
|



|
|

|

|
|



|
|



|
|



|
|



|
|



|
|



|
|
|



|
|




|
|
|



|
|



|
|
|



|
|



|
|



|
|
|



|
|



|
|
|
|

|
>
>
>
>
>
|



|
|



|
|
|
|

<
<
<
<
<
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183





# Translation of Odoo Server.
# This file contains the translation of the following modules:
#	* trial_balance_co
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-02-20 21:53+0000\n"
"PO-Revision-Date: 2019-02-20 21:53+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid ": Partner Trial Balance"
msgstr ": Anexo al Balance"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "<strong>Date from :</strong>"
msgstr "<strong>Fecha desde:</strong>"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "<strong>Date to :</strong>"
msgstr "<strong>Fecha hasta:</strong>"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "<strong>Display Account:</strong>"
msgstr "<strong>Ver cuenta:</strong>"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "<strong>Target Moves:</strong>"
msgstr "<strong>Movimientos señalados:</strong>"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "Account"
msgstr "Cuenta"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "All Entries"
msgstr "Todos los asientos"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "All Posted Entries"
msgstr "Todos los asientos validados"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "All accounts"
msgstr "Todas las cuentas"

#. module: trial_balance_co
#: code:addons/trial_balance_co/report/balance.py:102
#, python-format
msgid "Asociado en Elementos de diaro con id %s no ubicado en Asociados, indique un partner por defecto"
msgstr "Asociado en Elementos de diaro con id %s no ubicado en Asociados, indique un partner por defecto"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "Balance"
msgstr "Saldo pendiente"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "Balance Prev"
msgstr "Balance Previo"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "Code"
msgstr "Código"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_create_uid
msgid "Created by"
msgstr "Creado por"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_create_date
msgid "Created on"
msgstr "Creado el"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "Credit"
msgstr "Haber"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "Debit"
msgstr "Debe"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_default_unknown_partner
msgid "Default Unknown Partner"
msgstr "Tercero Por Defecto"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_report_trial_balance_co_report_partner_trial_balance_display_name
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_display_name
msgid "Display Name"
msgstr "Nombre a mostrar"

#. module: trial_balance_co
#: code:addons/trial_balance_co/report/balance.py:167
#, python-format
msgid "Form content is missing, this report cannot be printed."
msgstr "Form content is missing, this report cannot be printed."

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_report_trial_balance_co_report_partner_trial_balance_id
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_id
msgid "ID"
msgstr "ID"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_journal_ids
msgid "Journals"
msgstr "Diarios"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_report_trial_balance_co_report_partner_trial_balance___last_update
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance___last_update
msgid "Last Modified on"
msgstr "Última modificación en"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_write_date
msgid "Last Updated on"
msgstr "Última actualización el"

#. module: trial_balance_co
#: model:ir.actions.act_window,name:trial_balance_co.action_account_balance_menu
#: model:ir.ui.menu,name:trial_balance_co.menu_general_Balance_report
msgid "Partner Trial Balance"
msgstr "Anexo al Balance"

#. module: trial_balance_co
#: model:ir.model,name:trial_balance_co.model_trial_balance_co_report_partner_trial_balance
msgid "Partner Trial Balance Report"
msgstr "Reporte Anexos al Balance"

#. module: trial_balance_co
#: model:ir.actions.report.xml,name:trial_balance_co.action_report_partner_trial_balance
msgid "Report Partner Trial Balance"
msgstr "Report Partner Trial Balance"

#. module: trial_balance_co
#: model:ir.model.fields,field_description:trial_balance_co.field_trial_balance_co_report_partner_trial_balance_date_from
msgid "Start Date"
msgstr "Fecha de inicio"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "With balance not equal to zero"
msgstr "Con saldo distinto a 0"

#. module: trial_balance_co
#: model:ir.ui.view,arch_db:trial_balance_co.report_partner_trial_balance
msgid "With movements"
msgstr "Con movimientos"

#. module: trial_balance_co
#: model:ir.model,name:trial_balance_co.model_report_trial_balance_co_report_partner_trial_balance
msgid "report.trial_balance_co.report_partner_trial_balance"
msgstr "report.trial_balance_co.report_partner_trial_balance"






Name change from anexo_al_balance/models/__init__.py to trial_balance_co/models/__init__.py.

Name change from anexo_al_balance/models/models.py to trial_balance_co/models/models.py.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- coding: utf-8 -*-

from odoo import models, fields, api

# class anexo_al_balance(models.Model):
#     _name = 'anexo_al_balance.anexo_al_balance'

#     name = fields.Char()
#     value = fields.Integer()
#     value2 = fields.Float(compute="_value_pc", store=True)
#     description = fields.Text()
#
#     @api.depends('value')
#     def _value_pc(self):
#         self.value2 = float(self.value) / 100




|
|









1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- coding: utf-8 -*-

from odoo import models, fields, api

# class trial_balance_co(models.Model):
#     _name = 'trial_balance_co.trial_balance_co'

#     name = fields.Char()
#     value = fields.Integer()
#     value2 = fields.Float(compute="_value_pc", store=True)
#     description = fields.Text()
#
#     @api.depends('value')
#     def _value_pc(self):
#         self.value2 = float(self.value) / 100

Name change from anexo_al_balance/report/__init__.py to trial_balance_co/report/__init__.py.

Name change from anexo_al_balance/report/balance.py to trial_balance_co/report/balance.py.

8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
...
178
179
180
181
182
183
184
185


class ReportPartnerTrialBalance(models.AbstractModel):
    """
    Basado en `report.account.report_trialbalance`
    genera reporte de prueba con terceros agrupados.
    """
    _name = 'report.anexo_al_balance.report_partner_trial_balance'

    def _prepare_sql(self):
        # Prepare sql query base on selected parameters from wizard
        tables, where_clause, where_params = self.env['account.move.line']._query_get()
        tables = tables.replace('"','')
        if not tables:
            tables = 'account_move_line'
................................................................................
            'doc_model': self.model,
            'data': data['form'],
            'docs': docs,
            'time': time,
            'Accounts': account_res,
        }

        return self.env['report'].render('anexo_al_balance.report_partner_trial_balance', docargs)







|







 







|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
...
178
179
180
181
182
183
184
185


class ReportPartnerTrialBalance(models.AbstractModel):
    """
    Basado en `report.account.report_trialbalance`
    genera reporte de prueba con terceros agrupados.
    """
    _name = 'report.trial_balance_co.report_partner_trial_balance'

    def _prepare_sql(self):
        # Prepare sql query base on selected parameters from wizard
        tables, where_clause, where_params = self.env['account.move.line']._query_get()
        tables = tables.replace('"','')
        if not tables:
            tables = 'account_move_line'
................................................................................
            'doc_model': self.model,
            'data': data['form'],
            'docs': docs,
            'time': time,
            'Accounts': account_res,
        }

        return self.env['report'].render('trial_balance_co.report_partner_trial_balance', docargs)

Name change from anexo_al_balance/security/ir.model.access.csv to trial_balance_co/security/ir.model.access.csv.

1
2
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_anexo_al_balance_anexo_al_balance,anexo_al_balance.anexo_al_balance,model_anexo_al_balance_anexo_al_balance,,1,0,0,0

|
1
2
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_trial_balance_co_trial_balance_co,trial_balance_co.trial_balance_co,model_trial_balance_co_trial_balance_co,,1,0,0,0

Name change from anexo_al_balance/views/report.xml to trial_balance_co/views/report.xml.

1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="utf-8"?>
<odoo>
  <data>
    <report
        id="action_report_partner_trial_balance"
        model="anexo_al_balance.report.partner_trial_balance"
        string="Report Partner Trial Balance"
        report_type="qweb-pdf"
        name="anexo_al_balance.report_partner_trial_balance"
        file="anexo_al_balance.report_partner_trial_balance"
        />
  </data>
</odoo>





|


|
|



1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="utf-8"?>
<odoo>
  <data>
    <report
        id="action_report_partner_trial_balance"
        model="trial_balance_co.report.partner_trial_balance"
        string="Report Partner Trial Balance"
        report_type="qweb-pdf"
        name="trial_balance_co.report_partner_trial_balance"
        file="trial_balance_co.report_partner_trial_balance"
        />
  </data>
</odoo>

Name change from anexo_al_balance/views/report_partner_trial_balance.xml to trial_balance_co/views/report_partner_trial_balance.xml.

1
2
3
4
5
6
7
8
9
10
..
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
..
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
..
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
...
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="utf-8"?>
<odoo>
  <template id="anexo_al_balance.report_partner_trial_balance_line">
    <tr style="font-weight: bold">
      <td>
        <span t-att-style="style" t-esc="account['code']"/>
      </td>
      <td>
        <span style="color: white;" t-esc="'..'"/>
        <span t-att-style="style" t-esc="account['name']"/>
................................................................................
      </td>
      <td class="text-right">
        <span t-att-style="style" t-esc="account['balance_total']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
      </td>
    </tr>
  </template>
  
  <template id="anexo_al_balance.report_partner_trial_balance_subline">
    <tr>
      <td class="text-right">
        <span t-att-style="style" t-esc="account['code']"/>
      </td>
      <td>
        <span style="color: white;" t-esc="'..'"/>
        <span t-att-style="style" t-esc="account['name']"/>
................................................................................
      </td>
      <td class="text-right">
        <span t-att-style="style" t-esc="account['balance_total']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
      </td>
    </tr>
  </template>

  <template id="anexo_al_balance.report_partner_trial_balance_subtotal">
    <tr>
      <td>
        <span t-att-style="style" t-esc="account['code']"/>
      </td>
      <td>
        <span style="color: white;" t-esc="'..'"/>
        <span t-att-style="style" t-esc="account['name']"/>
................................................................................
        <span t-att-style="style" t-esc="account['credit']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
      </td>
      <td class="text-right">
        <span t-att-style="style" t-esc="account['balance_total']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
      </td>
    </tr>
  </template>
  <template id="anexo_al_balance.report_partner_trial_balance">
    <t t-call="report.html_container">
      <t t-call="report.internal_layout">
        <div class="page">
          
          <h2><span t-esc="res_company.name"/>: Partner Trial Balance</h2>

          <div class="row mt32">
................................................................................
            </thead>
            <tbody>
              <t t-foreach="Accounts" t-as="account">
                <t t-if="account['type'] == 'line'">
                  <tr>
                    <td colspan="5"></td>
                  </tr>
                  <t t-call="anexo_al_balance.report_partner_trial_balance_line"/>
                </t>
                <t t-elif="account['type'] == 'subline' ">
                  <t t-call="anexo_al_balance.report_partner_trial_balance_subline"/>
                </t>
                <t t-elif="account['type'] == 'subtotal' ">
                  <t t-call="anexo_al_balance.report_partner_trial_balance_subtotal"/>
                </t>
              </t>
            </tbody>
          </table>
          
        </div>
      </t>
    </t>
  </template>
</odoo>


|







 







|







 







|







 







|







 







|


|


|










1
2
3
4
5
6
7
8
9
10
..
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
..
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
..
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
...
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="utf-8"?>
<odoo>
  <template id="trial_balance_co.report_partner_trial_balance_line">
    <tr style="font-weight: bold">
      <td>
        <span t-att-style="style" t-esc="account['code']"/>
      </td>
      <td>
        <span style="color: white;" t-esc="'..'"/>
        <span t-att-style="style" t-esc="account['name']"/>
................................................................................
      </td>
      <td class="text-right">
        <span t-att-style="style" t-esc="account['balance_total']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
      </td>
    </tr>
  </template>
  
  <template id="trial_balance_co.report_partner_trial_balance_subline">
    <tr>
      <td class="text-right">
        <span t-att-style="style" t-esc="account['code']"/>
      </td>
      <td>
        <span style="color: white;" t-esc="'..'"/>
        <span t-att-style="style" t-esc="account['name']"/>
................................................................................
      </td>
      <td class="text-right">
        <span t-att-style="style" t-esc="account['balance_total']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
      </td>
    </tr>
  </template>

  <template id="trial_balance_co.report_partner_trial_balance_subtotal">
    <tr>
      <td>
        <span t-att-style="style" t-esc="account['code']"/>
      </td>
      <td>
        <span style="color: white;" t-esc="'..'"/>
        <span t-att-style="style" t-esc="account['name']"/>
................................................................................
        <span t-att-style="style" t-esc="account['credit']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
      </td>
      <td class="text-right">
        <span t-att-style="style" t-esc="account['balance_total']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
      </td>
    </tr>
  </template>
  <template id="trial_balance_co.report_partner_trial_balance">
    <t t-call="report.html_container">
      <t t-call="report.internal_layout">
        <div class="page">
          
          <h2><span t-esc="res_company.name"/>: Partner Trial Balance</h2>

          <div class="row mt32">
................................................................................
            </thead>
            <tbody>
              <t t-foreach="Accounts" t-as="account">
                <t t-if="account['type'] == 'line'">
                  <tr>
                    <td colspan="5"></td>
                  </tr>
                  <t t-call="trial_balance_co.report_partner_trial_balance_line"/>
                </t>
                <t t-elif="account['type'] == 'subline' ">
                  <t t-call="trial_balance_co.report_partner_trial_balance_subline"/>
                </t>
                <t t-elif="account['type'] == 'subtotal' ">
                  <t t-call="trial_balance_co.report_partner_trial_balance_subtotal"/>
                </t>
              </t>
            </tbody>
          </table>
          
        </div>
      </t>
    </t>
  </template>
</odoo>

Name change from anexo_al_balance/views/templates.xml to trial_balance_co/views/templates.xml.

Name change from anexo_al_balance/views/views.xml to trial_balance_co/views/views.xml.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<odoo>
  <data>
    <!-- explicit list view definition -->
    <!--
    <record model="ir.ui.view" id="anexo_al_balance.list">
      <field name="name">anexo_al_balance list</field>
      <field name="model">anexo_al_balance.anexo_al_balance</field>
      <field name="arch" type="xml">
        <tree>
          <field name="name"/>
          <field name="value"/>
          <field name="value2"/>
        </tree>
      </field>
    </record>
    -->

    <!-- actions opening views on models -->
    <!--
    <record model="ir.actions.act_window" id="anexo_al_balance.action_window">
      <field name="name">anexo_al_balance window</field>
      <field name="res_model">anexo_al_balance.anexo_al_balance</field>
      <field name="view_mode">tree,form</field>
    </record>
    -->

    <!-- server action to the one above -->
    <!--
    <record model="ir.actions.server" id="anexo_al_balance.action_server">
      <field name="name">anexo_al_balance server</field>
      <field name="model_id" ref="model_anexo_al_balance_anexo_al_balance"/>
      <field name="code">
        action = {
          "type": "ir.actions.act_window",
          "view_mode": "tree,form",
          "res_model": self._name,
        }
      </field>
    </record>
    -->

    <!-- Top menu item -->
    <!--
    <menuitem name="anexo_al_balance" id="anexo_al_balance.menu_root"/>
    -->
    <!-- menu categories -->
    <!--
    <menuitem name="Menu 1" id="anexo_al_balance.menu_1" parent="anexo_al_balance.menu_root"/>
    <menuitem name="Menu 2" id="anexo_al_balance.menu_2" parent="anexo_al_balance.menu_root"/>
    -->
    <!-- actions -->
    <!--
    <menuitem name="List" id="anexo_al_balance.menu_1_list" parent="anexo_al_balance.menu_1"
              action="anexo_al_balance.action_window"/>
    <menuitem name="Server to list" id="anexo_al_balance" parent="anexo_al_balance.menu_2"
              action="anexo_al_balance.action_server"/>
    -->
  </data>
</odoo>




|
|
|












|
|
|






|
|
|












|



|
|



|
|
|
|



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<odoo>
  <data>
    <!-- explicit list view definition -->
    <!--
    <record model="ir.ui.view" id="trial_balance_co.list">
      <field name="name">trial_balance_co list</field>
      <field name="model">trial_balance_co.trial_balance_co</field>
      <field name="arch" type="xml">
        <tree>
          <field name="name"/>
          <field name="value"/>
          <field name="value2"/>
        </tree>
      </field>
    </record>
    -->

    <!-- actions opening views on models -->
    <!--
    <record model="ir.actions.act_window" id="trial_balance_co.action_window">
      <field name="name">trial_balance_co window</field>
      <field name="res_model">trial_balance_co.trial_balance_co</field>
      <field name="view_mode">tree,form</field>
    </record>
    -->

    <!-- server action to the one above -->
    <!--
    <record model="ir.actions.server" id="trial_balance_co.action_server">
      <field name="name">trial_balance_co server</field>
      <field name="model_id" ref="model_trial_balance_co_trial_balance_co"/>
      <field name="code">
        action = {
          "type": "ir.actions.act_window",
          "view_mode": "tree,form",
          "res_model": self._name,
        }
      </field>
    </record>
    -->

    <!-- Top menu item -->
    <!--
    <menuitem name="trial_balance_co" id="trial_balance_co.menu_root"/>
    -->
    <!-- menu categories -->
    <!--
    <menuitem name="Menu 1" id="trial_balance_co.menu_1" parent="trial_balance_co.menu_root"/>
    <menuitem name="Menu 2" id="trial_balance_co.menu_2" parent="trial_balance_co.menu_root"/>
    -->
    <!-- actions -->
    <!--
    <menuitem name="List" id="trial_balance_co.menu_1_list" parent="trial_balance_co.menu_1"
              action="trial_balance_co.action_window"/>
    <menuitem name="Server to list" id="trial_balance_co" parent="trial_balance_co.menu_2"
              action="trial_balance_co.action_server"/>
    -->
  </data>
</odoo>

Name change from anexo_al_balance/wizard/__init__.py to trial_balance_co/wizard/__init__.py.

Name change from anexo_al_balance/wizard/report_partner_trial_balance.py to trial_balance_co/wizard/report_partner_trial_balance.py.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from odoo import fields, models
from odoo import exceptions, _

class BalanceReport(models.TransientModel):
    _inherit = 'account.common.account.report'
    _name = 'anexo_al_balance.report.partner_trial_balance'
    _description = 'Partner Trial Balance Report'

    date_from = fields.Date(string='Start Date', required=True)
    #TODO se sobreescribe relacion
    #por tamano en base de datos
    journal_ids = fields.Many2many('account.journal', 'anexo_al_balance_reportptr_journal_rel', 'account_id', 'journal_id', string='Journals', required=True)
    default_unknown_partner = fields.Many2one('res.partner', string='Default Unknown Partner', required=True)
    
    def _print_report(self, data):
        data = self.pre_print_report(data)
        data['form'].update({
            'default_unknown_partner_id': self.default_unknown_partner.id
        })
        records = self.env[data['model']].browse(data.get('ids', []))
        action = self.env['report'].get_action(records, 'anexo_al_balance.report_partner_trial_balance', data=data)
        return action







|





|








|



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from odoo import fields, models
from odoo import exceptions, _

class BalanceReport(models.TransientModel):
    _inherit = 'account.common.account.report'
    _name = 'trial_balance_co.report.partner_trial_balance'
    _description = 'Partner Trial Balance Report'

    date_from = fields.Date(string='Start Date', required=True)
    #TODO se sobreescribe relacion
    #por tamano en base de datos
    journal_ids = fields.Many2many('account.journal', 'trial_balance_co_reportptr_journal_rel', 'account_id', 'journal_id', string='Journals', required=True)
    default_unknown_partner = fields.Many2one('res.partner', string='Default Unknown Partner', required=True)
    
    def _print_report(self, data):
        data = self.pre_print_report(data)
        data['form'].update({
            'default_unknown_partner_id': self.default_unknown_partner.id
        })
        records = self.env[data['model']].browse(data.get('ids', []))
        action = self.env['report'].get_action(records, 'trial_balance_co.report_partner_trial_balance', data=data)
        return action


Name change from anexo_al_balance/wizard/report_partner_trial_balance_view.xml to trial_balance_co/wizard/report_partner_trial_balance_view.xml.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
..
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="utf-8"?>

<odoo>

    <record id="account_report_balance_view" model="ir.ui.view">
        <field name="name">Partner Trial Balance</field>
        <field name="model">anexo_al_balance.report.partner_trial_balance</field>
        <field name="inherit_id" ref="account.account_common_report_view"/>
        <field name="arch" type="xml">
          <data>
            <xpath expr="//field[@name='target_move']" position="after">
              <field name="display_account" widget="radio"/>
              <field name="default_unknown_partner" />
              <newline/>
................................................................................
          </data>
        </field>
    </record>

    <record id="action_account_balance_menu" model="ir.actions.act_window">
        <field name="name">Partner Trial Balance</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">anexo_al_balance.report.partner_trial_balance</field>
        <field name="view_type">form</field>
        <field name="view_mode">form</field>
        <field name="view_id" ref="account_report_balance_view"/>
        <field name="target">new</field>
    </record>

    <menuitem id="menu_general_Balance_report"






|







 







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
..
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="utf-8"?>

<odoo>

    <record id="account_report_balance_view" model="ir.ui.view">
        <field name="name">Partner Trial Balance</field>
        <field name="model">trial_balance_co.report.partner_trial_balance</field>
        <field name="inherit_id" ref="account.account_common_report_view"/>
        <field name="arch" type="xml">
          <data>
            <xpath expr="//field[@name='target_move']" position="after">
              <field name="display_account" widget="radio"/>
              <field name="default_unknown_partner" />
              <newline/>
................................................................................
          </data>
        </field>
    </record>

    <record id="action_account_balance_menu" model="ir.actions.act_window">
        <field name="name">Partner Trial Balance</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">trial_balance_co.report.partner_trial_balance</field>
        <field name="view_type">form</field>
        <field name="view_mode">form</field>
        <field name="view_id" ref="account_report_balance_view"/>
        <field name="target">new</field>
    </record>

    <menuitem id="menu_general_Balance_report"