Merge lp:~openerp-mexico-team-activo/openerp-mexico-localization/diot_report into lp:openerp-mexico-localization/6.0
- diot_report
- Merge into 6.0
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-mexico-team-activo/openerp-mexico-localization/diot_report |
Merge into: | lp:openerp-mexico-localization/6.0 |
Diff against target: |
155251 lines (has conflicts)
Conflict adding file account_aged_partner_balance_vw. Moved existing file to account_aged_partner_balance_vw.moved. Conflict adding file account_analytic_btree. Moved existing file to account_analytic_btree.moved. Conflict adding file account_invoice_number_v6. Moved existing file to account_invoice_number_v6.moved. Text conflict in base_vat_mx/base_vat.py Conflict adding file base_vat_mx_compatibility. Moved existing file to base_vat_mx_compatibility.moved. Conflict adding file base_vat_split. Moved existing file to base_vat_split.moved. Conflict adding file invoice_ftp. Moved existing file to invoice_ftp.moved. Conflict adding file invoice_report. Moved existing file to invoice_report.moved. Conflict adding file invoice_wkf_security. Moved existing file to invoice_wkf_security.moved. Conflict adding file l10n_mx_chart_of_accounts. Moved existing file to l10n_mx_chart_of_accounts.moved. Conflict adding file l10n_mx_company_cif. Moved existing file to l10n_mx_company_cif.moved. Conflict adding file l10n_mx_facturae/SAT/certificados/password.txt. Moved existing file to l10n_mx_facturae/SAT/certificados/password.txt.moved. Conflict adding file l10n_mx_facturae/SAT/reporte_mensual_2_0.xslt. Moved existing file to l10n_mx_facturae/SAT/reporte_mensual_2_0.xslt.moved. Contents conflict in l10n_mx_facturae/__openerp__.py Path conflict: l10n_mx_facturae/i18n/es_MX.po / <deleted> Text conflict in l10n_mx_facturae/invoice.py Text conflict in l10n_mx_facturae/report/invoice_facturae_pdf.rml Contents conflict in l10n_mx_facturae/report/invoice_facturae_pdf.sxw Conflict adding file l10n_mx_facturae/security/l10n_mx_facturae_security.xml. Moved existing file to l10n_mx_facturae/security/l10n_mx_facturae_security.xml.moved. Conflict adding file l10n_mx_facturae/wizard/wizard_invoice_facturae_txt_v6.py. Moved existing file to l10n_mx_facturae/wizard/wizard_invoice_facturae_txt_v6.py.moved. Conflict adding file l10n_mx_facturae/wizard/wizard_invoice_facturae_txt_v6_view.xml. Moved existing file to l10n_mx_facturae/wizard/wizard_invoice_facturae_txt_v6_view.xml.moved. Conflict adding file l10n_mx_facturae/wizard/wizard_invoice_facturae_xml_v6.py. Moved existing file to l10n_mx_facturae/wizard/wizard_invoice_facturae_xml_v6.py.moved. Conflict adding file l10n_mx_facturae/wizard/wizard_invoice_facturae_xml_v6_view.xml. Moved existing file to l10n_mx_facturae/wizard/wizard_invoice_facturae_xml_v6_view.xml.moved. Conflict adding file l10n_mx_facturae_cbb/ir_sequence_approval.py. Moved existing file to l10n_mx_facturae_cbb/ir_sequence_approval.py.moved. Conflict adding file l10n_mx_facturae_cbb/ir_sequence_view_v6.xml. Moved existing file to l10n_mx_facturae_cbb/ir_sequence_view_v6.xml.moved. Text conflict in l10n_mx_facturae_cbb/report/invoice_facturae_pdf.rml Contents conflict in l10n_mx_facturae_cbb/report/invoice_facturae_pdf.sxw Conflict adding file l10n_mx_facturae_cbb/security/l10n_mx_facturae_cbb_security.xml. Moved existing file to l10n_mx_facturae_cbb/security/l10n_mx_facturae_cbb_security.xml.moved. Conflict adding file l10n_mx_facturae_cer. Moved existing file to l10n_mx_facturae_cer.moved. Conflict adding file l10n_mx_facturae_email. Moved existing file to l10n_mx_facturae_email.moved. Conflict adding file l10n_mx_facturae_lib. Moved existing file to l10n_mx_facturae_lib.moved. Conflict adding file l10n_mx_facturae_pac_ftp. Moved existing file to l10n_mx_facturae_pac_ftp.moved. Conflict adding file l10n_mx_facturae_pac_sf. Moved existing file to l10n_mx_facturae_pac_sf.moved. Conflict adding file l10n_mx_facturae_seq. Moved existing file to l10n_mx_facturae_seq.moved. Conflict adding file l10n_mx_import_info. Moved existing file to l10n_mx_import_info.moved. Conflict adding file l10n_mx_invoice_amount_to_text. Moved existing file to l10n_mx_invoice_amount_to_text.moved. Conflict adding file l10n_mx_invoice_datetime. Moved existing file to l10n_mx_invoice_datetime.moved. Path conflict: l10n_mx_invoice_datetime.moved/patchs / <deleted> Conflict adding file l10n_mx_invoice_discount. Moved existing file to l10n_mx_invoice_discount.moved. Conflict adding file l10n_mx_invoice_tax_ref. Moved existing file to l10n_mx_invoice_tax_ref.moved. Conflict adding file l10n_mx_params_pac. Moved existing file to l10n_mx_params_pac.moved. Conflict adding file l10n_mx_partner_address. Moved existing file to l10n_mx_partner_address.moved. Conflict adding file partner_credit_limit. Moved existing file to partner_credit_limit.moved. Conflict adding file upload_ftp. Moved existing file to upload_ftp.moved. |
To merge this branch: | bzr merge lp:~openerp-mexico-team-activo/openerp-mexico-localization/diot_report |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nhomar - Vauxoo | Pending | ||
Review via email: mp+66712@code.launchpad.net |
Commit message
Description of the change
Agregando modulo de Declaracion Informativa de operaciones con terceros ( DIOT )
Nhomar - Vauxoo (nhomar) wrote : | # |
- 61. By echeverrifm <email address hidden>
-
[ADD] Columns for DOITs
- 62. By echeverrifm <email address hidden>
-
[IMP] add view for partner_view.xml
- 63. By echeverrifm <email address hidden>
-
[IMP] add view for partner_view.xml
- 64. By echeverrifm <email address hidden>
-
[FIX] fixing function for find payment
- 65. By echeverrifm <email address hidden>
-
[FIX] function for find payment and taxes
- 66. By echeverrifm <email address hidden>
-
[FIX] function for find payment and taxes
- 67. By echeverrifm <email address hidden>
-
[FIX] add filter for partner, VAT and Type TAXES
- 68. By echeverrifm <email address hidden>
-
[IMP] Add some documents
- 69. By echeverrifm <email address hidden>
-
[FIX] change function for accumulated payment
- 70. By echeverrifm <email address hidden>
-
[ADD] Module for storage and validate invoice suppliers
- 71. By echeverrifm <email address hidden>
-
[IMP] Add function for generate report on TXT
- 72. By echeverrifm <email address hidden>
-
[FIX] Remove some print and string
- 73. By echeverrifm <email address hidden>
-
[ADD] Add some countrys for DIOT reporter
- 74. By echeverrifm <email address hidden>
-
[ADD] Add some countrys for DIOT reporter and field for CURP in partners
- 75. By echeverrifm <email address hidden>
-
[ADD] Add more countrys for DIOT report
- 76. By echeverrifm <email address hidden>
-
[ADD] Add more countrys for DIOT report
- 77. By echeverrifm <email address hidden>
-
[ADD] Add more countrys for DIOT report
- 78. By echeverrifm <email address hidden>
-
[ADD] Add more countrys for DIOT report
- 79. By echeverrifm <email address hidden>
-
[ADD] Add more countrys for DIOT report
- 80. By echeverrifm <email address hidden>
-
[ADD] Add more countrys for DIOT report and view for CURP in partner form
- 81. By echeverrifm <email address hidden>
-
[ADD] Add more countrys for DIOT report
- 82. By echeverrifm <email address hidden>
-
[ADD] Add more countrys for DIOT report
- 83. By echeverrifm <email address hidden>
-
[ADD] Add more countrys for DIOT report
- 84. By echeverrifm <email address hidden>
-
[ADD] Add more countrys for DIOT report
- 85. By echeverrifm <email address hidden>
-
[FIX] remove doubble country for DIOT report
- 86. By echeverrifm <email address hidden>
-
[ADD] Add first files in module for addendas (l10n_mx_addendas)]
- 87. By echeverrifm <email address hidden>
-
[ADD] Add IVA Report
- 88. By echeverrifm <email address hidden>
-
[FIX] Fixing some fields for diot
- 89. By echeverrifm <email address hidden>
-
[ADD] Module of IVA Declaration for Mexico
- 90. By echeverrifm <email address hidden>
-
[ADD] Module of electronic invoice in CFDI for Mexico
- 91. By echeverrifm <email address hidden>
-
[REF] Change chart account
- 92. By echeverrifm <email address hidden>
-
[REF] Change chart account
- 93. By echeverrifm <email address hidden>
-
[REF] Change chart account
- 94. By echeverrifm <email address hidden>
-
[REF] Change chart account
- 95. By echeverrifm <email address hidden>
-
[REF] Change chart account
- 96. By echeverrifm <email address hidden>
-
[REF] Change chart account
- 97. By echeverrifm <email address hidden>
-
[REF] Change chart account
- 98. By echeverrifm <email address hidden>
-
[REF] Change chart account
- 99. By echeverrifm <email address hidden>
-
[REF] Change account for taxes
- 100. By echeverrifm <email address hidden>
-
[REF] Change chart account for taxes
- 101. By echeverrifm <email address hidden>
-
[ADD] add some financial account
- 102. By echeverrifm <email address hidden>
-
[FIX] fix a child account
- 103. By echeverrifm <email address hidden>
-
[FIX] wizard for chart account
- 104. By echeverrifm <email address hidden>
-
[FIX] wizard for chart account
- 105. By echeverrifm <email address hidden>
-
[FIX] wizard for chart account
- 106. By echeverrifm <email address hidden>
-
[REF] modify view on V6.1
- 107. By echeverrifm <email address hidden>
-
[REF] modify view on V6.1
- 108. By echeverrifm <email address hidden>
-
[REF] modify view on V6.1
- 109. By echeverrifm <email address hidden>
-
[REF] modify view on V6.1
- 110. By echeverrifm <email address hidden>
-
[REF] modify view on V6.1
- 111. By echeverrifm <email address hidden>
-
[REF] modify view on V6.1
- 112. By echeverrifm <email address hidden>
-
[ADD] Add field type taxes and view
- 113. By echeverrifm <email address hidden>
-
[ADD] Add field type taxes and view
- 114. By echeverrifm <email address hidden>
-
[ADD] efactura addendas
- 115. By echeverrifm <email address hidden>
-
[ADD] efactura addendas
- 116. By echeverrifm <email address hidden>
-
[REF] modify partner_view.xml of diot_report
- 117. By echeverrifm <email address hidden>
-
[FIX] diot report
- 118. By echeverrifm <email address hidden>
-
[FIX] diot report
- 119. By echeverrifm <email address hidden>
-
[FIX] diot report
- 120. By echeverrifm <email address hidden>
-
[FIX] diot report
- 121. By echeverrifm <email address hidden>
-
[FIX] diot report
- 122. By echeverrifm <email address hidden>
-
[FIX] diot report
- 123. By echeverrifm <email address hidden>
-
[ADD] Add module
- 124. By echeverrifm <email address hidden>
-
[ADD] Add module
- 125. By echeverrifm <email address hidden>
-
[ADD] Add module
- 126. By echeverrifm <email address hidden>
-
[ADD] Add module
- 127. By echeverrifm <email address hidden>
-
[ADD] Add module
- 128. By echeverrifm <email address hidden>
-
[ADD] Add module
- 129. By echeverrifm <email address hidden>
-
[ADD] Add module
- 130. By echeverrifm <email address hidden>
-
[ADD] Add module
- 131. By echeverrifm <email address hidden>
-
[ADD] Add module
- 132. By echeverrifm <email address hidden>
-
[ADD] Add module
- 133. By echeverrifm <email address hidden>
-
[ADD] Add module
- 134. By echeverrifm <email address hidden>
-
[ADD] Add module
- 135. By echeverrifm <email address hidden>
-
[FIX] some problems with facturae
- 136. By echeverrifm <email address hidden>
-
[ADD] facturae 6.1
- 137. By echeverrifm <email address hidden>
-
[ADD] folder for webservice soriana
- 138. By echeverrifm <email address hidden>
-
[REF] l10m_mx_addendas
- 139. By echeverrifm <email address hidden>
-
[REF] l10m_mx_addendas
- 140. By echeverrifm <email address hidden>
-
[REF] l10m_mx_addendas
- 141. By echeverrifm <email address hidden>
-
[REF] l10m_mx_addendas
- 142. By echeverrifm <email address hidden>
-
[REF] l10m_mx_addendas
- 143. By echeverrifm <email address hidden>
-
[REF] l10m_mx_addendas
- 144. By echeverrifm <email address hidden>
-
[REF] l10m_mx_addendas
- 145. By echeverrifm <email address hidden>
-
[REF] l10m_mx_addendas
- 146. By echeverrifm <email address hidden>
-
[ADD] Add Modules
- 147. By echeverrifm <email address hidden>
-
[ADD] add Report of invoice
- 148. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 149. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 150. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 151. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 152. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 153. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 154. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 155. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 156. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 157. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 158. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 159. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 160. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 161. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 162. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 163. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 164. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 165. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 166. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 167. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 168. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 169. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 170. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 171. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 172. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 173. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 174. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 175. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 176. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 177. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 178. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 179. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 180. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 181. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 182. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 183. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 184. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 185. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 186. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 187. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 188. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 189. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 190. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 191. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 192. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 193. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 194. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 195. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 196. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for invoice CDF 2.2
- 197. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 198. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 199. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 200. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 201. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 202. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 203. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 204. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 205. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 206. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 207. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 208. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
Unmerged revisions
- 208. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 207. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 206. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 205. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 204. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 203. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 202. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 201. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 200. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
- 199. By echeverrifm <email address hidden>
-
[REF] Edit RML Report for Sale Order
Preview Diff
1 | === added directory 'account_aged_partner_balance_vw' | |||
2 | === renamed directory 'account_aged_partner_balance_vw' => 'account_aged_partner_balance_vw.moved' | |||
3 | === added file 'account_aged_partner_balance_vw/__init__.py' | |||
4 | --- account_aged_partner_balance_vw/__init__.py 1970-01-01 00:00:00 +0000 | |||
5 | +++ account_aged_partner_balance_vw/__init__.py 2012-07-03 08:49:19 +0000 | |||
6 | @@ -0,0 +1,28 @@ | |||
7 | 1 | # -*- encoding: utf-8 -*- | ||
8 | 2 | ########################################################################### | ||
9 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
10 | 4 | # | ||
11 | 5 | # Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/ | ||
12 | 6 | # All Rights Reserved. | ||
13 | 7 | # info Vauxoo (info@vauxoo.com) | ||
14 | 8 | ############################################################################ | ||
15 | 9 | # Coded by: moylop260 (moylop260@vauxoo.com) | ||
16 | 10 | ############################################################################ | ||
17 | 11 | # | ||
18 | 12 | # This program is free software: you can redistribute it and/or modify | ||
19 | 13 | # it under the terms of the GNU Affero General Public License as | ||
20 | 14 | # published by the Free Software Foundation, either version 3 of the | ||
21 | 15 | # License, or (at your option) any later version. | ||
22 | 16 | # | ||
23 | 17 | # This program is distributed in the hope that it will be useful, | ||
24 | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
25 | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
26 | 20 | # GNU Affero General Public License for more details. | ||
27 | 21 | # | ||
28 | 22 | # You should have received a copy of the GNU Affero General Public License | ||
29 | 23 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
30 | 24 | # | ||
31 | 25 | ############################################################################## | ||
32 | 26 | |||
33 | 27 | import account_aged_partner_balance_vw | ||
34 | 28 | import wizard | ||
35 | 0 | 29 | ||
36 | === added file 'account_aged_partner_balance_vw/__openerp__.py' | |||
37 | --- account_aged_partner_balance_vw/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
38 | +++ account_aged_partner_balance_vw/__openerp__.py 2012-07-03 08:49:19 +0000 | |||
39 | @@ -0,0 +1,44 @@ | |||
40 | 1 | # -*- encoding: utf-8 -*- | ||
41 | 2 | ########################################################################### | ||
42 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
43 | 4 | # | ||
44 | 5 | # Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/ | ||
45 | 6 | # All Rights Reserved. | ||
46 | 7 | # info Vauxoo (info@vauxoo.com) | ||
47 | 8 | ############################################################################ | ||
48 | 9 | # Coded by: moylop260 (moylop260@vauxoo.com) | ||
49 | 10 | ############################################################################ | ||
50 | 11 | # | ||
51 | 12 | # This program is free software: you can redistribute it and/or modify | ||
52 | 13 | # it under the terms of the GNU Affero General Public License as | ||
53 | 14 | # published by the Free Software Foundation, either version 3 of the | ||
54 | 15 | # License, or (at your option) any later version. | ||
55 | 16 | # | ||
56 | 17 | # This program is distributed in the hope that it will be useful, | ||
57 | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
58 | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
59 | 20 | # GNU Affero General Public License for more details. | ||
60 | 21 | # | ||
61 | 22 | # You should have received a copy of the GNU Affero General Public License | ||
62 | 23 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
63 | 24 | # | ||
64 | 25 | ############################################################################## | ||
65 | 26 | |||
66 | 27 | { | ||
67 | 28 | "name" : "Report Account Aged Partner Balance view", | ||
68 | 29 | "version" : "1.0", | ||
69 | 30 | "author" : "Vauxoo", | ||
70 | 31 | "category" : "Localization/Mexico", | ||
71 | 32 | "description" : """This module creates a sql view for Account Aged Partner Balance today.""", | ||
72 | 33 | "website" : "http://www.vauxoo.com/", | ||
73 | 34 | "license" : "AGPL-3", | ||
74 | 35 | "depends" : ["account"], | ||
75 | 36 | "init_xml" : [], | ||
76 | 37 | "demo_xml" : [], | ||
77 | 38 | "update_xml" : [ | ||
78 | 39 | "account_aged_partner_balance_vw_wizard.xml", | ||
79 | 40 | "account_aged_partner_balance_vw_view.xml", | ||
80 | 41 | ], | ||
81 | 42 | "installable" : True, | ||
82 | 43 | "active" : False, | ||
83 | 44 | } | ||
84 | 0 | 45 | ||
85 | === added file 'account_aged_partner_balance_vw/account_aged_partner_balance_vw.py' | |||
86 | --- account_aged_partner_balance_vw/account_aged_partner_balance_vw.py 1970-01-01 00:00:00 +0000 | |||
87 | +++ account_aged_partner_balance_vw/account_aged_partner_balance_vw.py 2012-07-03 08:49:19 +0000 | |||
88 | @@ -0,0 +1,147 @@ | |||
89 | 1 | # -*- encoding: utf-8 -*- | ||
90 | 2 | ########################################################################### | ||
91 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
92 | 4 | # | ||
93 | 5 | # Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/ | ||
94 | 6 | # All Rights Reserved. | ||
95 | 7 | # info Vauxoo (info@vauxoo.com) | ||
96 | 8 | ############################################################################ | ||
97 | 9 | # Coded by: moylop260 (moylop260@vauxoo.com) | ||
98 | 10 | ############################################################################ | ||
99 | 11 | # | ||
100 | 12 | # This program is free software: you can redistribute it and/or modify | ||
101 | 13 | # it under the terms of the GNU Affero General Public License as | ||
102 | 14 | # published by the Free Software Foundation, either version 3 of the | ||
103 | 15 | # License, or (at your option) any later version. | ||
104 | 16 | # | ||
105 | 17 | # This program is distributed in the hope that it will be useful, | ||
106 | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
107 | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
108 | 20 | # GNU Affero General Public License for more details. | ||
109 | 21 | # | ||
110 | 22 | # You should have received a copy of the GNU Affero General Public License | ||
111 | 23 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
112 | 24 | # | ||
113 | 25 | ############################################################################## | ||
114 | 26 | |||
115 | 27 | from osv import osv | ||
116 | 28 | from osv import fields | ||
117 | 29 | import tools | ||
118 | 30 | from tools.translate import _ | ||
119 | 31 | import netsvc | ||
120 | 32 | import time | ||
121 | 33 | import os | ||
122 | 34 | |||
123 | 35 | class account_aged_partner_balance_vw(osv.osv): | ||
124 | 36 | _name = 'account.aged.partner.balance.vw' | ||
125 | 37 | _rec_name = 'partner_id' | ||
126 | 38 | _auto = False | ||
127 | 39 | _order = 'partner_id' | ||
128 | 40 | |||
129 | 41 | _columns = { | ||
130 | 42 | 'partner_id': fields.many2one('res.partner', u'Partner'), | ||
131 | 43 | 'total': fields.float(u'Total'), | ||
132 | 44 | 'not_due': fields.float(u'Not Due'), | ||
133 | 45 | 'days_due_01to30': fields.float(u'01/30'), | ||
134 | 46 | 'days_due_31to60': fields.float(u'31/60'), | ||
135 | 47 | 'days_due_61to90': fields.float(u'61/90'), | ||
136 | 48 | 'days_due_91to120': fields.float(u'91/120'), | ||
137 | 49 | 'days_due_121togr': fields.float(u'+121'), | ||
138 | 50 | #'pending': fields.float(u'Pending'), | ||
139 | 51 | 'company_id': fields.many2one('res.company', u'Company'), | ||
140 | 52 | 'currency_company_id': fields.many2one('res.currency', u'Company Currency'), | ||
141 | 53 | #'currency_src_id': fields.many2one('res.currency', u'Source Currency'), | ||
142 | 54 | } | ||
143 | 55 | |||
144 | 56 | def init(self, cr): | ||
145 | 57 | ###FALTA AGREGAR INNER JOIN CON COMPANY, PARA CASAR LA MONEDA POR DEFAULT Y TRANSFORMAR TODO A LA MONEDA DE LA COMPANY. | ||
146 | 58 | move_obj = self.pool.get('account.move.line') | ||
147 | 59 | ctx = {} | ||
148 | 60 | #ACCOUNT_TYPE = ['receivable']#customer | ||
149 | 61 | #ACCOUNT_TYPE = ['payable']#supplier | ||
150 | 62 | #ACCOUNT_TYPE = ['payable','receivable']#supplier & customer | ||
151 | 63 | #MOVE_STATE = ['posted']#, 'draft'] | ||
152 | 64 | move_query = move_obj._query_get(cr, 1, obj='l', context=ctx) | ||
153 | 65 | #print 'en aged partner balance nueva modificacion---------------------------------------' | ||
154 | 66 | ##########query en version 97 con errores | ||
155 | 67 | #~ full_query ='''SELECT * | ||
156 | 68 | #~ FROM ( | ||
157 | 69 | #~ SELECT MIN(l.id) as id, l.partner_id, | ||
158 | 70 | #~ SUM(l.debit-l.credit) AS "total", | ||
159 | 71 | #~ SUM(CASE WHEN days_due <= 00 THEN l.debit-l.credit ELSE 0 END ) AS "not_due", | ||
160 | 72 | #~ SUM(CASE WHEN days_due BETWEEN 01 AND 30 THEN l.debit-l.credit ELSE 0 END ) AS "days_due_01to30", | ||
161 | 73 | #~ SUM(CASE WHEN days_due BETWEEN 31 AND 60 THEN l.debit-l.credit ELSE 0 END ) AS "days_due_31to60", | ||
162 | 74 | #~ SUM(CASE WHEN days_due BETWEEN 61 AND 90 THEN l.debit-l.credit ELSE 0 END ) AS "days_due_61to90", | ||
163 | 75 | #~ SUM(CASE WHEN days_due BETWEEN 91 AND 120 THEN l.debit-l.credit ELSE 0 END ) AS "days_due_91to120", | ||
164 | 76 | #~ SUM(CASE WHEN days_due >=121 THEN l.debit-l.credit ELSE 0 END ) AS "days_due_121togr", | ||
165 | 77 | #~ COALESCE( l.currency_id, res_company.currency_id) AS "currency_src_id", | ||
166 | 78 | #~ res_company.currency_id AS "currency_company_id", | ||
167 | 79 | #~ l.company_id,l.currency_id as lcurrency | ||
168 | 80 | #~ FROM account_move_line l | ||
169 | 81 | #~ INNER JOIN | ||
170 | 82 | #~ ( | ||
171 | 83 | #~ SELECT id, EXTRACT(DAY FROM (now() - COALESCE(lt.date_maturity,lt.date))) AS days_due | ||
172 | 84 | #~ FROM account_move_line lt | ||
173 | 85 | #~ --WHERE --lt.state, si ya finalizo no tiene fecha de vencimiento | ||
174 | 86 | #~ ) l2 | ||
175 | 87 | #~ ON l2.id = l.id | ||
176 | 88 | #~ INNER JOIN account_account | ||
177 | 89 | #~ ON account_account.id = l.account_id | ||
178 | 90 | #~ INNER JOIN res_company | ||
179 | 91 | #~ ON account_account.company_id = res_company.id | ||
180 | 92 | #~ INNER JOIN account_move | ||
181 | 93 | #~ ON account_move.id = l.move_id | ||
182 | 94 | #~ WHERE account_account.active | ||
183 | 95 | #~ AND (account_account.type IN ('receivable')) | ||
184 | 96 | #~ --AND (l.reconcile_id IS NULL) | ||
185 | 97 | #~ AND account_move.state = 'posted' | ||
186 | 98 | #~ --AND %s | ||
187 | 99 | #~ --GROUP BY l.partner_id, l.currency_id, l.company_id, res_company.currency_id,l.currency_id --original | ||
188 | 100 | #~ GROUP BY l.partner_id, COALESCE(l.currency_id, res_company.currency_id), l.company_id, res_company.currency_id | ||
189 | 101 | #~ ) vw | ||
190 | 102 | #~ WHERE total <> 0 | ||
191 | 103 | #~ and lcurrency is null '''%(move_query) | ||
192 | 104 | |||
193 | 105 | #modificado el 07/07/2011 Isaac | ||
194 | 106 | |||
195 | 107 | full_query = '''select * from ( | ||
196 | 108 | SELECT MIN(l.id) as id, l.partner_id, | ||
197 | 109 | SUM(l.debit-l.credit) AS "total", | ||
198 | 110 | SUM(CASE WHEN days_due <= 00 THEN l.debit-l.credit ELSE 0 END ) AS "not_due", | ||
199 | 111 | SUM(CASE WHEN days_due BETWEEN 01 AND 30 THEN l.debit-l.credit ELSE 0 END ) AS "days_due_01to30", | ||
200 | 112 | SUM(CASE WHEN days_due BETWEEN 31 AND 60 THEN l.debit-l.credit ELSE 0 END ) AS "days_due_31to60", | ||
201 | 113 | SUM(CASE WHEN days_due BETWEEN 61 AND 90 THEN l.debit-l.credit ELSE 0 END ) AS "days_due_61to90", | ||
202 | 114 | SUM(CASE WHEN days_due BETWEEN 91 AND 120 THEN l.debit-l.credit ELSE 0 END ) AS "days_due_91to120", | ||
203 | 115 | SUM(CASE WHEN days_due >=121 THEN l.debit-l.credit ELSE 0 END ) AS "days_due_121togr", | ||
204 | 116 | --COALESCE( l.currency_id, res_company.currency_id) AS "currency_src_id", | ||
205 | 117 | --res_company.currency_id AS "currency_src_id", | ||
206 | 118 | res_company.currency_id AS "currency_company_id", | ||
207 | 119 | l.company_id | ||
208 | 120 | FROM account_move_line l | ||
209 | 121 | INNER JOIN | ||
210 | 122 | (--Subquery add days_due to account_move_line | ||
211 | 123 | SELECT id, EXTRACT(DAY FROM (now() - COALESCE(lt.date_maturity,lt.date))) AS days_due | ||
212 | 124 | FROM account_move_line lt | ||
213 | 125 | --WHERE --lt.state, si ya finalizo no tiene fecha de vencimiento | ||
214 | 126 | ) l2 | ||
215 | 127 | ON l2.id = l.id | ||
216 | 128 | |||
217 | 129 | INNER JOIN account_account | ||
218 | 130 | ON account_account.id = l.account_id | ||
219 | 131 | INNER JOIN res_company | ||
220 | 132 | ON account_account.company_id = res_company.id | ||
221 | 133 | INNER JOIN account_move | ||
222 | 134 | ON account_move.id = l.move_id | ||
223 | 135 | WHERE account_account.active | ||
224 | 136 | AND (account_account.type IN ('receivable')) | ||
225 | 137 | AND (l.reconcile_id IS NULL) | ||
226 | 138 | AND account_move.state = 'posted' | ||
227 | 139 | GROUP BY l.partner_id, l.company_id, res_company.currency_id--, l.currency_id | ||
228 | 140 | ) vw | ||
229 | 141 | WHERE total <> 0''' | ||
230 | 142 | |||
231 | 143 | tools.drop_view_if_exists(cr, '%s'%(self._name.replace('.', '_')) ) | ||
232 | 144 | cr.execute("""CREATE OR REPLACE VIEW %s AS ( | ||
233 | 145 | %s | ||
234 | 146 | )"""%( self._name.replace('.', '_'), full_query ) ) | ||
235 | 147 | account_aged_partner_balance_vw() | ||
236 | 0 | 148 | ||
237 | === added file 'account_aged_partner_balance_vw/account_aged_partner_balance_vw_view.xml' | |||
238 | --- account_aged_partner_balance_vw/account_aged_partner_balance_vw_view.xml 1970-01-01 00:00:00 +0000 | |||
239 | +++ account_aged_partner_balance_vw/account_aged_partner_balance_vw_view.xml 2012-07-03 08:49:19 +0000 | |||
240 | @@ -0,0 +1,47 @@ | |||
241 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
242 | 2 | <openerp> | ||
243 | 3 | <data> | ||
244 | 4 | |||
245 | 5 | <record model="ir.ui.view" id="view_account_aged_partner_balance_vw_tree"> | ||
246 | 6 | <field name="name">view.account.aged.partner.balance.vw.tree</field> | ||
247 | 7 | <field name="model">account.aged.partner.balance.vw</field> | ||
248 | 8 | <field name="type">tree</field> | ||
249 | 9 | <field name="arch" type="xml"> | ||
250 | 10 | <tree string="Aged Partner Balance View"> | ||
251 | 11 | <field name="partner_id"/> | ||
252 | 12 | <field name="total" sum="Total"/> | ||
253 | 13 | <button name="%(wizard_open_move_line)d" string="Total Open Moves" type="action" icon="gtk-go-forward" context="{'days_due_start':False,'days_due_end': False}"/> | ||
254 | 14 | <field name="not_due" sum="Not due"/> | ||
255 | 15 | <button name="%(wizard_open_move_line)d" string="Not Due Open Moves" type="action" icon="gtk-go-forward" context="{'days_due_start':False,'days_due_end': 0}"/> | ||
256 | 16 | <field name="days_due_01to30" sum="01/30"/> | ||
257 | 17 | <button name="%(wizard_open_move_line)d" string="01/30 Open Moves" type="action" icon="gtk-go-forward" context="{'days_due_start':01,'days_due_end': 30}"/> | ||
258 | 18 | <field name="days_due_31to60" sum="31/60"/> | ||
259 | 19 | <button name="%(wizard_open_move_line)d" string="31/60 Open Moves" type="action" icon="gtk-go-forward" context="{'days_due_start':31,'days_due_end': 60}"/> | ||
260 | 20 | <field name="days_due_61to90" sum="61/90"/> | ||
261 | 21 | <button name="%(wizard_open_move_line)d" string="61/90 Open Moves" type="action" icon="gtk-go-forward" context="{'days_due_start':61,'days_due_end': 90}"/> | ||
262 | 22 | <field name="days_due_91to120" sum="91/120"/> | ||
263 | 23 | <button name="%(wizard_open_move_line)d" string="91/120 Open Moves" type="action" icon="gtk-go-forward" context="{'days_due_start':91,'days_due_end': 120}"/> | ||
264 | 24 | <field name="days_due_121togr" sum="+121"/> | ||
265 | 25 | <button name="%(wizard_open_move_line)d" string="+121 Open Moves" type="action" icon="gtk-go-forward" context="{'days_due_start':121,'days_due_end': False}"/> | ||
266 | 26 | <field name="company_id"/> | ||
267 | 27 | <field name="currency_company_id"/> | ||
268 | 28 | <!-- | ||
269 | 29 | <field name="currency_src_id"/> | ||
270 | 30 | --> | ||
271 | 31 | </tree> | ||
272 | 32 | </field> | ||
273 | 33 | </record> | ||
274 | 34 | <record id="action_account_aged_partner_balance_vw" model="ir.actions.act_window"> | ||
275 | 35 | <field name="name">Aged Partner Balance View</field> | ||
276 | 36 | <field name="res_model">account.aged.partner.balance.vw</field> | ||
277 | 37 | <field name="view_type">form</field> | ||
278 | 38 | <field name="view_id" ref="view_account_aged_partner_balance_vw_tree"/> | ||
279 | 39 | <field name="view_mode">tree</field> | ||
280 | 40 | <!--<field name="context">{'search_default_posted': 0}</field>--> | ||
281 | 41 | <!--<field name="search_view_id" ref="account.view_account_move_line_filter"/>--> | ||
282 | 42 | <field name="help"></field> | ||
283 | 43 | </record> | ||
284 | 44 | <menuitem action="action_account_aged_partner_balance_vw" id="menu_action_account_aged_partner_balance_vw" parent="account.menu_finance_legal_statement" sequence="100"/> | ||
285 | 45 | |||
286 | 46 | </data> | ||
287 | 47 | </openerp> | ||
288 | 0 | 48 | ||
289 | === added file 'account_aged_partner_balance_vw/account_aged_partner_balance_vw_wizard.xml' | |||
290 | --- account_aged_partner_balance_vw/account_aged_partner_balance_vw_wizard.xml 1970-01-01 00:00:00 +0000 | |||
291 | +++ account_aged_partner_balance_vw/account_aged_partner_balance_vw_wizard.xml 2012-07-03 08:49:19 +0000 | |||
292 | @@ -0,0 +1,21 @@ | |||
293 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
294 | 2 | <openerp> | ||
295 | 3 | <data> | ||
296 | 4 | |||
297 | 5 | <wizard id="wizard_open_move_line" | ||
298 | 6 | name="wizard.open.move.line" | ||
299 | 7 | string="Open Moves Lines" | ||
300 | 8 | model="account.invoice" | ||
301 | 9 | menu="False" | ||
302 | 10 | /> | ||
303 | 11 | <!-- | ||
304 | 12 | <menuitem id="menu_wizard_open_move_line" | ||
305 | 13 | name="Open Movew" parent="account.menu_finance_receivables" | ||
306 | 14 | action="wizard_open_move_line" | ||
307 | 15 | type="wizard" | ||
308 | 16 | sequence="150" | ||
309 | 17 | /> | ||
310 | 18 | --> | ||
311 | 19 | |||
312 | 20 | </data> | ||
313 | 21 | </openerp> | ||
314 | 0 | 22 | ||
315 | === added file 'account_aged_partner_balance_vw/balance.py' | |||
316 | --- account_aged_partner_balance_vw/balance.py 1970-01-01 00:00:00 +0000 | |||
317 | +++ account_aged_partner_balance_vw/balance.py 2012-07-03 08:49:19 +0000 | |||
318 | @@ -0,0 +1,15 @@ | |||
319 | 1 | query_template = "SELECT %s FROM account_account" | ||
320 | 2 | columns = range(1,5) | ||
321 | 3 | for i in columns: | ||
322 | 4 | #sum_colums = '0 AS col%s'%(columns) | ||
323 | 5 | #print map(lambda x: x, columns) | ||
324 | 6 | cols_query = ', '.join( map(lambda x: i==x and 'SUM(debit+credit) AS col%s'%(x,) or '0 AS col%s'%(x,), columns) ) | ||
325 | 7 | dates_query = ' ' | ||
326 | 8 | dates_query += ' BETWEEN %s AND %s)' | ||
327 | 9 | #query_full = query_template%(sum_colums) | ||
328 | 10 | #print query_full | ||
329 | 11 | |||
330 | 12 | #cfd_data_invoices_str = '\n'.join( map(lambda x: '|'.join(x) + '|', cfd_data_invoices) ) | ||
331 | 13 | |||
332 | 14 | for i in range(5)[::-1]: | ||
333 | 15 | print i | ||
334 | 0 | \ No newline at end of file | 16 | \ No newline at end of file |
335 | 1 | 17 | ||
336 | === added directory 'account_aged_partner_balance_vw/i18n' | |||
337 | === added file 'account_aged_partner_balance_vw/i18n/es_MX.po' | |||
338 | --- account_aged_partner_balance_vw/i18n/es_MX.po 1970-01-01 00:00:00 +0000 | |||
339 | +++ account_aged_partner_balance_vw/i18n/es_MX.po 2012-07-03 08:49:19 +0000 | |||
340 | @@ -0,0 +1,130 @@ | |||
341 | 1 | # Translation of OpenERP Server. | ||
342 | 2 | # This file contains the translation of the following modules: | ||
343 | 3 | # * account_aged_partner_balance_vw | ||
344 | 4 | # | ||
345 | 5 | msgid "" | ||
346 | 6 | msgstr "" | ||
347 | 7 | "Project-Id-Version: OpenERP Server 6.0.3\n" | ||
348 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
349 | 9 | "POT-Creation-Date: 2011-12-15 03:07+0000\n" | ||
350 | 10 | "PO-Revision-Date: 2011-12-14 21:15-0600\n" | ||
351 | 11 | "Last-Translator: Ariel E. Figueroa <arielfigue@gmail.com>\n" | ||
352 | 12 | "Language-Team: \n" | ||
353 | 13 | "MIME-Version: 1.0\n" | ||
354 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
355 | 15 | "Content-Transfer-Encoding: 8bit\n" | ||
356 | 16 | "Plural-Forms: \n" | ||
357 | 17 | |||
358 | 18 | #. module: account_aged_partner_balance_vw | ||
359 | 19 | #: model:ir.model,name:account_aged_partner_balance_vw.model_account_aged_partner_balance_vw | ||
360 | 20 | msgid "account.aged.partner.balance.vw" | ||
361 | 21 | msgstr "account.aged.partner.balance.vw" | ||
362 | 22 | |||
363 | 23 | #. module: account_aged_partner_balance_vw | ||
364 | 24 | #: view:account.aged.partner.balance.vw:0 | ||
365 | 25 | msgid "91/120 Open Moves" | ||
366 | 26 | msgstr "91/120 Mov Abiertos" | ||
367 | 27 | |||
368 | 28 | #. module: account_aged_partner_balance_vw | ||
369 | 29 | #: view:account.aged.partner.balance.vw:0 | ||
370 | 30 | msgid "+121 Open Moves" | ||
371 | 31 | msgstr "+121 Mov abiertos" | ||
372 | 32 | |||
373 | 33 | #. module: account_aged_partner_balance_vw | ||
374 | 34 | #: view:account.aged.partner.balance.vw:0 | ||
375 | 35 | msgid "Not due" | ||
376 | 36 | msgstr "No Vencido" | ||
377 | 37 | |||
378 | 38 | #. module: account_aged_partner_balance_vw | ||
379 | 39 | #: view:account.aged.partner.balance.vw:0 | ||
380 | 40 | msgid "01/30 Open Moves" | ||
381 | 41 | msgstr "01/30 Mov abiertos" | ||
382 | 42 | |||
383 | 43 | #. module: account_aged_partner_balance_vw | ||
384 | 44 | #: field:account.aged.partner.balance.vw,company_id:0 | ||
385 | 45 | msgid "Company" | ||
386 | 46 | msgstr "Compania" | ||
387 | 47 | |||
388 | 48 | #. module: account_aged_partner_balance_vw | ||
389 | 49 | #: view:account.aged.partner.balance.vw:0 | ||
390 | 50 | msgid "Not Due Open Moves" | ||
391 | 51 | msgstr "Mov Abiertos no vencidos" | ||
392 | 52 | |||
393 | 53 | #. module: account_aged_partner_balance_vw | ||
394 | 54 | #: view:account.aged.partner.balance.vw:0 | ||
395 | 55 | #: field:account.aged.partner.balance.vw,days_due_31to60:0 | ||
396 | 56 | msgid "31/60" | ||
397 | 57 | msgstr "31/60" | ||
398 | 58 | |||
399 | 59 | #. module: account_aged_partner_balance_vw | ||
400 | 60 | #: view:account.aged.partner.balance.vw:0 | ||
401 | 61 | msgid "31/60 Open Moves" | ||
402 | 62 | msgstr "31/60 Mov abiertos" | ||
403 | 63 | |||
404 | 64 | #. module: account_aged_partner_balance_vw | ||
405 | 65 | #: field:account.aged.partner.balance.vw,not_due:0 | ||
406 | 66 | msgid "Not Due" | ||
407 | 67 | msgstr "No Vencido" | ||
408 | 68 | |||
409 | 69 | #. module: account_aged_partner_balance_vw | ||
410 | 70 | #: model:ir.actions.wizard,name:account_aged_partner_balance_vw.wizard_open_move_line | ||
411 | 71 | msgid "Open Moves Lines" | ||
412 | 72 | msgstr "Lineas Mov abiertos" | ||
413 | 73 | |||
414 | 74 | #. module: account_aged_partner_balance_vw | ||
415 | 75 | #: view:account.aged.partner.balance.vw:0 | ||
416 | 76 | #: field:account.aged.partner.balance.vw,days_due_01to30:0 | ||
417 | 77 | msgid "01/30" | ||
418 | 78 | msgstr "01/30" | ||
419 | 79 | |||
420 | 80 | #. module: account_aged_partner_balance_vw | ||
421 | 81 | #: view:account.aged.partner.balance.vw:0 | ||
422 | 82 | #: model:ir.actions.act_window,name:account_aged_partner_balance_vw.action_account_aged_partner_balance_vw | ||
423 | 83 | #: model:ir.ui.menu,name:account_aged_partner_balance_vw.menu_action_account_aged_partner_balance_vw | ||
424 | 84 | msgid "Aged Partner Balance View" | ||
425 | 85 | msgstr "Antiguedad de saldos" | ||
426 | 86 | |||
427 | 87 | #. module: account_aged_partner_balance_vw | ||
428 | 88 | #: field:account.aged.partner.balance.vw,currency_company_id:0 | ||
429 | 89 | msgid "Company Currency" | ||
430 | 90 | msgstr "Moneda de la compania" | ||
431 | 91 | |||
432 | 92 | #. module: account_aged_partner_balance_vw | ||
433 | 93 | #: view:account.aged.partner.balance.vw:0 | ||
434 | 94 | #: field:account.aged.partner.balance.vw,days_due_121togr:0 | ||
435 | 95 | msgid "+121" | ||
436 | 96 | msgstr "+121" | ||
437 | 97 | |||
438 | 98 | #. module: account_aged_partner_balance_vw | ||
439 | 99 | #: view:account.aged.partner.balance.vw:0 | ||
440 | 100 | msgid "61/90 Open Moves" | ||
441 | 101 | msgstr "61/90 Mov abiertos" | ||
442 | 102 | |||
443 | 103 | #. module: account_aged_partner_balance_vw | ||
444 | 104 | #: field:account.aged.partner.balance.vw,partner_id:0 | ||
445 | 105 | msgid "Partner" | ||
446 | 106 | msgstr "Empresa" | ||
447 | 107 | |||
448 | 108 | #. module: account_aged_partner_balance_vw | ||
449 | 109 | #: view:account.aged.partner.balance.vw:0 | ||
450 | 110 | #: field:account.aged.partner.balance.vw,days_due_61to90:0 | ||
451 | 111 | msgid "61/90" | ||
452 | 112 | msgstr "61/90" | ||
453 | 113 | |||
454 | 114 | #. module: account_aged_partner_balance_vw | ||
455 | 115 | #: view:account.aged.partner.balance.vw:0 | ||
456 | 116 | #: field:account.aged.partner.balance.vw,days_due_91to120:0 | ||
457 | 117 | msgid "91/120" | ||
458 | 118 | msgstr "91/120" | ||
459 | 119 | |||
460 | 120 | #. module: account_aged_partner_balance_vw | ||
461 | 121 | #: view:account.aged.partner.balance.vw:0 | ||
462 | 122 | #: field:account.aged.partner.balance.vw,total:0 | ||
463 | 123 | msgid "Total" | ||
464 | 124 | msgstr "Total" | ||
465 | 125 | |||
466 | 126 | #. module: account_aged_partner_balance_vw | ||
467 | 127 | #: view:account.aged.partner.balance.vw:0 | ||
468 | 128 | msgid "Total Open Moves" | ||
469 | 129 | msgstr "Total Mov abiertos" | ||
470 | 130 | |||
471 | 0 | 131 | ||
472 | === added directory 'account_aged_partner_balance_vw/wizard' | |||
473 | === added file 'account_aged_partner_balance_vw/wizard/__init__.py' | |||
474 | --- account_aged_partner_balance_vw/wizard/__init__.py 1970-01-01 00:00:00 +0000 | |||
475 | +++ account_aged_partner_balance_vw/wizard/__init__.py 2012-07-03 08:49:19 +0000 | |||
476 | @@ -0,0 +1,27 @@ | |||
477 | 1 | # -*- encoding: utf-8 -*- | ||
478 | 2 | ########################################################################### | ||
479 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
480 | 4 | # | ||
481 | 5 | # Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/ | ||
482 | 6 | # All Rights Reserved. | ||
483 | 7 | # info Vauxoo (info@vauxoo.com) | ||
484 | 8 | ############################################################################ | ||
485 | 9 | # Coded by: moylop260 (moylop260@vauxoo.com) | ||
486 | 10 | ############################################################################ | ||
487 | 11 | # | ||
488 | 12 | # This program is free software: you can redistribute it and/or modify | ||
489 | 13 | # it under the terms of the GNU Affero General Public License as | ||
490 | 14 | # published by the Free Software Foundation, either version 3 of the | ||
491 | 15 | # License, or (at your option) any later version. | ||
492 | 16 | # | ||
493 | 17 | # This program is distributed in the hope that it will be useful, | ||
494 | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
495 | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
496 | 20 | # GNU Affero General Public License for more details. | ||
497 | 21 | # | ||
498 | 22 | # You should have received a copy of the GNU Affero General Public License | ||
499 | 23 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
500 | 24 | # | ||
501 | 25 | ############################################################################## | ||
502 | 26 | |||
503 | 27 | import wizard_open_move_line | ||
504 | 0 | 28 | ||
505 | === added file 'account_aged_partner_balance_vw/wizard/wizard_open_move_line.py' | |||
506 | --- account_aged_partner_balance_vw/wizard/wizard_open_move_line.py 1970-01-01 00:00:00 +0000 | |||
507 | +++ account_aged_partner_balance_vw/wizard/wizard_open_move_line.py 2012-07-03 08:49:19 +0000 | |||
508 | @@ -0,0 +1,87 @@ | |||
509 | 1 | # -*- encoding: utf-8 -*- | ||
510 | 2 | ########################################################################### | ||
511 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
512 | 4 | # | ||
513 | 5 | # Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/ | ||
514 | 6 | # All Rights Reserved. | ||
515 | 7 | # info Vauxoo (info@vauxoo.com) | ||
516 | 8 | ############################################################################ | ||
517 | 9 | # Coded by: moylop260 (moylop260@vauxoo.com) | ||
518 | 10 | ############################################################################ | ||
519 | 11 | # | ||
520 | 12 | # This program is free software: you can redistribute it and/or modify | ||
521 | 13 | # it under the terms of the GNU Affero General Public License as | ||
522 | 14 | # published by the Free Software Foundation, either version 3 of the | ||
523 | 15 | # License, or (at your option) any later version. | ||
524 | 16 | # | ||
525 | 17 | # This program is distributed in the hope that it will be useful, | ||
526 | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
527 | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
528 | 20 | # GNU Affero General Public License for more details. | ||
529 | 21 | # | ||
530 | 22 | # You should have received a copy of the GNU Affero General Public License | ||
531 | 23 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
532 | 24 | # | ||
533 | 25 | ############################################################################## | ||
534 | 26 | |||
535 | 27 | import wizard | ||
536 | 28 | import pooler | ||
537 | 29 | |||
538 | 30 | class wizard_open_move_line(wizard.interface): | ||
539 | 31 | def _open_window(self, cr, uid, data, context={}): | ||
540 | 32 | if not context: | ||
541 | 33 | context = {} | ||
542 | 34 | mod_obj = pooler.get_pool(cr.dbname).get('ir.model.data') | ||
543 | 35 | act_obj = pooler.get_pool(cr.dbname).get('ir.actions.act_window') | ||
544 | 36 | aged_partner_balance_vw_obj = pooler.get_pool(cr.dbname).get('account.aged.partner.balance.vw') | ||
545 | 37 | partner_ids = [aged_partner_balance_vw.partner_id and aged_partner_balance_vw.partner_id.id or False for aged_partner_balance_vw in aged_partner_balance_vw_obj.browse(cr, uid, data['ids'], context=context)] | ||
546 | 38 | #result = mod_obj._get_id(cr, uid, 'account', 'action_account_moves_all_a') | ||
547 | 39 | result = mod_obj._get_id(cr, uid, 'account', 'action_move_line_select') | ||
548 | 40 | id = mod_obj.read(cr, uid, [result], ['res_id'])[0]['res_id'] | ||
549 | 41 | result = act_obj.read(cr, uid, [id])[0] | ||
550 | 42 | #result['context'] = {'partner_id': partner_ids} | ||
551 | 43 | #result['domain'] = [('partner_id','in',partner_ids), ('account_id.type','=','receivable')] | ||
552 | 44 | where_query = [] | ||
553 | 45 | days_due_start = context.get('days_due_start', False) | ||
554 | 46 | if not days_due_start is False: | ||
555 | 47 | where_query.append( 'days_due >= %d'%( days_due_start ) ) | ||
556 | 48 | |||
557 | 49 | days_due_end = context.get('days_due_end', False) | ||
558 | 50 | if not days_due_end is False: | ||
559 | 51 | where_query.append( 'days_due <= %d'%( days_due_end ) ) | ||
560 | 52 | #where_query_str = (where_query and ' WHERE ' or '') + ' AND '.join( where_query ) | ||
561 | 53 | where_query_str = (where_query and ' AND ' or '') + ' AND '.join( where_query ) | ||
562 | 54 | query = """SELECT l.id as id--, l.partner_id, l.company_id | ||
563 | 55 | FROM account_move_line l | ||
564 | 56 | INNER JOIN | ||
565 | 57 | ( | ||
566 | 58 | SELECT id, EXTRACT(DAY FROM (now() - COALESCE(lt.date_maturity,lt.date))) AS days_due | ||
567 | 59 | FROM account_move_line lt | ||
568 | 60 | ) l2 | ||
569 | 61 | ON l2.id = l.id | ||
570 | 62 | INNER JOIN account_account | ||
571 | 63 | ON account_account.id = l.account_id | ||
572 | 64 | INNER JOIN res_company | ||
573 | 65 | ON account_account.company_id = res_company.id | ||
574 | 66 | INNER JOIN account_move | ||
575 | 67 | ON account_move.id = l.move_id | ||
576 | 68 | WHERE account_account.active | ||
577 | 69 | AND (account_account.type IN ('receivable')) | ||
578 | 70 | AND (l.reconcile_id IS NULL) | ||
579 | 71 | AND account_move.state = 'posted' | ||
580 | 72 | AND l.reconcile_id is null --and l.currency_id is null | ||
581 | 73 | """+where_query_str | ||
582 | 74 | cr.execute(query) | ||
583 | 75 | res = cr.fetchall() | ||
584 | 76 | move_ids = [r[0] for r in res] | ||
585 | 77 | result['domain'] = [('partner_id','in',partner_ids), ('id','in',move_ids)] | ||
586 | 78 | return result | ||
587 | 79 | |||
588 | 80 | states = { | ||
589 | 81 | 'init': { | ||
590 | 82 | 'actions': [], | ||
591 | 83 | 'result': {'type': 'action', 'action': _open_window, 'state': 'end'} | ||
592 | 84 | } | ||
593 | 85 | } | ||
594 | 86 | wizard_open_move_line('wizard.open.move.line') | ||
595 | 87 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
596 | 0 | 88 | ||
597 | === added directory 'account_analytic_btree' | |||
598 | === renamed directory 'account_analytic_btree' => 'account_analytic_btree.moved' | |||
599 | === added file 'account_analytic_btree/__init__.py' | |||
600 | --- account_analytic_btree/__init__.py 1970-01-01 00:00:00 +0000 | |||
601 | +++ account_analytic_btree/__init__.py 2012-07-03 08:49:19 +0000 | |||
602 | @@ -0,0 +1,29 @@ | |||
603 | 1 | # -*- encoding: utf-8 -*- | ||
604 | 2 | ########################################################################### | ||
605 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
606 | 4 | # | ||
607 | 5 | # Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/ | ||
608 | 6 | # All Rights Reserved. | ||
609 | 7 | # info Vauxoo (info@vauxoo.com) | ||
610 | 8 | ############################################################################ | ||
611 | 9 | # Coded by: Juan Carlos Hernandez Funes (info@vauxoo.com) | ||
612 | 10 | # Planned by: Moises Augusto Lopez Calderon (info@vauxoo.com) | ||
613 | 11 | ############################################################################ | ||
614 | 12 | # | ||
615 | 13 | # This program is free software: you can redistribute it and/or modify | ||
616 | 14 | # it under the terms of the GNU Affero General Public License as | ||
617 | 15 | # published by the Free Software Foundation, either version 3 of the | ||
618 | 16 | # License, or (at your option) any later version. | ||
619 | 17 | # | ||
620 | 18 | # This program is distributed in the hope that it will be useful, | ||
621 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
622 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
623 | 21 | # GNU Affero General Public License for more details. | ||
624 | 22 | # | ||
625 | 23 | # You should have received a copy of the GNU Affero General Public License | ||
626 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
627 | 25 | # | ||
628 | 26 | ############################################################################## | ||
629 | 27 | |||
630 | 28 | |||
631 | 29 | import account_analytic_btree | ||
632 | 0 | 30 | ||
633 | === added file 'account_analytic_btree/__openerp__.py' | |||
634 | --- account_analytic_btree/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
635 | +++ account_analytic_btree/__openerp__.py 2012-07-03 08:49:19 +0000 | |||
636 | @@ -0,0 +1,40 @@ | |||
637 | 1 | # -*- encoding: utf-8 -*- | ||
638 | 2 | ########################################################################### | ||
639 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
640 | 4 | # | ||
641 | 5 | # Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/ | ||
642 | 6 | # All Rights Reserved. | ||
643 | 7 | # info Vauxoo (info@vauxoo.com) | ||
644 | 8 | ############################################################################ | ||
645 | 9 | # Coded by: Juan Carlos Hernandez Funes (info@vauxoo.com) | ||
646 | 10 | # Planned by: Moises Augusto Lopez Calderon (info@vauxoo.com) | ||
647 | 11 | ############################################################################ | ||
648 | 12 | # | ||
649 | 13 | # This program is free software: you can redistribute it and/or modify | ||
650 | 14 | # it under the terms of the GNU Affero General Public License as | ||
651 | 15 | # published by the Free Software Foundation, either version 3 of the | ||
652 | 16 | # License, or (at your option) any later version. | ||
653 | 17 | # | ||
654 | 18 | # This program is distributed in the hope that it will be useful, | ||
655 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
656 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
657 | 21 | # GNU Affero General Public License for more details. | ||
658 | 22 | # | ||
659 | 23 | # You should have received a copy of the GNU Affero General Public License | ||
660 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
661 | 25 | # | ||
662 | 26 | ############################################################################## | ||
663 | 27 | { | ||
664 | 28 | "name" : "Creacion de parent_left y parent_right en analiticas", | ||
665 | 29 | "version" : "1.0", | ||
666 | 30 | "author" : "Vauxoo", | ||
667 | 31 | "category" : "Localization/Mexico", | ||
668 | 32 | "description":"""This module creates parent_left y paret_right en analytic's accounts""", | ||
669 | 33 | "website" : "http://www.vauxoo.com/", | ||
670 | 34 | "depends" : ["account", "project"], | ||
671 | 35 | "init_xml" : [], | ||
672 | 36 | "demo_xml" : [], | ||
673 | 37 | "update_xml" : [], | ||
674 | 38 | "installable" : True, | ||
675 | 39 | "active" : False, | ||
676 | 40 | } | ||
677 | 0 | 41 | ||
678 | === added file 'account_analytic_btree/__terp__.py' | |||
679 | --- account_analytic_btree/__terp__.py 1970-01-01 00:00:00 +0000 | |||
680 | +++ account_analytic_btree/__terp__.py 2012-07-03 08:49:19 +0000 | |||
681 | @@ -0,0 +1,40 @@ | |||
682 | 1 | # -*- encoding: utf-8 -*- | ||
683 | 2 | ########################################################################### | ||
684 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
685 | 4 | # | ||
686 | 5 | # Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/ | ||
687 | 6 | # All Rights Reserved. | ||
688 | 7 | # info Vauxoo (info@vauxoo.com) | ||
689 | 8 | ############################################################################ | ||
690 | 9 | # Coded by: Juan Carlos Hernandez Funes (info@vauxoo.com) | ||
691 | 10 | # Planned by: Moises Augusto Lopez Calderon (info@vauxoo.com) | ||
692 | 11 | ############################################################################ | ||
693 | 12 | # | ||
694 | 13 | # This program is free software: you can redistribute it and/or modify | ||
695 | 14 | # it under the terms of the GNU Affero General Public License as | ||
696 | 15 | # published by the Free Software Foundation, either version 3 of the | ||
697 | 16 | # License, or (at your option) any later version. | ||
698 | 17 | # | ||
699 | 18 | # This program is distributed in the hope that it will be useful, | ||
700 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
701 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
702 | 21 | # GNU Affero General Public License for more details. | ||
703 | 22 | # | ||
704 | 23 | # You should have received a copy of the GNU Affero General Public License | ||
705 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
706 | 25 | # | ||
707 | 26 | ############################################################################## | ||
708 | 27 | { | ||
709 | 28 | "name" : "Creacion de parent_left y parent_right en analiticas", | ||
710 | 29 | "version" : "1.0", | ||
711 | 30 | "author" : "Vauxoo", | ||
712 | 31 | "category" : "Localization/Mexico", | ||
713 | 32 | "description":"""This module creates parent_left y paret_right en analytic's accounts""", | ||
714 | 33 | "website" : "http://www.vauxoo.com/", | ||
715 | 34 | "depends" : ["account", "project"], | ||
716 | 35 | "init_xml" : [], | ||
717 | 36 | "demo_xml" : [], | ||
718 | 37 | "update_xml" : [], | ||
719 | 38 | "installable" : True, | ||
720 | 39 | "active" : False, | ||
721 | 40 | } | ||
722 | 0 | 41 | ||
723 | === added file 'account_analytic_btree/account_analytic_btree.py' | |||
724 | --- account_analytic_btree/account_analytic_btree.py 1970-01-01 00:00:00 +0000 | |||
725 | +++ account_analytic_btree/account_analytic_btree.py 2012-07-03 08:49:19 +0000 | |||
726 | @@ -0,0 +1,41 @@ | |||
727 | 1 | # -*- encoding: utf-8 -*- | ||
728 | 2 | ########################################################################### | ||
729 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
730 | 4 | # | ||
731 | 5 | # Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/ | ||
732 | 6 | # All Rights Reserved. | ||
733 | 7 | # info Vauxoo (info@vauxoo.com) | ||
734 | 8 | ############################################################################ | ||
735 | 9 | # Coded by: Juan Carlos Hernandez Funes (info@vauxoo.com) | ||
736 | 10 | # Planned by: Moises Augusto Lopez Calderon (info@vauxoo.com) | ||
737 | 11 | ############################################################################ | ||
738 | 12 | # | ||
739 | 13 | # This program is free software: you can redistribute it and/or modify | ||
740 | 14 | # it under the terms of the GNU Affero General Public License as | ||
741 | 15 | # published by the Free Software Foundation, either version 3 of the | ||
742 | 16 | # License, or (at your option) any later version. | ||
743 | 17 | # | ||
744 | 18 | # This program is distributed in the hope that it will be useful, | ||
745 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
746 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
747 | 21 | # GNU Affero General Public License for more details. | ||
748 | 22 | # | ||
749 | 23 | # You should have received a copy of the GNU Affero General Public License | ||
750 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
751 | 25 | # | ||
752 | 26 | ############################################################################## | ||
753 | 27 | from osv import fields, osv | ||
754 | 28 | |||
755 | 29 | class account_analytic_account(osv.osv): | ||
756 | 30 | _inherit ='account.analytic.account' | ||
757 | 31 | |||
758 | 32 | _order = "parent_left" | ||
759 | 33 | _parent_order = "code" | ||
760 | 34 | _parent_store = True | ||
761 | 35 | |||
762 | 36 | _columns={ | ||
763 | 37 | 'parent_right': fields.integer('Parent Right', select=1), | ||
764 | 38 | 'parent_left': fields.integer('Parent Left', select=1), | ||
765 | 39 | } | ||
766 | 40 | |||
767 | 41 | account_analytic_account() | ||
768 | 0 | 42 | ||
769 | === added directory 'account_invoice_number_v6' | |||
770 | === renamed directory 'account_invoice_number_v6' => 'account_invoice_number_v6.moved' | |||
771 | === added file 'account_invoice_number_v6/__init__.py' | |||
772 | --- account_invoice_number_v6/__init__.py 1970-01-01 00:00:00 +0000 | |||
773 | +++ account_invoice_number_v6/__init__.py 2012-07-03 08:49:19 +0000 | |||
774 | @@ -0,0 +1,25 @@ | |||
775 | 1 | # -*- encoding: utf-8 -*- | ||
776 | 2 | ########################################################################### | ||
777 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
778 | 4 | # | ||
779 | 5 | # Copyright (c) 2010 Vauxoo - http://www.vauxoo.com/ | ||
780 | 6 | # All Rights Reserved. | ||
781 | 7 | # info Vauxoo (info@vauxoo.com) | ||
782 | 8 | ############################################################################ | ||
783 | 9 | # Coded by: moylop260 (moylop260@vauxoo.com) | ||
784 | 10 | ############################################################################ | ||
785 | 11 | # | ||
786 | 12 | # This program is free software: you can redistribute it and/or modify | ||
787 | 13 | # it under the terms of the GNU Affero General Public License as | ||
788 | 14 | # published by the Free Software Foundation, either version 3 of the | ||
789 | 15 | # License, or (at your option) any later version. | ||
790 | 16 | # | ||
791 | 17 | # This program is distributed in the hope that it will be useful, | ||
792 | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
793 | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
794 | 20 | # GNU Affero General Public License for more details. | ||
795 | 21 | # | ||
796 | 22 | # You should have received a copy of the GNU Affero General Public License | ||
797 | 23 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
798 | 24 | # | ||
799 | 25 | ############################################################################## | ||
800 | 0 | 26 | ||
801 | === added file 'account_invoice_number_v6/__openerp__.py' | |||
802 | --- account_invoice_number_v6/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
803 | +++ account_invoice_number_v6/__openerp__.py 2012-07-03 08:49:19 +0000 | |||
804 | @@ -0,0 +1,45 @@ | |||
805 | 1 | # -*- encoding: utf-8 -*- | ||
806 | 2 | ########################################################################### | ||
807 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
808 | 4 | # | ||
809 | 5 | # Copyright (c) 2010 Vauxoo - http://www.vauxoo.com/ | ||
810 | 6 | # All Rights Reserved. | ||
811 | 7 | # info Vauxoo (info@vauxoo.com) | ||
812 | 8 | ############################################################################ | ||
813 | 9 | # Coded by: moylop260 (moylop260@vauxoo.com) | ||
814 | 10 | ############################################################################ | ||
815 | 11 | # | ||
816 | 12 | # This program is free software: you can redistribute it and/or modify | ||
817 | 13 | # it under the terms of the GNU Affero General Public License as | ||
818 | 14 | # published by the Free Software Foundation, either version 3 of the | ||
819 | 15 | # License, or (at your option) any later version. | ||
820 | 16 | # | ||
821 | 17 | # This program is distributed in the hope that it will be useful, | ||
822 | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
823 | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
824 | 20 | # GNU Affero General Public License for more details. | ||
825 | 21 | # | ||
826 | 22 | # You should have received a copy of the GNU Affero General Public License | ||
827 | 23 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
828 | 24 | # | ||
829 | 25 | ############################################################################## | ||
830 | 26 | |||
831 | 27 | { | ||
832 | 28 | "name" : "Invoice number OpenERP6", | ||
833 | 29 | "version" : "1.0", | ||
834 | 30 | "author" : "Vauxoo", | ||
835 | 31 | "category" : "Localization/Mexico", | ||
836 | 32 | "description" : """This module add field internal_number to invoice view. | ||
837 | 33 | when you cancel a customer invoice will not delete the invoice number | ||
838 | 34 | """, | ||
839 | 35 | "website" : "http://www.vauxoo.com/", | ||
840 | 36 | "license" : "AGPL-3", | ||
841 | 37 | "depends" : ["account"], | ||
842 | 38 | "init_xml" : [], | ||
843 | 39 | "demo_xml" : [], | ||
844 | 40 | "update_xml" : [ | ||
845 | 41 | "account_invoice_view.xml", | ||
846 | 42 | ], | ||
847 | 43 | "installable" : True, | ||
848 | 44 | "active" : False, | ||
849 | 45 | } | ||
850 | 0 | 46 | ||
851 | === added file 'account_invoice_number_v6/account_invoice_view.xml' | |||
852 | --- account_invoice_number_v6/account_invoice_view.xml 1970-01-01 00:00:00 +0000 | |||
853 | +++ account_invoice_number_v6/account_invoice_view.xml 2012-07-03 08:49:19 +0000 | |||
854 | @@ -0,0 +1,55 @@ | |||
855 | 1 | <?xml version="1.0"?> | ||
856 | 2 | <openerp> | ||
857 | 3 | <data> | ||
858 | 4 | |||
859 | 5 | <record model="ir.ui.view" id="account_invoice_form_inh_numberv6_01"> | ||
860 | 6 | <field name="name">account.invoice.form.inh.numberv6.01</field> | ||
861 | 7 | <field name="model">account.invoice</field> | ||
862 | 8 | <field name="inherit_id" ref="account.invoice_form"/> | ||
863 | 9 | <field name="type">form</field> | ||
864 | 10 | <field name="arch" type="xml"> | ||
865 | 11 | <xpath expr="/form/group/field[@name='number']" position="replace"> | ||
866 | 12 | <field name="internal_number"/> | ||
867 | 13 | </xpath> | ||
868 | 14 | </field> | ||
869 | 15 | </record> | ||
870 | 16 | <!-- | ||
871 | 17 | <record model="ir.ui.view" id="account_supplier_invoice_form_inh_numberv6_01"> | ||
872 | 18 | <field name="name">account.supplier.invoice.form.inh.numberv6.01</field> | ||
873 | 19 | <field name="model">account.invoice</field> | ||
874 | 20 | <field name="inherit_id" ref="account.invoice_supplier_form"/> | ||
875 | 21 | <field name="type">form</field> | ||
876 | 22 | <field name="arch" type="xml"> | ||
877 | 23 | <xpath expr="/form/group/field[@name='number']" position="replace"> | ||
878 | 24 | <field name="internal_number"/> | ||
879 | 25 | </xpath> | ||
880 | 26 | </field> | ||
881 | 27 | </record> | ||
882 | 28 | --> | ||
883 | 29 | |||
884 | 30 | <record model="ir.ui.view" id="account_invoice_search_inh_numberv6_01"> | ||
885 | 31 | <field name="name">account.invoice.form.search.inh.numberv6.01</field> | ||
886 | 32 | <field name="model">account.invoice</field> | ||
887 | 33 | <field name="inherit_id" ref="account.view_account_invoice_filter"/> | ||
888 | 34 | <field name="type">search</field> | ||
889 | 35 | <field name="arch" type="xml"> | ||
890 | 36 | <xpath expr="/search/group/field[@name='number']" position="replace"> | ||
891 | 37 | <field name="internal_number"/> | ||
892 | 38 | </xpath> | ||
893 | 39 | </field> | ||
894 | 40 | </record> | ||
895 | 41 | |||
896 | 42 | <record model="ir.ui.view" id="account_invoice_tree_inh_numberv6_01"> | ||
897 | 43 | <field name="name">account.invoice.form.tree.inh.numberv6.01</field> | ||
898 | 44 | <field name="model">account.invoice</field> | ||
899 | 45 | <field name="inherit_id" ref="account.invoice_tree"/> | ||
900 | 46 | <field name="type">tree</field> | ||
901 | 47 | <field name="arch" type="xml"> | ||
902 | 48 | <xpath expr="/tree/field[@name='number']" position="replace"> | ||
903 | 49 | <field name="internal_number"/> | ||
904 | 50 | </xpath> | ||
905 | 51 | </field> | ||
906 | 52 | </record> | ||
907 | 53 | |||
908 | 54 | </data> | ||
909 | 55 | </openerp> | ||
910 | 0 | 56 | ||
911 | === added file 'account_invoice_number_v6/update_internal_number.sql' | |||
912 | --- account_invoice_number_v6/update_internal_number.sql 1970-01-01 00:00:00 +0000 | |||
913 | +++ account_invoice_number_v6/update_internal_number.sql 2012-07-03 08:49:19 +0000 | |||
914 | @@ -0,0 +1,51 @@ | |||
915 | 1 | --Fix invoice number | ||
916 | 2 | UPDATE account_invoice | ||
917 | 3 | SET internal_number = inv2.number | ||
918 | 4 | FROM account_invoice inv2 | ||
919 | 5 | WHERE account_invoice.internal_number IS NULL | ||
920 | 6 | AND inv2.number IS NOT NULL | ||
921 | 7 | AND inv2.id = account_invoice.id | ||
922 | 8 | ; | ||
923 | 9 | |||
924 | 10 | UPDATE account_invoice | ||
925 | 11 | SET number = inv2.internal_number | ||
926 | 12 | FROM account_invoice inv2 | ||
927 | 13 | WHERE inv2.internal_number IS NOT NULL | ||
928 | 14 | AND account_invoice.number IS NULL | ||
929 | 15 | AND inv2.id = account_invoice.id | ||
930 | 16 | ; | ||
931 | 17 | |||
932 | 18 | --Recovery invoice number when state is cancel | ||
933 | 19 | SELECT account_invoice.id AS invoice_id, ir_attachment.name--account_invoice.number, account_invoice.internal_number | ||
934 | 20 | FROM account_invoice | ||
935 | 21 | LEFT OUTER JOIN ir_attachment | ||
936 | 22 | ON ir_attachment.res_model = 'account.invoice' | ||
937 | 23 | AND ir_attachment.res_id = account_invoice.id | ||
938 | 24 | WHERE account_invoice.state = 'cancel' | ||
939 | 25 | AND (internal_number IS NULL | ||
940 | 26 | OR number IS NULL) | ||
941 | 27 | AND ir_attachment.name ILIKE '%.xml%' | ||
942 | 28 | ; | ||
943 | 29 | |||
944 | 30 | SELECT * | ||
945 | 31 | FROM ir_attachment | ||
946 | 32 | WHERE res_model = 'account.invoice' | ||
947 | 33 | and | ||
948 | 34 | |||
949 | 35 | WHERE account_invoice.internal_number IS NULL | ||
950 | 36 | AND account_invoice.number IS NOT NULL | ||
951 | 37 | AND account_invoice.id = account_invoice.id | ||
952 | 38 | |||
953 | 39 | |||
954 | 40 | |||
955 | 41 | |||
956 | 42 | SELECT account_invoice.id AS invoice_id, ir_attachment.name--account_invoice.number, account_invoice.internal_number | ||
957 | 43 | FROM account_invoice | ||
958 | 44 | LEFT OUTER JOIN ir_attachment | ||
959 | 45 | ON ir_attachment.res_model = 'account.invoice' | ||
960 | 46 | AND ir_attachment.res_id = account_invoice.id | ||
961 | 47 | WHERE account_invoice.state = 'cancel' | ||
962 | 48 | AND (internal_number IS NULL | ||
963 | 49 | OR number IS NULL) | ||
964 | 50 | AND ir_attachment.name ILIKE '%.xml%' | ||
965 | 51 | ; | ||
966 | 0 | 52 | ||
967 | === added file 'base_vat_mx/RFC_bugs.txt' | |||
968 | --- base_vat_mx/RFC_bugs.txt 1970-01-01 00:00:00 +0000 | |||
969 | +++ base_vat_mx/RFC_bugs.txt 2012-07-03 08:49:19 +0000 | |||
970 | @@ -0,0 +1,7 @@ | |||
971 | 1 | Home Depot HDM001017AS1 | ||
972 | 2 | VSPI VME041006RP6 | ||
973 | 3 | Convertidora del Potosi SA de CV CPO981019638 | ||
974 | 4 | Star Medica SA de CV SME001012RI2 | ||
975 | 5 | Tiendas Soriana SA de CV TSO991022PB6 | ||
976 | 6 | Gempsa Electro Suministros SA de CV GES841001I79 | ||
977 | 7 | Computacion Administrativa y Diseño SA de CV CAD891013QP0 | ||
978 | 0 | 8 | ||
979 | === modified file 'base_vat_mx/__init__.py' (properties changed: -x to +x) | |||
980 | === modified file 'base_vat_mx/__terp__.py' (properties changed: -x to +x) | |||
981 | === modified file 'base_vat_mx/base_vat.py' | |||
982 | --- base_vat_mx/base_vat.py 2012-03-17 02:43:15 +0000 | |||
983 | +++ base_vat_mx/base_vat.py 2012-07-03 08:49:19 +0000 | |||
984 | @@ -26,22 +26,100 @@ | |||
985 | 26 | from osv import osv | 26 | from osv import osv |
986 | 27 | from osv import fields | 27 | from osv import fields |
987 | 28 | from tools.translate import _ | 28 | from tools.translate import _ |
992 | 29 | import re | 29 | <<<<<<< TREE |
993 | 30 | from tools.misc import ustr | 30 | import re |
994 | 31 | import datetime | 31 | from tools.misc import ustr |
995 | 32 | 32 | import datetime | |
996 | 33 | |||
997 | 34 | ======= | ||
998 | 35 | import re | ||
999 | 36 | from tools.misc import ustr | ||
1000 | 37 | import datetime | ||
1001 | 38 | |||
1002 | 39 | ''' | ||
1003 | 40 | def conv_ascii(text): | ||
1004 | 41 | """Convierte vocales accentuadas, ñ y ç a sus caracteres equivalentes ASCII""" | ||
1005 | 42 | old_chars = ['á', 'é', 'Ã', 'ó', 'ú', 'à ', 'è', 'ì', 'ò', 'ù', 'ä', 'ë', 'ï', 'ö', 'ü', 'â', 'ê', 'î', \ | ||
1006 | 43 | 'ô', 'û', '�', 'É', '�', 'Ú', 'Ó', 'À', 'È', 'Ì', 'Ò', 'Ù', 'Ä', 'Ë', '�', 'Ö', 'Ü', 'Â', 'Ê', 'Î', \ | ||
1007 | 44 | 'Ô', 'Û', 'ñ', 'Ñ', 'ç', 'Ç', 'ª', 'º', '°', ' ' | ||
1008 | 45 | ] | ||
1009 | 46 | new_chars = ['a', 'e', 'i', 'o', 'u', 'a', 'e', 'i', 'o', 'u', 'a', 'e', 'i', 'o', 'u', 'a', 'e', 'i', \ | ||
1010 | 47 | 'o', 'u', 'A', 'E', 'I', 'O', 'U', 'A', 'E', 'I', 'O', 'U', 'A', 'E', 'I', 'O', 'U', 'A', 'E', 'I', \ | ||
1011 | 48 | 'O', 'U', 'n', 'N', 'c', 'C', 'a', 'o', 'o', ' ' | ||
1012 | 49 | ] | ||
1013 | 50 | for old, new in zip(old_chars, new_chars): | ||
1014 | 51 | try: | ||
1015 | 52 | text = text.replace(unicode(old,'UTF-8'), new) | ||
1016 | 53 | except: | ||
1017 | 54 | try: | ||
1018 | 55 | text = text.replace(old, new) | ||
1019 | 56 | except: | ||
1020 | 57 | raise osv.except_osv(_('Warning !'), 'No se pudo re-codificar la cadena [%s] en la letra [%s]'%(text, old) ) | ||
1021 | 58 | return text | ||
1022 | 59 | ''' | ||
1023 | 60 | >>>>>>> MERGE-SOURCE | ||
1024 | 33 | class res_partner(osv.osv): | 61 | class res_partner(osv.osv): |
1025 | 34 | _inherit = 'res.partner' | 62 | _inherit = 'res.partner' |
1026 | 35 | 63 | ||
1036 | 36 | __check_vat_mx_re = re.compile(r"(?P<primeras>[A-Za-z\xd1\xf1&]{3,4})" \ | 64 | <<<<<<< TREE |
1037 | 37 | r"[ \-_]?" \ | 65 | __check_vat_mx_re = re.compile(r"(?P<primeras>[A-Za-z\xd1\xf1&]{3,4})" \ |
1038 | 38 | r"(?P<ano>[0-9]{2})(?P<mes>[01][0-9])(?P<dia>[0-3][0-9])" \ | 66 | r"[ \-_]?" \ |
1039 | 39 | r"[ \-_]?" \ | 67 | r"(?P<ano>[0-9]{2})(?P<mes>[01][0-9])(?P<dia>[0-3][0-9])" \ |
1040 | 40 | r"(?P<code>[A-Za-z0-9&\xd1\xf1]{3})$") | 68 | r"[ \-_]?" \ |
1041 | 41 | 69 | r"(?P<code>[A-Za-z0-9&\xd1\xf1]{3})$") | |
1042 | 42 | def check_vat_mx(self, vat): | 70 | |
1043 | 43 | ''' Mexican VAT verification | 71 | def check_vat_mx(self, vat): |
1044 | 44 | 72 | ''' Mexican VAT verification | |
1045 | 73 | |||
1046 | 74 | ======= | ||
1047 | 75 | __check_vat_mx_re = re.compile(r"(?P<primeras>[A-Za-z\xd1\xf1&]{3,4})" \ | ||
1048 | 76 | r"[ \-_]?" \ | ||
1049 | 77 | r"(?P<ano>[0-9]{2})(?P<mes>[01][0-9])(?P<dia>[0-3][0-9])" \ | ||
1050 | 78 | r"[ \-_]?" \ | ||
1051 | 79 | r"(?P<code>[A-Za-z0-9&\xd1\xf1]{3})$") | ||
1052 | 80 | |||
1053 | 81 | def check_vat_mx(self, vat): | ||
1054 | 82 | ''' Mexican VAT verification | ||
1055 | 83 | |||
1056 | 84 | Verificar RFC México | ||
1057 | 85 | ''' | ||
1058 | 86 | # we convert to 8-bit encoding, to help the regex parse only bytes | ||
1059 | 87 | vat = ustr(vat).encode('iso8859-1') | ||
1060 | 88 | m = self.__check_vat_mx_re.match(vat) | ||
1061 | 89 | if not m: | ||
1062 | 90 | #No valid format | ||
1063 | 91 | return False | ||
1064 | 92 | try: | ||
1065 | 93 | ano = int(m.group('ano')) | ||
1066 | 94 | if ano > 30: | ||
1067 | 95 | ano = 1900 + ano | ||
1068 | 96 | else: | ||
1069 | 97 | ano = 2000 + ano | ||
1070 | 98 | datetime.date(ano, int(m.group('mes')), int(m.group('dia'))) | ||
1071 | 99 | except ValueError: | ||
1072 | 100 | return False | ||
1073 | 101 | #Valid format and valid date | ||
1074 | 102 | return True | ||
1075 | 103 | #check_vat = lambda *a: check_vat_mx | ||
1076 | 104 | |||
1077 | 105 | def check_vat(self, cr, uid, ids, context=None): | ||
1078 | 106 | return all( [ self.check_vat_mx( partner.vat ) for partner in self.browse(cr, uid, ids, context=context) ] ) | ||
1079 | 107 | |||
1080 | 108 | def write(self, cr, uid, ids, vals, context=None): | ||
1081 | 109 | if context is None: | ||
1082 | 110 | context = {} | ||
1083 | 111 | #print "vals",vals | ||
1084 | 112 | # if 'vat' in vals: | ||
1085 | 113 | # vals['vat'] = vals['vat'] and vals['vat'].replace('-', '').replace(' ', '').replace('.', '').replace('/','').replace('ñ','Ñ').upper() or vals['vat'] | ||
1086 | 114 | #print "vals['vat']",vals['vat'] | ||
1087 | 115 | #if 'active' in vals and not vals['active']: | ||
1088 | 116 | #if 'type' in vals.keys(): | ||
1089 | 117 | return super(res_partner, self).write(cr, uid, ids, vals, context=context) | ||
1090 | 118 | |||
1091 | 119 | |||
1092 | 120 | def ____ANTERIOR2____check_vat(self, cr, uid, ids, context=None): | ||
1093 | 121 | ''' | ||
1094 | 122 | >>>>>>> MERGE-SOURCE | ||
1095 | 45 | Verificar RFC México | 123 | Verificar RFC México |
1096 | 46 | ''' | 124 | ''' |
1097 | 47 | # we convert to 8-bit encoding, to help the regex parse only bytes | 125 | # we convert to 8-bit encoding, to help the regex parse only bytes |
1098 | @@ -63,6 +141,7 @@ | |||
1099 | 63 | #Valid format and valid date | 141 | #Valid format and valid date |
1100 | 64 | return True | 142 | return True |
1101 | 65 | 143 | ||
1102 | 144 | <<<<<<< TREE | ||
1103 | 66 | def check_vat(self, cr, uid, ids, context=None): | 145 | def check_vat(self, cr, uid, ids, context=None): |
1104 | 67 | return all( [ self.check_vat_mx( partner.vat ) for partner in self.browse(cr, uid, ids, context=context) ] ) | 146 | return all( [ self.check_vat_mx( partner.vat ) for partner in self.browse(cr, uid, ids, context=context) ] ) |
1105 | 68 | 147 | ||
1106 | @@ -75,3 +154,21 @@ | |||
1107 | 75 | 154 | ||
1108 | 76 | _constraints = [(check_vat, _(u'Error RFC es incorrecto, deberÃa ser algo como XYZA010203A01 or XYZ0102039A8'), ["vat"])] | 155 | _constraints = [(check_vat, _(u'Error RFC es incorrecto, deberÃa ser algo como XYZA010203A01 or XYZ0102039A8'), ["vat"])] |
1109 | 77 | res_partner() | 156 | res_partner() |
1110 | 157 | ======= | ||
1111 | 158 | def _______ANTERIOR____check_vat(self, cr, uid, ids, context=None): | ||
1112 | 159 | for partner in self.browse(cr, uid, ids, context=context): | ||
1113 | 160 | vat = partner.vat | ||
1114 | 161 | if not vat: | ||
1115 | 162 | continue | ||
1116 | 163 | vat = vat.upper() | ||
1117 | 164 | vat = ''.join( [x for x in vat if x.isupper() or x.isdigit() ] ) #Remove all characteres what no is digit or letter | ||
1118 | 165 | if len(vat)==12: | ||
1119 | 166 | vat = "X" + vat#Add a valid char, for pass validation with case with cad of len = 12 | ||
1120 | 167 | if len(vat) <> 13 or not( vat[:4].isupper() | ||
1121 | 168 | and vat[4:10].isdigit() and vat[10:13].isalnum() ): | ||
1122 | 169 | return False | ||
1123 | 170 | return True | ||
1124 | 171 | |||
1125 | 172 | _constraints = [(check_vat, _('Error RFC es incorrecto, deberÃa ser algo como XYZA010203A01 or XYZ0102039A8'), ["vat"])] | ||
1126 | 173 | res_partner() | ||
1127 | 174 | >>>>>>> MERGE-SOURCE | ||
1128 | 78 | 175 | ||
1129 | === added directory 'base_vat_mx_compatibility' | |||
1130 | === renamed directory 'base_vat_mx_compatibility' => 'base_vat_mx_compatibility.moved' | |||
1131 | === added file 'base_vat_mx_compatibility/__init__.py' | |||
1132 | --- base_vat_mx_compatibility/__init__.py 1970-01-01 00:00:00 +0000 | |||
1133 | +++ base_vat_mx_compatibility/__init__.py 2012-07-03 08:49:19 +0000 | |||
1134 | @@ -0,0 +1,4 @@ | |||
1135 | 1 | # -*- coding: utf-8 -*- | ||
1136 | 2 | import base_vat | ||
1137 | 3 | |||
1138 | 4 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
1139 | 0 | 5 | ||
1140 | === added file 'base_vat_mx_compatibility/__openerp__.py' | |||
1141 | --- base_vat_mx_compatibility/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
1142 | +++ base_vat_mx_compatibility/__openerp__.py 2012-07-03 08:49:19 +0000 | |||
1143 | @@ -0,0 +1,17 @@ | |||
1144 | 1 | # -*- coding: utf-8 -*- | ||
1145 | 2 | { | ||
1146 | 3 | 'name': 'VAT Number Validation for Mexico', | ||
1147 | 4 | 'version': '1.0', | ||
1148 | 5 | "category": 'Hidden/Dependency', | ||
1149 | 6 | 'description': """Add validation of VAT Number for Mexico prefix MX""", | ||
1150 | 7 | 'author': 'Vauxoo', | ||
1151 | 8 | 'depends': ['base_vat'], | ||
1152 | 9 | 'website': 'http://www.vauxoo.com', | ||
1153 | 10 | 'data': [], | ||
1154 | 11 | 'installable': True, | ||
1155 | 12 | 'auto_install': False, | ||
1156 | 13 | 'certificate': '', | ||
1157 | 14 | 'images': [], | ||
1158 | 15 | } | ||
1159 | 16 | |||
1160 | 17 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
1161 | 0 | 18 | ||
1162 | === added file 'base_vat_mx_compatibility/base_vat.py' | |||
1163 | --- base_vat_mx_compatibility/base_vat.py 1970-01-01 00:00:00 +0000 | |||
1164 | +++ base_vat_mx_compatibility/base_vat.py 2012-07-03 08:49:19 +0000 | |||
1165 | @@ -0,0 +1,48 @@ | |||
1166 | 1 | # -*- coding: utf-8 -*- | ||
1167 | 2 | import datetime | ||
1168 | 3 | import re | ||
1169 | 4 | |||
1170 | 5 | from osv import osv, fields | ||
1171 | 6 | from tools.misc import ustr | ||
1172 | 7 | from tools.translate import _ | ||
1173 | 8 | |||
1174 | 9 | _ref_vat = { | ||
1175 | 10 | 'mx': 'MXABC123456T1B', | ||
1176 | 11 | } | ||
1177 | 12 | |||
1178 | 13 | class res_partner(osv.osv): | ||
1179 | 14 | _inherit = 'res.partner' | ||
1180 | 15 | |||
1181 | 16 | # Mexican VAT verification, contributed by <moylop260@vauxoo.com> | ||
1182 | 17 | # and Panos Christeas <p_christ@hol.gr> | ||
1183 | 18 | __check_vat_mx_re = re.compile(r"(?P<primeras>[A-Za-z\xd1\xf1&]{3,4})" \ | ||
1184 | 19 | r"[ \-_]?" \ | ||
1185 | 20 | r"(?P<ano>[0-9]{2})(?P<mes>[01][0-9])(?P<dia>[0-3][0-9])" \ | ||
1186 | 21 | r"[ \-_]?" \ | ||
1187 | 22 | r"(?P<code>[A-Za-z0-9&\xd1\xf1]{3})$") | ||
1188 | 23 | def check_vat_mx(self, vat): | ||
1189 | 24 | ''' Mexican VAT verification | ||
1190 | 25 | |||
1191 | 26 | Verificar RFC México | ||
1192 | 27 | ''' | ||
1193 | 28 | # we convert to 8-bit encoding, to help the regex parse only bytes | ||
1194 | 29 | vat = ustr(vat).encode('iso8859-1') | ||
1195 | 30 | m = self.__check_vat_mx_re.match(vat) | ||
1196 | 31 | if not m: | ||
1197 | 32 | #No valid format | ||
1198 | 33 | return False | ||
1199 | 34 | try: | ||
1200 | 35 | ano = int(m.group('ano')) | ||
1201 | 36 | if ano > 30: | ||
1202 | 37 | ano = 1900 + ano | ||
1203 | 38 | else: | ||
1204 | 39 | ano = 2000 + ano | ||
1205 | 40 | datetime.date(ano, int(m.group('mes')), int(m.group('dia'))) | ||
1206 | 41 | except ValueError: | ||
1207 | 42 | return False | ||
1208 | 43 | |||
1209 | 44 | #Valid format and valid date | ||
1210 | 45 | return True | ||
1211 | 46 | res_partner() | ||
1212 | 47 | |||
1213 | 48 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
1214 | 0 | 49 | ||
1215 | === added directory 'base_vat_split' | |||
1216 | === renamed directory 'base_vat_split' => 'base_vat_split.moved' | |||
1217 | === added file 'base_vat_split/__init__.py' | |||
1218 | --- base_vat_split/__init__.py 1970-01-01 00:00:00 +0000 | |||
1219 | +++ base_vat_split/__init__.py 2012-07-03 08:49:19 +0000 | |||
1220 | @@ -0,0 +1,4 @@ | |||
1221 | 1 | # -*- coding: utf-8 -*- | ||
1222 | 2 | import base_vat | ||
1223 | 3 | |||
1224 | 4 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
1225 | 0 | 5 | ||
1226 | === added file 'base_vat_split/__openerp__.py' | |||
1227 | --- base_vat_split/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
1228 | +++ base_vat_split/__openerp__.py 2012-07-03 08:49:19 +0000 | |||
1229 | @@ -0,0 +1,17 @@ | |||
1230 | 1 | # -*- coding: utf-8 -*- | ||
1231 | 2 | { | ||
1232 | 3 | 'name': 'VAT Number Split', | ||
1233 | 4 | 'version': '1.0', | ||
1234 | 5 | "category": 'Hidden/Dependency', | ||
1235 | 6 | 'description': """Split VAT Number to l10n-VAT in a new field calculated. | ||
1236 | 7 | """, | ||
1237 | 8 | 'author': 'Vauxoo', | ||
1238 | 9 | 'depends': ['base_vat'], | ||
1239 | 10 | 'website': 'http://www.vauxoo.com', | ||
1240 | 11 | 'data': [], | ||
1241 | 12 | 'installable': True, | ||
1242 | 13 | 'auto_install': False, | ||
1243 | 14 | 'certificate': '', | ||
1244 | 15 | } | ||
1245 | 16 | |||
1246 | 17 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
1247 | 0 | 18 | ||
1248 | === added file 'base_vat_split/base_vat.py' | |||
1249 | --- base_vat_split/base_vat.py 1970-01-01 00:00:00 +0000 | |||
1250 | +++ base_vat_split/base_vat.py 2012-07-03 08:49:19 +0000 | |||
1251 | @@ -0,0 +1,21 @@ | |||
1252 | 1 | # -*- coding: utf-8 -*- | ||
1253 | 2 | from osv import osv, fields | ||
1254 | 3 | from tools.translate import _ | ||
1255 | 4 | |||
1256 | 5 | class res_partner(osv.osv): | ||
1257 | 6 | _inherit = 'res.partner' | ||
1258 | 7 | |||
1259 | 8 | def _get_base_vat_split(self, cr, uid, ids, field_names=None, arg=False, context={}): | ||
1260 | 9 | if not context: | ||
1261 | 10 | context = {} | ||
1262 | 11 | res = {} | ||
1263 | 12 | for partner in self.browse(cr, uid, ids, context=context): | ||
1264 | 13 | res[partner.id] = partner.vat and partner.vat[2:] or False | ||
1265 | 14 | return res | ||
1266 | 15 | |||
1267 | 16 | _columns = { | ||
1268 | 17 | 'vat_split': fields.function(_get_base_vat_split, method=True, type='char', size=64, string='VAT Split', store=True), | ||
1269 | 18 | } | ||
1270 | 19 | res_partner() | ||
1271 | 20 | |||
1272 | 21 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
1273 | 0 | 22 | ||
1274 | === added directory 'curp_mx' | |||
1275 | === added file 'curp_mx/__init__.py' | |||
1276 | --- curp_mx/__init__.py 1970-01-01 00:00:00 +0000 | |||
1277 | +++ curp_mx/__init__.py 2012-07-03 08:49:19 +0000 | |||
1278 | @@ -0,0 +1,27 @@ | |||
1279 | 1 | # -*- encoding: utf-8 -*- | ||
1280 | 2 | ########################################################################### | ||
1281 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
1282 | 4 | # | ||
1283 | 5 | # Copyright (c) 2011 Echeverrifm - http://echeverrifm.com.ar | ||
1284 | 6 | # All Rights Reserved. | ||
1285 | 7 | # info echeverrifm (echeverrifm@gmail.com) | ||
1286 | 8 | ############################################################################ | ||
1287 | 9 | # Coded by: echeverrifm (echeverrifm@gmail.com) | ||
1288 | 10 | ############################################################################ | ||
1289 | 11 | # | ||
1290 | 12 | # This program is free software: you can redistribute it and/or modify | ||
1291 | 13 | # it under the terms of the GNU Affero General Public License as | ||
1292 | 14 | # published by the Free Software Foundation, either version 3 of the | ||
1293 | 15 | # License, or (at your option) any later version. | ||
1294 | 16 | # | ||
1295 | 17 | # This program is distributed in the hope that it will be useful, | ||
1296 | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1297 | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1298 | 20 | # GNU Affero General Public License for more details. | ||
1299 | 21 | # | ||
1300 | 22 | # You should have received a copy of the GNU Affero General Public License | ||
1301 | 23 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1302 | 24 | # | ||
1303 | 25 | ############################################################################## | ||
1304 | 26 | |||
1305 | 27 | import curp_mx | ||
1306 | 0 | 28 | ||
1307 | === added file 'curp_mx/__openerp__.py' | |||
1308 | --- curp_mx/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
1309 | +++ curp_mx/__openerp__.py 2012-07-03 08:49:19 +0000 | |||
1310 | @@ -0,0 +1,43 @@ | |||
1311 | 1 | # -*- encoding: utf-8 -*- | ||
1312 | 2 | ########################################################################### | ||
1313 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
1314 | 4 | # | ||
1315 | 5 | # Copyright (c) 2011 Echeverrifm - http://echeverrifm.com.ar | ||
1316 | 6 | # All Rights Reserved. | ||
1317 | 7 | # info echeverrifm (echeverrifm@gmail.com) | ||
1318 | 8 | ############################################################################ | ||
1319 | 9 | # Coded by: echeverrifm (echeverrifm@gmail.com) | ||
1320 | 10 | ############################################################################ | ||
1321 | 11 | # | ||
1322 | 12 | # This program is free software: you can redistribute it and/or modify | ||
1323 | 13 | # it under the terms of the GNU Affero General Public License as | ||
1324 | 14 | # published by the Free Software Foundation, either version 3 of the | ||
1325 | 15 | # License, or (at your option) any later version. | ||
1326 | 16 | # | ||
1327 | 17 | # This program is distributed in the hope that it will be useful, | ||
1328 | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1329 | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1330 | 20 | # GNU Affero General Public License for more details. | ||
1331 | 21 | # | ||
1332 | 22 | # You should have received a copy of the GNU Affero General Public License | ||
1333 | 23 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1334 | 24 | # | ||
1335 | 25 | ############################################################################## | ||
1336 | 26 | |||
1337 | 27 | { | ||
1338 | 28 | "name" : "Validation for the CURP of Mexico", | ||
1339 | 29 | "version" : "1.0", | ||
1340 | 30 | "author" : "echeverrifm@gmail.com", | ||
1341 | 31 | "category" : "Localization/Mexican", | ||
1342 | 32 | "description" : """Add validation for the CURP of Mexico. | ||
1343 | 33 | And Remove the problem, for capture CURP of Mexico. | ||
1344 | 34 | """, | ||
1345 | 35 | "website" : "http://echeverrifm.com.ar", | ||
1346 | 36 | "license" : "AGPL-3", | ||
1347 | 37 | "depends" : ["base"], | ||
1348 | 38 | "init_xml" : [], | ||
1349 | 39 | "demo_xml" : [], | ||
1350 | 40 | "update_xml" : ['curp_mx_view.xml',], | ||
1351 | 41 | "installable" : True, | ||
1352 | 42 | "active" : False, | ||
1353 | 43 | } | ||
1354 | 0 | 44 | ||
1355 | === added file 'curp_mx/curp_mx.py' | |||
1356 | --- curp_mx/curp_mx.py 1970-01-01 00:00:00 +0000 | |||
1357 | +++ curp_mx/curp_mx.py 2012-07-03 08:49:19 +0000 | |||
1358 | @@ -0,0 +1,39 @@ | |||
1359 | 1 | # -*- encoding: utf-8 -*- | ||
1360 | 2 | ########################################################################### | ||
1361 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
1362 | 4 | # | ||
1363 | 5 | # Copyright (c) 2011 Echeverrifm - http://echeverrifm.com.ar | ||
1364 | 6 | # All Rights Reserved. | ||
1365 | 7 | # info echeverrifm (echeverrifm@gmail.com) | ||
1366 | 8 | ############################################################################ | ||
1367 | 9 | # Coded by: echeverrifm (echeverrifm@gmail.com) | ||
1368 | 10 | ############################################################################ | ||
1369 | 11 | # | ||
1370 | 12 | # This program is free software: you can redistribute it and/or modify | ||
1371 | 13 | # it under the terms of the GNU Affero General Public License as | ||
1372 | 14 | # published by the Free Software Foundation, either version 3 of the | ||
1373 | 15 | # License, or (at your option) any later version. | ||
1374 | 16 | # | ||
1375 | 17 | # This program is distributed in the hope that it will be useful, | ||
1376 | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1377 | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1378 | 20 | # GNU Affero General Public License for more details. | ||
1379 | 21 | # | ||
1380 | 22 | # You should have received a copy of the GNU Affero General Public License | ||
1381 | 23 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1382 | 24 | # | ||
1383 | 25 | ############################################################################## | ||
1384 | 26 | from osv import osv | ||
1385 | 27 | from osv import fields | ||
1386 | 28 | from tools.translate import _ | ||
1387 | 29 | |||
1388 | 30 | |||
1389 | 31 | class res_partner(osv.osv): | ||
1390 | 32 | _inherit = 'res.partner' | ||
1391 | 33 | |||
1392 | 34 | _columns = { | ||
1393 | 35 | 'curp': fields.char('CURP', size=64, select=1), | ||
1394 | 36 | } | ||
1395 | 37 | |||
1396 | 38 | |||
1397 | 39 | res_partner() | ||
1398 | 0 | 40 | ||
1399 | === added file 'curp_mx/curp_mx_view.xml' | |||
1400 | --- curp_mx/curp_mx_view.xml 1970-01-01 00:00:00 +0000 | |||
1401 | +++ curp_mx/curp_mx_view.xml 2012-07-03 08:49:19 +0000 | |||
1402 | @@ -0,0 +1,20 @@ | |||
1403 | 1 | <?xml version="1.0"?> | ||
1404 | 2 | <openerp> | ||
1405 | 3 | <data> | ||
1406 | 4 | |||
1407 | 5 | |||
1408 | 6 | <record id="view_partner_diot_form" model="ir.ui.view"> | ||
1409 | 7 | <field name="name">res.partner.form.diot</field> | ||
1410 | 8 | <field name="model">res.partner</field> | ||
1411 | 9 | <field name="inherit_id" ref="base.view_partner_form"/> | ||
1412 | 10 | <field name="arch" type="xml"> | ||
1413 | 11 | <field name="vat" position="before"> | ||
1414 | 12 | <field name="curp" groups="base.group_extended"/> | ||
1415 | 13 | <newline/> | ||
1416 | 14 | </field> | ||
1417 | 15 | </field> | ||
1418 | 16 | </record> | ||
1419 | 17 | |||
1420 | 18 | |||
1421 | 19 | </data> | ||
1422 | 20 | </openerp> | ||
1423 | 0 | 21 | ||
1424 | === added directory 'diot_mx' | |||
1425 | === added file 'diot_mx/__init__.py' | |||
1426 | --- diot_mx/__init__.py 1970-01-01 00:00:00 +0000 | |||
1427 | +++ diot_mx/__init__.py 2012-07-03 08:49:19 +0000 | |||
1428 | @@ -0,0 +1,28 @@ | |||
1429 | 1 | # -*- encoding: utf-8 -*- | ||
1430 | 2 | ########################################################################### | ||
1431 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
1432 | 4 | # | ||
1433 | 5 | # Copyright (c) 2011 Echeverrifm - http://www.echeverrifm.com.ar | ||
1434 | 6 | # All Rights Reserved. | ||
1435 | 7 | # info echeverrifm (echeverrifm@gmail.com) | ||
1436 | 8 | ############################################################################ | ||
1437 | 9 | # Coded by: echeverrifm (echeverrifm@gmail.com) | ||
1438 | 10 | # Launchpad Project Manager for Publication: Nhomar Hernandez - nhomar@openerp.com.ve | ||
1439 | 11 | ############################################################################ | ||
1440 | 12 | # | ||
1441 | 13 | # This program is free software: you can redistribute it and/or modify | ||
1442 | 14 | # it under the terms of the GNU Affero General Public License as | ||
1443 | 15 | # published by the Free Software Foundation, either version 3 of the | ||
1444 | 16 | # License, or (at your option) any later version. | ||
1445 | 17 | # | ||
1446 | 18 | # This program is distributed in the hope that it will be useful, | ||
1447 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1448 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1449 | 21 | # GNU Affero General Public License for more details. | ||
1450 | 22 | # | ||
1451 | 23 | # You should have received a copy of the GNU Affero General Public License | ||
1452 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1453 | 25 | # | ||
1454 | 26 | ############################################################################## | ||
1455 | 27 | import wizard | ||
1456 | 28 | import partner | ||
1457 | 0 | 29 | ||
1458 | === added file 'diot_mx/__openerp__.py' | |||
1459 | --- diot_mx/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
1460 | +++ diot_mx/__openerp__.py 2012-07-03 08:49:19 +0000 | |||
1461 | @@ -0,0 +1,45 @@ | |||
1462 | 1 | # -*- encoding: utf-8 -*- | ||
1463 | 2 | ########################################################################### | ||
1464 | 3 | # Module Writen to OpenERP, Open Source Management Solution | ||
1465 | 4 | # | ||
1466 | 5 | # Copyright (c) 2011 Echeverrifm - http://www.echeverrifm.com.ar | ||
1467 | 6 | # All Rights Reserved. | ||
1468 | 7 | # info echeverrifm (echeverrifm@gmail.com) | ||
1469 | 8 | ############################################################################ | ||
1470 | 9 | # Coded by: echeverrifm (echeverrifm@gmail.com) | ||
1471 | 10 | # Launchpad Project Manager for Publication: Nhomar Hernandez - nhomar@openerp.com.ve | ||
1472 | 11 | ############################################################################ | ||
1473 | 12 | # | ||
1474 | 13 | # This program is free software: you can redistribute it and/or modify | ||
1475 | 14 | # it under the terms of the GNU Affero General Public License as | ||
1476 | 15 | # published by the Free Software Foundation, either version 3 of the | ||
1477 | 16 | # License, or (at your option) any later version. | ||
1478 | 17 | # | ||
1479 | 18 | # This program is distributed in the hope that it will be useful, | ||
1480 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1481 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1482 | 21 | # GNU Affero General Public License for more details. | ||
1483 | 22 | # | ||
1484 | 23 | # You should have received a copy of the GNU Affero General Public License | ||
1485 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1486 | 25 | # | ||
1487 | 26 | ############################################################################## | ||
1488 | 27 | |||
1489 | 28 | { | ||
1490 | 29 | "name" : "Declaracion de IVA para mexico", | ||
1491 | 30 | "version" : "1.0", | ||
1492 | 31 | "depends" : ["base", "base_vat","account" ], | ||
1493 | 32 | "author" : "Federico Manuel Echeverri Choux", | ||
1494 | 33 | "description": """Modulo para la declaracion de Impuesto al valor Agregado en Mexico: | ||
1495 | 34 | """, | ||
1496 | 35 | 'author': 'Federico Manuel Echeverri Choux', | ||
1497 | 36 | "website" : "http://www.echeverrifm.com.ar/", | ||
1498 | 37 | 'init_xml': [], | ||
1499 | 38 | 'update_xml': [ | ||
1500 | 39 | #"wizard_diot_report.xml", | ||
1501 | 40 | "partner_view.xml", | ||
1502 | 41 | 'wizard/account_diot_mx_report_view.xml', | ||
1503 | 42 | ], | ||
1504 | 43 | 'installable': True, | ||
1505 | 44 | 'active': False, | ||
1506 | 45 | } | ||
1507 | 0 | 46 | ||
1508 | === added directory 'diot_mx/doc' | |||
1509 | === added file 'diot_mx/doc/Imprimiendo _LayOut DIOT Completa 2010 SAT_.pdf' | |||
1510 | 1 | Binary files diot_mx/doc/Imprimiendo _LayOut DIOT Completa 2010 SAT_.pdf 1970-01-01 00:00:00 +0000 and diot_mx/doc/Imprimiendo _LayOut DIOT Completa 2010 SAT_.pdf 2012-07-03 08:49:19 +0000 differ | 47 | Binary files diot_mx/doc/Imprimiendo _LayOut DIOT Completa 2010 SAT_.pdf 1970-01-01 00:00:00 +0000 and diot_mx/doc/Imprimiendo _LayOut DIOT Completa 2010 SAT_.pdf 2012-07-03 08:49:19 +0000 differ |
1511 | === added file 'diot_mx/doc/lfa29s.pdf' | |||
1512 | 2 | Binary files diot_mx/doc/lfa29s.pdf 1970-01-01 00:00:00 +0000 and diot_mx/doc/lfa29s.pdf 2012-07-03 08:49:19 +0000 differ | 48 | Binary files diot_mx/doc/lfa29s.pdf 1970-01-01 00:00:00 +0000 and diot_mx/doc/lfa29s.pdf 2012-07-03 08:49:19 +0000 differ |
1513 | === added file 'diot_mx/doc/pyr_frecuentesdiot_1_01072010.pdf' | |||
1514 | --- diot_mx/doc/pyr_frecuentesdiot_1_01072010.pdf 1970-01-01 00:00:00 +0000 | |||
1515 | +++ diot_mx/doc/pyr_frecuentesdiot_1_01072010.pdf 2012-07-03 08:49:19 +0000 | |||
1516 | @@ -0,0 +1,1980 @@ | |||
1517 | 1 | %PDF-1.5 | ||
1518 | 2 | %µµµµ | ||
1519 | 3 | 1 0 obj | ||
1520 | 4 | <</Type/Catalog/Pages 2 0 R/Lang(es-MX) /StructTreeRoot 59 0 R/MarkInfo<</Marked true>>>> | ||
1521 | 5 | endobj | ||
1522 | 6 | 2 0 obj | ||
1523 | 7 | <</Type/Pages/Count 9/Kids[ 3 0 R 24 0 R 32 0 R 39 0 R 41 0 R 48 0 R 50 0 R 52 0 R 54 0 R] >> | ||
1524 | 8 | endobj | ||
1525 | 9 | 3 0 obj | ||
1526 | 10 | <</Type/Page/Parent 2 0 R/Resources<</XObject<</Image5 5 0 R>>/Font<</F1 6 0 R/F2 8 0 R/F3 13 0 R/F4 18 0 R/F5 20 0 R/F6 22 0 R>>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/MediaBox[ 0 0 792 612] /Contents 4 0 R/Group<</Type/Group/S/Transparency/CS/DeviceRGB>>/Tabs/S/StructParents 0>> | ||
1527 | 11 | endobj | ||
1528 | 12 | 4 0 obj | ||
1529 | 13 | <</Filter/FlateDecode/Length 3478>> | ||
1530 | 14 | stream | ||
1531 | 15 | xœÍ[Ks | ||
1532 | 0 | ·¾³ŠÿÇ | 16 | ·¾³ŠÿÇ |
1533 | 1 | 17 | ||
1534 | 2 | <æåR1E‹¢³))’¥-å û0œ | 18 | <æåR1E‹¢³))’¥-å û0œ |
1535 | 3 | Ò›âî¬öAGùsþ-<æ “o>¥»Ìcw1ÊI%åw@7ÐO| | 19 | Ò›âî¬öAGùsþ-<æ “o>¥»Ìcw1ÊI%åw@7ÐO| |
1536 | 4 | ŒÏ/×Ûùm^lÙ³gç—Ûm^ü\Î؇óiµúé|úiUž¿ÉïæË|;¯–컫çìãé‰HBž±þSO˜ŠY¤bh)§'ç“E~WFìªb?œž|7…–kÁ„à¡fÓ[ %:ÁdˆH—Æl | 20 | ŒÏ/×Ûùm^lÙ³gç—Ûm^ü\Î؇óiµúé|úiUž¿ÉïæË|;¯–컫çìãé‰HBž±þSO˜ŠY¤bh)§'ç“E~WFìªb?œž|7…–kÁ„à¡fÓ[ %:ÁdˆH—Æl |
1537 | 21 | „!»Ã?ߟž|±à'6ýËéÉ‹©aáˆp&óØPô�š‡ÇƱ¯ž³s�ÜßUÛmµð‰î¤I÷…QiÂÈÅ1W©6ÒpIòÀÏ�DQÎqÈ…dI&ñ'ô³.OOþö | ||
1538 | 5 | [Ze(Í£˜Å’g0]jž¥,ä‰ | 22 | [Ze(Í£˜Å’g0]jž¥,ä‰ |
1539 | 6 | CECo¿9=ù¡+¸H�QÊ¢ˆ'¡¶Â¿ | 23 | CECo¿9=ù¡+¸H�QÊ¢ˆ'¡¶Â¿ |
1540 | 7 | ÆzTz´¢ÑC�ŒæE0NGóŠc5šØ)2Xá8]âؾ.æø¸„Þy ÔhŒãч — | 24 | ÆzTz´¢ÑC�ŒæE0NGóŠc5šØ)2Xá8]âؾ.æø¸„Þy ÔhŒãч — |
1541 | 8 | š | 25 | š |
1542 | 9 | äôÛ2ˆ | 26 | äôÛ2ˆ |
1543 | 10 | åt�Cov� | 27 | åt�Cov� |
1544 | 11 | –# | 28 | –# |
1545 | 12 | ;Ï}F¡#Õ]ë¾AϯåmƒiSÑ&µ„"bÓâóPè$ | 29 | ;Ï}F¡#Õ]ë¾AϯåmƒiSÑ&µ„"bÓâóPè$ |
1546 | 13 | ]ì3:f6)�nŸ‘Jr]>ø®WÉ>™Ö‘q¯SªˆgªKF�Íg9ü½¿«)Fg^·Ž¸ýkÆ& | 30 | ]ì3:f6)�nŸ‘Jr]>ø®WÉ>™Ö‘q¯SªˆgªKF�Íg9ü½¿«)Fg^·Ž¸ýkÆ& |
1547 | 14 | VÔ‹Öü�ŒËÁx^JpfÝÕÊÕJZm’ø貘Ëìˆ|^q²”GÉ0qtž¿ç,úd2Ý£‡rô:/¹ˆ´ñ=úª‰ | 31 | VÔ‹Öü�ŒËÁx^JpfÝÕÊÕJZm’ø貘Ëìˆ|^q²”GÉ0qtž¿ç,úd2Ý£‡rô:/¹ˆ´ñ=úª‰ |
1548 | 15 | ’«º ©|\tÂÕžþÏÌ´ðÇD¬¦¼Æ&D`�y;hÇ>üýþQ°ü‹ŒRAÚâ÷*Òôü#�ÒF-ŠÛ | 32 | ’«º ©|\tÂÕžþÏÌ´ðÇD¬¦¼Æ&D`�y;hÇ>üýþQ°ü‹ŒRAÚâ÷*Òôü#�ÒF-ŠÛ |
1549 | 16 | ¹†¼~»„6¯gAæUE”Abü‚ÖϯÕa´H©¹brœ¶tÏÂPÇã~…¸ÈžQÜ�#ø�Ô…6ôêš…mÎÌOl~”û-Oc™(tØöÊFÓòž"ôjA¦†~‡f‚ªû+¨ôúu bÈ›@O qú-†T | 33 | ¹†¼~»„6¯gAæUE”Abü‚ÖϯÕa´H©¹brœ¶tÏÂPÇã~…¸ÈžQÜ�#ø�Ô…6ôêš…mÎÌOl~”û-Oc™(tØöÊFÓòž"ôjA¦†~‡f‚ªû+¨ôúu bÈ›@O qú-†T |
1550 | 17 | ‚úü£—mƒ-¡kÑð»Õ~IàAÂ¿Ô | 34 | ‚úü£—mƒ-¡kÑð»Õ~IàAÂ¿Ô |
1551 | 18 | á� | 35 | á� |
1552 | 19 | ƒ¬¢`� êšÅ)�L£Òo$éÇ,J�º#¨Sød¸ÄPv¬á˜èçÐ | 36 | ƒ¬¢`� êšÅ)�L£Òo$éÇ,J�º#¨Sød¸ÄPv¬á˜èçÐ |
1553 | 20 | ÒÆÆ–/ÐŽÐÀT_#_êªy¤n¤m | 37 | ÒÆÆ–/ÐŽÐÀT_#_êªy¤n¤m |
1554 | 21 | `[� .öôò | 38 | `[� .öôò |
1555 | 22 | æÈ_ÀNô@OÛSîà | 39 | æÈ_ÀNô@OÛSîà |
1556 | 23 | £å&À €ð | 40 | £å&À €ð |
1557 | 41 | Æ"�PòD…Îxœôë¿ | ||
1558 | 24 | žEÃÆ&0àŠJ8„ÏÎ^ª˜‹6ÑÃÎß xyõ|rÅÂó—ùòŽ�ÊÍøÅ» ƒVô1ì@EG | 42 | žEÃÆ&0àŠJ8„ÏÎ^ª˜‹6ÑÃÎß xyõ|rÅÂó—ùòŽ�ÊÍøÅ» ƒVô1ì@EG |
1559 | 25 | ¬Äciù¿�¼·.ïv°1,Ñç·¨Í | 43 | ¬Äciù¿�¼·.ïv°1,Ñç·¨Í |
1560 | 26 | >1èùÄàí-àaÚV˜jv˜27"h0Ž»]Ø(0!ï | 44 | >1èùÄàí-àaÚV˜jv˜27"h0Ž»]Ø(0!ï |
1561 | 27 | î€$f6ÔÞ,�‚²Tw]?Ž¼ƒ“ƒÁW°ŒÉkXÇÔg:AfîÎøˈG{jê5ƒð›!bÏânäÆ CÊÅ | 45 | î€$f6ÔÞ,�‚²Tw]?Ž¼ƒ“ƒÁW°ŒÉkXÇÔg:AfîÎøˈG{jê5ƒð›!bÏânäÆ CÊÅ |
1562 | 28 | Ë> | 46 | Ë> |
1563 | 29 | e� Úhvo€G1mÆ‹O"1m:³{ÿúÌ9pŸCN\–nhï | 47 | e� Úhvo€G1mÆ‹O"1m:³{ÿúÌ9pŸCN\–nhï |
1564 | 30 | íIKJq÷´sŽÑÈ | 48 | íIKJq÷´sŽÑÈ |
1565 | 31 | ¼È<Þ`ë | 49 | ¼È<Þ`ë |
1566 | 32 | ‡ß!À™QcEdŒ€¤e´Zc2NFårKóäè’� | 50 | ‡ß!À™QcEdŒ€¤e´Zc2NFårKóäè’� |
1567 | 51 | ÐÈDxD£¯ _‚›Ýãp3 | ||
1568 | 33 | ¨ñ¡€¹²l¹cJþ$uD±øv[!D]�08t;À±†'0Ÿ•øŠ4¯ÉÅ˵›²¨PV°Nmˆ | 52 | ¨ñ¡€¹²l¹cJþ$uD±øv[!D]�08t;À±†'0Ÿ•øŠ4¯ÉÅ˵›²¨PV°Nmˆ |
1569 | 53 | |||
1570 | 34 | vãë؇+.�6kÉù£]2®†¸O]dIÒH(Â3â÷ | 54 | vãë؇+.�6kÉù£]2®†¸O]dIÒH(Â3â÷ |
1571 | 35 | š¸à4XpÉÁ9±ÿO¾D!¡kí | 55 | š¸à4XpÉÁ9±ÿO¾D!¡kí |
1572 | 36 | n¤žì¡±âI:„µö±ns3ÙÐp{™“WÆ–à | 56 | n¤žì¡±âI:„µö±ns3ÙÐp{™“WÆ–à |
1573 | 37 | ¤ïM{íÒTرñ¹«#�´Ãòö³¡™“Ò | 57 | ¤ïM{íÒTرñ¹«#�´Ãòö³¡™“Ò |
1574 | 58 | 3Á'ü³0ŽØú | ||
1575 | 38 | GÄ4)ð�G1‰íhƒ( | 59 | GÄ4)ð�G1‰íhƒ( |
1576 | 39 | XK- ŒÝXd ˆ®„�„VÇòÂl7 | 60 | XK- ŒÝXd ˆ®„�„VÇòÂl7 |
1577 | 61 | =Ýò¡§V�!z˜“ÿÌ°%ŸO±wØF+zÀ | ||
1578 | 40 | ·˜jÞ8€Ý“h9{I0sls2™uÞÓ\l‚™ù=Á’üœTÆÉÓZRCà )GF | 62 | ·˜jÞ8€Ý“h9{I0sls2™uÞÓ\l‚™ù=Á’üœTÆÉÓZRCà )GF |
1579 | 41 | ZI¾4ñèIIÆEÖÕ8Ù¬t’y7[’ˆ$ÍiÝÀ™Ô±? ¹gµáYù☆�YQÔ | 63 | ZI¾4ñèIIÆEÖÕ8Ù¬t’y7[’ˆ$ÍiÝÀ™Ô±? ¹gµáYù☆�YQÔ |
1580 | 42 | ¿¹µö”ýZe<rõvnÜ¡hÌÈ | 64 | ¿¹µö”ýZe<rõvnÜ¡hÌÈ |
1581 | 65 | 2“qƒzñã„•›`ÖƒÝÔF¥ÕæF¤FÕà6Ü祩 | ||
1582 | 43 | ßYVoECÂHB | 66 | ßYVoECÂHB |
1583 | 44 | 2„Yì÷øx¸C�$\¸_ci|¥QJ¾pjh”BÎõ²åš´Gßbï!Š=’i„ŠyÒ�ýr½ýL¾[ìîIÅ4�’˜0¤9Y - ×B’]=’QÖ.ÂÉ ·Õ¹à÷Ÿ(·ßvz | 67 | 2„Yì÷øx¸C�$\¸_ci|¥QJ¾pjh”BÎõ²åš´Gßbï!Š=’i„ŠyÒ�ýr½ýL¾[ìîIÅ4�’˜0¤9Y - ×B’]=’QÖ.ÂÉ ·Õ¹à÷Ÿ(·ßvz |
1584 | 45 | ôä¶<yeí÷>°»°÷”9&“ •-§m†Mܘ°3‰œ¢Óú;[I$®‘v | 68 | ôä¶<yeí÷>°»°÷”9&“ •-§m†Mܘ°3‰œ¢Óú;[I$®‘v |
1585 | 46 | ¢ã€3hŽ3+n8Ø.Óå+uÚ®½>és¿X@‰�vë‹žXÒÙQg,H�ÂíM§h)lV¶ò’oƒ | 69 | ¢ã€3hŽ3+n8Ø.Óå+uÚ®½>és¿X@‰�vë‹žXÒÙQg,H�ÂíM§h)lV¶ò’oƒ |
1586 | 70 | ‚§A | ||
1587 | 47 | H £‹¡Cåz‹Ê}uM>·Êko0¶îK¡â¡ | 71 | H £‹¡Cåz‹Ê}uM>·Êko0¶îK¡â¡ |
1588 | 48 | '¢ ýe+r~—˜¤ÛòYŽo¬t;=Ùü{õ | 72 | '¢ ýe+r~—˜¤ÛòYŽo¬t;=Ùü{õ |
1589 | 49 | Ⱥ߶B 3Ã6JÜìï;Ô*‘6î‡êôÔª‘â©ì®Ó[×F˜ZCñhJbê)P8ú<E¦1 | 73 | Ⱥ߶B 3Ã6JÜìï;Ô*‘6î‡êôÔª‘â©ì®Ó[×F˜ZCñhJbê)P8ú<E¦1 |
1590 | 50 | ju(‰¨7Á$²–¶É t’>äª$E8?€u6d¡PÞ·ŽÀ1€_Öh±†r+‚‰ˆò ª@Û2§!¯Á–•£Z#‹i‘²¨(y®(Œ��ŒËٜҫãƒ'°åyl׫Asyo¶>®Û | 74 | ju(‰¨7Á$²–¶É t’>äª$E8?€u6d¡PÞ·ŽÀ1€_Öh±†r+‚‰ˆò ª@Û2§!¯Á–•£Z#‹i‘²¨(y®(Œ��ŒËٜҫãƒ'°åyl׫Asyo¶>®Û |
1591 | 51 | ®¡ÜèRÒæ[@kÁ³ÅÚ/ËO5•sï00Ò¿{{fö7hüuF°ü¦$IÍ1WiÁIGˆ | 75 | ®¡ÜèRÒæ[@kÁ³ÅÚ/ËO5•sï00Ò¿{{fö7hüuF°ü¦$IÍ1WiÁIGˆ |
1592 | 52 | ž|n— | 76 | ž|n— |
1593 | 53 | oMmù_•Kß;ì� | 77 | oMmù_•Kß;ì� |
1594 | 54 | º»ƒÝ1L·ÃÈEC·õ°‡zªžÐV‘æÚ…ŒY¸ÁöF£kW>ó | 78 | º»ƒÝ1L·ÃÈEC·õ°‡zªžÐV‘æÚ…ŒY¸ÁöF£kW>ó |
1595 | 79 | Õ°$e�)‹ŠfZ"ÉÔ€E¬ | ||
1596 | 55 | Š’¦ÅU÷!MdÀ}âÀ½…÷î¹A÷þ#ãO©:bôW Þ“€¶V´D | 80 | Š’¦ÅU÷!MdÀ}âÀ½…÷î¹A÷þ#ãO©:bôW Þ“€¶V´D |
1597 | 56 | 7„Ý“+Z¥B<]´7Ÿ | 81 | 7„Ý“+Z¥B<]´7Ÿ |
1598 | 57 | 6BULqÌ·¨™GB™3 | 82 | 6BULqÌ·¨™GB™3 |
1599 | 58 | H�ûˆÐm®×¥¹ÊVõÞm ~ | 83 | H�ûˆÐm®×¥¹ÊVõÞm ~ |
1600 | 59 | ÏpŽî¾�¡îk“Šã=»k | 84 | ÏpŽî¾�¡îk“Šã=»k |
1601 | 60 | ZžíP<(Ãöª | 85 | ZžíP<(Ãöª |
1602 | 61 | kÍsƒ{®{Î꣤«;¥jÍhQ)Õ(: | 86 | kÍsƒ{®{Î꣤«;¥jÍhQ)Õ(: |
1603 | 62 | ¶I n | 87 | ¶I n |
1604 | 63 | šÛ•,Ho¬%AŒ(wleitàæpRý“Ài£fAHe±¿%îv�+¨yš}jsÐŽÜ7[0¥L@E | 88 | šÛ•,Ho¬%AŒ(wleitàæpRý“Ài£fAHe±¿%îv�+¨yš}jsÐŽÜ7[0¥L@E |
1605 | 89 | tG|/ð€º"Üs | ||
1606 | 64 | œÉStWŸ÷…¿Hð Îp\9}�Š6u!GzÊ)Ô^w5y�E½ÔK@ó]îýaä=½i/ÐO:,ȽU|‹�Ì�\�¿É1yYÈÙ*©0ÚP«ƒ ã&ø6¬ | 90 | œÉStWŸ÷…¿Hð Îp\9}�Š6u!GzÊ)Ô^w5y�E½ÔK@ó]îýaä=½i/ÐO:,ȽU|‹�Ì�\�¿É1yYÈÙ*©0ÚP«ƒ ã&ø6¬ |
1607 | 65 | { | 91 | { |
1608 | 66 | "y¤ÆUljÍ!�‹=C¶°þb]¸]p“ÿüNýmËe ÷K-„P›mæ | 92 | "y¤ÆUljÍ!�‹=C¶°þb]¸]p“ÿüNýmËe ÷K-„P›mæ |
1609 | 67 | m�j'܇fw`Ô}ÿ0ðoE®Ñ}·€!í4Æo€ùk$šžVUœy;{áb6®ò±Õ³½–ÚC³Â›ºþþTIGÜqÒªm$_Ô¤^wì|P…�ÀÛº¸eNv0BO¡�î“ | 93 | m�j'܇fw`Ô}ÿ0ðoE®Ñ}·€!í4Æo€ùk$šžVUœy;{áb6®ò±Õ³½–ÚC³Â›ºþþTIGÜqÒªm$_Ô¤^wì|P…�ÀÛº¸eNv0BO¡�î“ |
1610 | 94 | ®]0» | ||
1611 | 68 | ×ÔT�ÄkíÖé;!¹¯ç5–(¶¾xŠ`SìNù{¦â\�NÆñáÙ £_w | 95 | ×ÔT�ÄkíÖé;!¹¯ç5–(¶¾xŠ`SìNù{¦â\�NÆñáÙ £_w |
1612 | 69 | Rœÿ•G6€q‘µ/ôœNÄZAµÐQ|ærÈ'㌫a‰Ì{Øá;ŸÀò&ÌþWç�Ù}çg˜k´çpÂ¥ÃÛÊÞÚ¦Æån×æ°«»žr A¤—œ]â,$üg•Ý5ú®TbÅ垘cïØ·«ÎØï1QÒ©€ | 96 | Rœÿ•G6€q‘µ/ôœNÄZAµÐQ|ærÈ'㌫a‰Ì{Øá;ŸÀò&ÌþWç�Ù}çg˜k´çpÂ¥ÃÛÊÞÚ¦Æån×æ°«»žr A¤—œ]â,$üg•Ý5ú®TbÅ垘cïØ·«ÎØï1QÒ©€ |
1613 | 70 | œç××õAd“/:§ 0K"*Ž)V ,6 ©ò-VöVöT20„ÖŠ | 97 | œç××õAd“/:§ 0K"*Ž)V ,6 ©ò-VöVöT20„ÖŠ |
1614 | 98 | uÑŸÈ´æYÒÆ ¶¨Ïž^Óãs«Ù›Í$U{^!H | ||
1615 | 71 | æÀÄ[ýÃ_¨Ðq¤¿JukÙeÞbÞ#À¶Ž”äé0$3¤à—’¾ÕÂîÉ¿ | 99 | æÀÄ[ýÃ_¨Ðq¤¿JukÙeÞbÞ#À¶Ž”äé0$3¤à—’¾ÕÂîÉ¿ |
1616 | 72 | Sü�ÃðV¦F¯{QДm[ºÁ:ñfGGîN©©Æ×ñæfË–¹TžÿZPHî | 100 | Sü�ÃðV¦F¯{QДm[ºÁ:ñfGGîN©©Æ×ñæfË–¹TžÿZPHî |
1617 | 73 | Íí³Ê^!ÝÐd6 | 101 | Íí³Ê^!ÝÐd6 |
1618 | 74 | MÛZ¶¾àr÷DËí±:Ù–è_S'ÿ™K./¾‚®¼$=ûn¹zÂOdt¬äîr¯&@ç» «%¨N6•3$i�FýÑ–¤{óøntE”BhvÆúnÖD¬1Ò:c½¹0ó=tû!§Q"Õ\ | 102 | MÛZ¶¾àr÷DËí±:Ù–è_S'ÿ™K./¾‚®¼$=ûn¹zÂOdt¬äîr¯&@ç» «%¨N6•3$i�FýÑ–¤{óøntE”BhvÆúnÖD¬1Ò:c½¹0ó=tû!§Q"Õ\ |
1619 | 103 | JÙsý¼J }øf/ÍwÈû>ŒàRw | ||
1620 | 75 | Òi@‡•6-.J‡øæ | 104 | Òi@‡•6-.J‡øæ |
1621 | 76 | È_”xÊ%è»@ÑÚ–WúîÆ€©&›OKËÎ’¼Ç¡"ÅÒ²»|[sl®ÁjÈnwh‚ | 105 | È_”xÊ%è»@ÑÚ–WúîÆ€©&›OKËÎ’¼Ç¡"ÅÒ²»|[sl®ÁjÈnwh‚ |
1622 | 106 | ˜ | ||
1623 | 77 | V•«I | 107 | V•«I |
1624 | 78 | º`$E<*~&DÌÌ | 108 | º`$E<*~&DÌÌ |
1625 | 79 | »”`A]û>ÿÕ"Äs¯4‡ÖöžÉ´ | 109 | »”`A]û>ÿÕ"Äs¯4‡ÖöžÉ´ |
1626 | 80 | 110 | ||
1627 | 81 | e< | 111 | e< |
1628 | 82 | tÄ#{¾,8ŽÁ„Nx’ü | 112 | tÄ#{¾,8ŽÁ„Nx’ü |
1629 | 83 | æ "¡ðZ±Ãý`µ?Vr#ä | 113 | æ "¡ðZ±Ãý`µ?Vr#ä |
1630 | 114 | 3º¢” | ||
1631 | 84 | ÿ~‚’O&¸q«=,VºS•/Væ~åíqdD_5ÖWCŠB¿žOcDÔU�÷››,ÄÏh:cÛ7)¸ÊU]$·q×S.HöRÄ×_’ôì4*j>Ó©kè/"ª°Ê | 115 | ÿ~‚’O&¸q«=,VºS•/Væ~åíqdD_5ÖWCŠB¿žOcDÔU�÷››,ÄÏh:cÛ7)¸ÊU]$·q×S.HöRÄ×_’ôì4*j>Ó©kè/"ª°Ê |
1632 | 85 | q¼ | 116 | q¼ |
1633 | 86 | 9|êªA_MÈ!•° | 117 | 9|êªA_MÈ!•° |
1634 | 87 | z¿eï°ë©¨Žª,ã¢þŠMÿ— Õ-¹ðgwV„lŠ | 118 | z¿eï°ë©¨Žª,ã¢þŠMÿ— Õ-¹ðgwV„lŠ |
1635 | 88 | Ÿ | 119 | Ÿ |
1636 | 89 | žÚ¯Gª¨ KEOÄRAßÅCïCÇUóÑP | 120 | žÚ¯Gª¨ KEOÄRAßÅCïCÇUóÑP |
1637 | 90 | wz. "wGóņ õù�›¼:rËà»öÌ”tlÖ¾‹ðþÿ õ§„†¹’ú±Pg¾�ý7àÏ»¬ | 121 | wz. "wGóņ õù�›¼:rËà»öÌ”tlÖ¾‹ðþÿ õ§„†¹’ú±Pg¾�ý7àÏ»¬ |
1638 | 122 | endstream | ||
1639 | 123 | endobj | ||
1640 | 124 | 5 0 obj | ||
1641 | 125 | <</Type/XObject/Subtype/Image/Width 242/Height 57/ColorSpace/DeviceRGB/BitsPerComponent 8/Filter/DCTDecode/Interpolate true/Length 6665>> | ||
1642 | 126 | stream | ||
1643 | 127 | ÿØÿà JFIF H H ÿá | ||
1644 | 91 | µExif II* €ÿ b j ( ÿÿ1 | 128 | µExif II* €ÿ b j ( ÿÿ1 |
1645 | 92 |
debemos colocar todos los wizards como osv_memory, no haremos merge de
wizards con interface.
2011/7/3 echeverrifm <email address hidden>
> echeverrifm has proposed merging openerp. com.ve (nhomar) /code.launchpad .net/~openerp- mexico/ openerp- mexico- localization/ diot_report/ +merge/ 66712 /code.launchpad .net/~openerp- mexico/ openerp- mexico- localization/ diot_report/ +merge/ 66712 __init_ _.py' ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ## www.gnu. org/licenses/ ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ## __openerp_ _.py' __openerp_ _.py 1970-01-01 00:00:00 +0000 __openerp_ _.py 2011-07-03 04:57:25 +0000 ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ## www.gnu. org/licenses/
> lp:~openerp-mexico/openerp-mexico-localization/diot_report into
> lp:openerp-mexico-localization/6.0.
>
> Requested reviews:
> Nhomar (Vauxoo) - http://
>
> For more details, see:
>
> https:/
>
> Agregando modulo de Declaracion Informativa de operaciones con terceros (
> DIOT )
> --
>
> https:/
> You are requested to review the proposed merge of
> lp:~openerp-mexico/openerp-mexico-localization/diot_report into
> lp:openerp-mexico-localization/6.0.
>
> === added directory 'diot_mx'
> === added file 'diot_mx/
> --- diot_mx/__init__.py 1970-01-01 00:00:00 +0000
> +++ diot_mx/__init__.py 2011-07-03 04:57:25 +0000
> @@ -0,0 +1,21 @@
> +# -*- encoding: utf-8 -*-
>
> +######
> +#
> +# IVA for Mexico
> +# Copyright (C) 2010 Software All Rights Reserved
> +#
> +# This program is free software: you can redistribute it and/or modify
> +# it under the terms of the GNU General Public License as published by
> +# the Free Software Foundation, either version 3 of the License, or
> +# (at your option) any later version.
> +#
> +# This program is distributed in the hope that it will be useful,
> +# but WITHOUT ANY WARRANTY; without even the implied warranty of
> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> +# GNU General Public License for more details.
> +#
> +# You should have received a copy of the GNU General Public License
> +# along with this program. If not, see <http://
> >.
> +#
>
> +######
> +import wizard
>
> === added file 'diot_mx/
> --- diot_mx/
> +++ diot_mx/
> @@ -0,0 +1,39 @@
> +# -*- encoding: utf-8 -*-
>
> +######
> +#
> +# Modulo de Declaracion de Impuestos al Valor Agregado
> +# Copyright (C) 2010 Software All Rights Reserved
> +#
> +# $Id$
> +#
> +# This program is free software: you can redistribute it and/or modify
> +# it under the terms of the GNU General Public License as published by
> +# the Free Software Foundation, either version 3 of the License, or
> +# (at your option) any later version.
> +#
> +# This program is distributed in the hope that it will be useful,
> +# but WITHOUT ANY WARRANTY; without even the implied warranty of
> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> +# GNU General Public License for more details.
> +#
> +# You should have received a copy of the GNU General Public License
> +# along with this program. If not, see <http://
> >.
> +#
>
> +########...