Merge lp:~vauxoo/openerp-venezuela-localization/israel_invoice-nro-control-fiscal-integration into lp:~openerp-venezuela/openerp-venezuela-localization/6.0-trunk
- israel_invoice-nro-control-fiscal-integration
- Merge into 6.0-trunk
Proposed by
Israel Fermin Montilla
Status: | Merged |
---|---|
Merged at revision: | 391 |
Proposed branch: | lp:~vauxoo/openerp-venezuela-localization/israel_invoice-nro-control-fiscal-integration |
Merge into: | lp:~openerp-venezuela/openerp-venezuela-localization/6.0-trunk |
Diff against target: |
672 lines (+271/-246) 10 files modified
l10n_ve_fiscal_requirements/__init__.py (+2/-2) l10n_ve_fiscal_requirements/__openerp__.py (+22/-4) l10n_ve_fiscal_requirements/i18n/es_VE.po (+229/-121) l10n_ve_fiscal_requirements/invoice.py (+2/-5) l10n_ve_fiscal_requirements/partner.py (+5/-5) l10n_ve_fiscal_requirements/res_company.py (+2/-2) l10n_ve_fiscal_requirements/wizard/wizard_invoice_nro_ctrl.py (+9/-6) l10n_ve_invoice_nro_ctrl/__init__.py (+0/-28) l10n_ve_invoice_nro_ctrl/__openerp__.py (+0/-45) l10n_ve_invoice_nro_ctrl/model/__init__.py (+0/-28) |
To merge this branch: | bzr merge lp:~vauxoo/openerp-venezuela-localization/israel_invoice-nro-control-fiscal-integration |
Related bugs: | |
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nhomar - Vauxoo | Pending | ||
Review via email: mp+77752@code.launchpad.net |
Commit message
Description of the change
Integrated the damaged paper wizard with the fiscal requirements module, improved the documentation on the __openerp__.py, reviewed and corrected some English texts and re-translated the module
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'l10n_ve_fiscal_requirements/__init__.py' | |||
2 | --- l10n_ve_fiscal_requirements/__init__.py 2011-09-27 00:55:47 +0000 | |||
3 | +++ l10n_ve_fiscal_requirements/__init__.py 2011-09-30 19:05:29 +0000 | |||
4 | @@ -18,10 +18,10 @@ | |||
5 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
6 | 19 | # | 19 | # |
7 | 20 | ############################################################################## | 20 | ############################################################################## |
8 | 21 | |||
9 | 22 | import purchase | 21 | import purchase |
10 | 23 | import stock | 22 | import stock |
11 | 24 | import invoice | 23 | import invoice |
12 | 25 | import partner | 24 | import partner |
14 | 26 | 25 | import res_company | |
15 | 26 | import wizard | ||
16 | 27 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | 27 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
17 | 28 | 28 | ||
18 | === modified file 'l10n_ve_fiscal_requirements/__openerp__.py' | |||
19 | --- l10n_ve_fiscal_requirements/__openerp__.py 2011-09-27 01:19:42 +0000 | |||
20 | +++ l10n_ve_fiscal_requirements/__openerp__.py 2011-09-30 19:05:29 +0000 | |||
21 | @@ -26,18 +26,36 @@ | |||
22 | 26 | "author" : "Vauxoo", | 26 | "author" : "Vauxoo", |
23 | 27 | "website" : "http://vauxoo.com", | 27 | "website" : "http://vauxoo.com", |
24 | 28 | "category": 'Generic Modules/Accounting', | 28 | "category": 'Generic Modules/Accounting', |
27 | 29 | "description": """Requirements Venezuelan tax laws: | 29 | "description": """Venezuelan Tax Laws Requirements: |
28 | 30 | - Invoice reference | 30 | - Invoice Control Number |
29 | 31 | - Tax-except | 31 | - Tax-except |
30 | 32 | - Required address invoice | 32 | - Required address invoice |
31 | 33 | - Unique address invoice. | 33 | - Unique address invoice. |
32 | 34 | - VAT verification for Venezuela rules. | 34 | - VAT verification for Venezuela rules. |
33 | 35 | - Damaged invoices justification. | ||
34 | 36 | --------------------------------------------------------------------------- | ||
35 | 37 | For damaged invoices, you must go to the company and, under the configuration section, | ||
36 | 38 | create the corresponding journal and account. | ||
37 | 39 | |||
38 | 40 | ------------------------TECH INFO------------------------------------------- | ||
39 | 41 | CHANGELOG: | ||
40 | 42 | - For the migration to the l10n_ve on OpenERP: | ||
41 | 43 | - Changed the Invoice Ref label to Control Number | ||
42 | 44 | - Integrated the l10n_ve_nro_ctrl module functionality on this one | ||
43 | 45 | - Since the concept_id field is added by the l10n_ve_islr_withholding, an | ||
44 | 46 | error es rised if it's not installed and it is necesary to withhold | ||
45 | 47 | - If you need to withhold ISLR, you must install the module mentioned abofe | ||
46 | 48 | |||
47 | 49 | FURTHER DEVELOPMENT: | ||
48 | 50 | - Find a way to decouple this module and l10n_ve_islr_withholding | ||
49 | 35 | """, | 51 | """, |
50 | 36 | 'init_xml': [], | 52 | 'init_xml': [], |
51 | 37 | "depends" : ["base", "base_vat", "purchase", "stock", "account"], | 53 | "depends" : ["base", "base_vat", "purchase", "stock", "account"], |
52 | 38 | 'update_xml': [ | 54 | 'update_xml': [ |
55 | 39 | 'stock_view.xml', | 55 | 'view/stock_view.xml', |
56 | 40 | 'account_invoice_view.xml' | 56 | 'view/account_invoice_view.xml', |
57 | 57 | 'view/res_company_view.xml', | ||
58 | 58 | 'wizard/wizard_invoice_nro_ctrl_view.xml' | ||
59 | 41 | ], | 59 | ], |
60 | 42 | 'demo_xml': [], | 60 | 'demo_xml': [], |
61 | 43 | 'test': [], | 61 | 'test': [], |
62 | 44 | 62 | ||
63 | === modified file 'l10n_ve_fiscal_requirements/i18n/es_VE.po' | |||
64 | --- l10n_ve_fiscal_requirements/i18n/es_VE.po 2011-06-02 16:04:35 +0000 | |||
65 | +++ l10n_ve_fiscal_requirements/i18n/es_VE.po 2011-09-30 19:05:29 +0000 | |||
66 | @@ -4,10 +4,10 @@ | |||
67 | 4 | # | 4 | # |
68 | 5 | msgid "" | 5 | msgid "" |
69 | 6 | msgstr "" | 6 | msgstr "" |
71 | 7 | "Project-Id-Version: OpenERP Server 6.0.1\n" | 7 | "Project-Id-Version: OpenERP Server 6.0.3\n" |
72 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" |
75 | 9 | "POT-Creation-Date: 2011-04-04 20:01+0000\n" | 9 | "POT-Creation-Date: 2011-09-30 18:40+0000\n" |
76 | 10 | "PO-Revision-Date: 2011-04-04 20:01+0000\n" | 10 | "PO-Revision-Date: 2011-09-30 18:40+0000\n" |
77 | 11 | "Last-Translator: <>\n" | 11 | "Last-Translator: <>\n" |
78 | 12 | "Language-Team: \n" | 12 | "Language-Team: \n" |
79 | 13 | "MIME-Version: 1.0\n" | 13 | "MIME-Version: 1.0\n" |
80 | @@ -16,142 +16,250 @@ | |||
81 | 16 | "Plural-Forms: \n" | 16 | "Plural-Forms: \n" |
82 | 17 | 17 | ||
83 | 18 | #. module: l10n_ve_fiscal_requirements | 18 | #. module: l10n_ve_fiscal_requirements |
87 | 19 | #: sql_constraint:purchase.order:0 | 19 | #: help:res.company,account_id:0 |
88 | 20 | msgid "Order Reference must be unique !" | 20 | msgid "Default account used for invoices and lines from damaged invoices" |
89 | 21 | msgstr "¡La referencia del pedido debe ser única!" | 21 | msgstr "Cuenta por defecto para líneas y facturas dañadas" |
90 | 22 | |||
91 | 23 | #. module: l10n_ve_fiscal_requirements | ||
92 | 24 | #: code:addons/l10n_ve_fiscal_requirements/wizard/wizard_invoice_nro_ctrl.py:88 | ||
93 | 25 | #, python-format | ||
94 | 26 | msgid "You have to install the ISLR Withholding" | ||
95 | 27 | msgstr "Debe instalar el módulo para realizar retención de ISLR" | ||
96 | 22 | 28 | ||
97 | 23 | #. module: l10n_ve_fiscal_requirements | 29 | #. module: l10n_ve_fiscal_requirements |
98 | 24 | #: field:account.invoice,sin_cred:0 | 30 | #: field:account.invoice,sin_cred:0 |
99 | 25 | msgid "Tax-exempt?" | 31 | msgid "Tax-exempt?" |
127 | 26 | msgstr "Sin derecho a credito fiscal?" | 32 | msgstr "Libre de impuesto?" |
128 | 27 | 33 | ||
129 | 28 | #. module: l10n_ve_fiscal_requirements | 34 | #. module: l10n_ve_fiscal_requirements |
130 | 29 | #: model:ir.module.module,description:l10n_ve_fiscal_requirements.module_meta_information | 35 | #: view:wizard.invoice.nro.ctrl:0 |
131 | 30 | msgid "Requirements Venezuelan tax laws:\n" | 36 | msgid "Create an invoice to justify the damaged one" |
132 | 31 | " - Invoice reference\n" | 37 | msgstr "Crear una factura para justificar otra dañada" |
133 | 32 | " - Tax-exempt\n" | 38 | |
134 | 33 | " - Required address invoice\n" | 39 | #. module: l10n_ve_fiscal_requirements |
135 | 34 | " - Unique address invoice.\n" | 40 | #: view:res.company:0 |
136 | 35 | " " | 41 | msgid "Data used by default for invoices damaged" |
137 | 36 | msgstr "Requisitos fiscales de las leyes venezolanas:\n" | 42 | msgstr "Datos por defecto para facturas dañadas" |
138 | 37 | " - Nro. de control\n" | 43 | |
139 | 38 | " - excepto de credito fiscal\n" | 44 | #. module: l10n_ve_fiscal_requirements |
140 | 39 | " - Obligatoriedad de la dirección fiscal\n" | 45 | #: code:addons/l10n_ve_fiscal_requirements/wizard/wizard_invoice_nro_ctrl.py:113 |
141 | 40 | " - Singularidad de la dirección fiscal.\n" | 46 | #, python-format |
142 | 41 | " " | 47 | msgid "Please confirm that you know what you're doing by checking the option bellow!" |
143 | 42 | 48 | msgstr "Por favor, confirme que está seguro de que desea hacer esto!" | |
144 | 43 | #. module: l10n_ve_fiscal_requirements | 49 | |
145 | 44 | #: model:ir.model,name:l10n_ve_fiscal_requirements.model_purchase_order | 50 | #. module: l10n_ve_fiscal_requirements |
146 | 45 | msgid "Purchase Order" | 51 | #: constraint:res.company:0 |
147 | 46 | msgstr "Pedido de compra" | 52 | msgid "Error! You can not create recursive companies." |
148 | 47 | 53 | msgstr "Error! no puede crear compañías recursivas." | |
149 | 48 | #. module: l10n_ve_fiscal_requirements | 54 | |
150 | 49 | #: help:account.invoice,nro_ctrl:0 | 55 | #. module: l10n_ve_fiscal_requirements |
151 | 50 | #: help:stock.picking,nro_ctrl:0 | 56 | #: view:wizard.invoice.nro.ctrl:0 |
152 | 51 | msgid "Invoice reference" | 57 | msgid "Create Invoice" |
153 | 52 | msgstr "Número de control" | 58 | msgstr "Crear Factura" |
154 | 53 | 59 | ||
155 | 54 | #. module: l10n_ve_fiscal_requirements | 60 | #. module: l10n_ve_fiscal_requirements |
156 | 55 | #: model:ir.module.module,shortdesc:l10n_ve_fiscal_requirements.module_meta_information | 61 | #: model:ir.module.module,shortdesc:l10n_ve_fiscal_requirements.module_meta_information |
157 | 56 | msgid "Fiscal requirements Venezuelan laws" | 62 | msgid "Fiscal requirements Venezuelan laws" |
164 | 57 | msgstr "Requerimientos fiscales de las leyes venezolanas" | 63 | msgstr "Requerimientos fiscales de las Leyes Venezolanas" |
159 | 58 | |||
160 | 59 | #. module: l10n_ve_fiscal_requirements | ||
161 | 60 | #: model:ir.model,name:l10n_ve_fiscal_requirements.model_account_invoice | ||
162 | 61 | msgid "Invoice" | ||
163 | 62 | msgstr "Factura" | ||
165 | 63 | 64 | ||
166 | 64 | #. module: l10n_ve_fiscal_requirements | 65 | #. module: l10n_ve_fiscal_requirements |
167 | 65 | #: model:ir.model,name:l10n_ve_fiscal_requirements.model_stock_picking | 66 | #: model:ir.model,name:l10n_ve_fiscal_requirements.model_stock_picking |
168 | 66 | msgid "Picking List" | 67 | msgid "Picking List" |
170 | 67 | msgstr "Albarán" | 68 | msgstr "Lista de picking" |
171 | 69 | |||
172 | 70 | #. module: l10n_ve_fiscal_requirements | ||
173 | 71 | #: constraint:res.partner.address:0 | ||
174 | 72 | msgid "Error ! The partner already has an invoice address. " | ||
175 | 73 | msgstr "Error ! Este cliente ya tiene una dirección fiscal. " | ||
176 | 74 | |||
177 | 75 | #. module: l10n_ve_fiscal_requirements | ||
178 | 76 | #: model:ir.actions.act_window,name:l10n_ve_fiscal_requirements.menu_create_invoice_duplicate | ||
179 | 77 | msgid "Generate null paper" | ||
180 | 78 | msgstr "Generar papel dañado" | ||
181 | 79 | |||
182 | 80 | #. module: l10n_ve_fiscal_requirements | ||
183 | 81 | #: help:res.company,journal_id:0 | ||
184 | 82 | msgid "Default journal for damaged invoices" | ||
185 | 83 | msgstr "Diario por defecto para Facturas Dañadas" | ||
186 | 84 | |||
187 | 85 | #. module: l10n_ve_fiscal_requirements | ||
188 | 86 | #: sql_constraint:purchase.order:0 | ||
189 | 87 | msgid "Order Reference must be unique !" | ||
190 | 88 | msgstr "La referencia debe ser única !" | ||
191 | 89 | |||
192 | 90 | #. module: l10n_ve_fiscal_requirements | ||
193 | 91 | #: code:addons/l10n_ve_fiscal_requirements/wizard/wizard_invoice_nro_ctrl.py:50 | ||
194 | 92 | #: code:addons/l10n_ve_fiscal_requirements/wizard/wizard_invoice_nro_ctrl.py:88 | ||
195 | 93 | #, python-format | ||
196 | 94 | msgid "ERROR !" | ||
197 | 95 | msgstr "ERROR !" | ||
198 | 96 | |||
199 | 97 | #. module: l10n_ve_fiscal_requirements | ||
200 | 98 | #: field:res.company,journal_id:0 | ||
201 | 99 | msgid "Journal" | ||
202 | 100 | msgstr "Diario" | ||
203 | 101 | |||
204 | 102 | #. module: l10n_ve_fiscal_requirements | ||
205 | 103 | #: help:account.invoice,nro_ctrl:0 | ||
206 | 104 | msgid "Code used for intern invoice control" | ||
207 | 105 | msgstr "Código para control interno de facturas" | ||
208 | 68 | 106 | ||
209 | 69 | #. module: l10n_ve_fiscal_requirements | 107 | #. module: l10n_ve_fiscal_requirements |
210 | 70 | #: field:account.invoice,nro_ctrl:0 | 108 | #: field:account.invoice,nro_ctrl:0 |
211 | 109 | #: field:wizard.invoice.nro.ctrl,nro_ctrl:0 | ||
212 | 110 | msgid "Control Number" | ||
213 | 111 | msgstr "Número de control" | ||
214 | 112 | |||
215 | 113 | #. module: l10n_ve_fiscal_requirements | ||
216 | 114 | #: view:res.company:0 | ||
217 | 115 | msgid "Configuration" | ||
218 | 116 | msgstr "Configuración" | ||
219 | 117 | |||
220 | 118 | #. module: l10n_ve_fiscal_requirements | ||
221 | 71 | #: field:stock.picking,nro_ctrl:0 | 119 | #: field:stock.picking,nro_ctrl:0 |
222 | 72 | msgid "Invoice ref." | 120 | msgid "Invoice ref." |
224 | 73 | msgstr "Nro. Control" | 121 | msgstr "Número de Control" |
225 | 122 | |||
226 | 123 | #. module: l10n_ve_fiscal_requirements | ||
227 | 124 | #: field:res.company,account_id:0 | ||
228 | 125 | msgid "Account" | ||
229 | 126 | msgstr "Cuenta" | ||
230 | 127 | |||
231 | 128 | #. module: l10n_ve_fiscal_requirements | ||
232 | 129 | #: constraint:res.partner:0 | ||
233 | 130 | msgid "Error ! The partner does not have an invoice address. " | ||
234 | 131 | msgstr "Error ! Este cliente no posée una dirección fiscal. " | ||
235 | 132 | |||
236 | 133 | #. module: l10n_ve_fiscal_requirements | ||
237 | 134 | #: model:ir.actions.act_window,name:l10n_ve_fiscal_requirements.wizard_invoice_nro_control | ||
238 | 135 | msgid "Create null paper" | ||
239 | 136 | msgstr "Crear papel dañado" | ||
240 | 137 | |||
241 | 138 | #. module: l10n_ve_fiscal_requirements | ||
242 | 139 | #: model:ir.model,name:l10n_ve_fiscal_requirements.model_res_company | ||
243 | 140 | msgid "Companies" | ||
244 | 141 | msgstr "Compañías" | ||
245 | 142 | |||
246 | 143 | #. module: l10n_ve_fiscal_requirements | ||
247 | 144 | #: code:addons/l10n_ve_fiscal_requirements/wizard/wizard_invoice_nro_ctrl.py:50 | ||
248 | 145 | #, python-format | ||
249 | 146 | msgid "This partner does not have an invoice address" | ||
250 | 147 | msgstr "Este cliente no tiene una dirección fiscal" | ||
251 | 148 | |||
252 | 149 | #. module: l10n_ve_fiscal_requirements | ||
253 | 150 | #: model:ir.model,name:l10n_ve_fiscal_requirements.model_purchase_order | ||
254 | 151 | msgid "Purchase Order" | ||
255 | 152 | msgstr "Orden de compra" | ||
256 | 153 | |||
257 | 154 | #. module: l10n_ve_fiscal_requirements | ||
258 | 155 | #: code:addons/l10n_ve_fiscal_requirements/wizard/wizard_invoice_nro_ctrl.py:113 | ||
259 | 156 | #: code:addons/l10n_ve_fiscal_requirements/wizard/wizard_invoice_nro_ctrl.py:117 | ||
260 | 157 | #, python-format | ||
261 | 158 | msgid "Error!" | ||
262 | 159 | msgstr "Error!" | ||
263 | 160 | |||
264 | 161 | #. module: l10n_ve_fiscal_requirements | ||
265 | 162 | #: model:ir.model,name:l10n_ve_fiscal_requirements.model_wizard_invoice_nro_ctrl | ||
266 | 163 | msgid "wizard.invoice.nro.ctrl" | ||
267 | 164 | msgstr "wizard.invoice.nro.ctrl" | ||
268 | 165 | |||
269 | 166 | #. module: l10n_ve_fiscal_requirements | ||
270 | 167 | #: view:wizard.invoice.nro.ctrl:0 | ||
271 | 168 | msgid "Are you sure you want to do this?" | ||
272 | 169 | msgstr "¿Está seguro de que desea hacer esto?" | ||
273 | 74 | 170 | ||
274 | 75 | #. module: l10n_ve_fiscal_requirements | 171 | #. module: l10n_ve_fiscal_requirements |
275 | 76 | #: help:account.invoice,sin_cred:0 | 172 | #: help:account.invoice,sin_cred:0 |
350 | 77 | msgid "setting to true if the invoice is exempt from V.A.T" | 173 | msgid "Set it true if the invoice is V.A.T. exempt" |
351 | 78 | msgstr "Seleccione esta casilla si la factura no tiene derecho a credito fiscal " | 174 | msgstr "Marcar si la factura es libre de impuesto" |
352 | 79 | 175 | ||
353 | 80 | #. module: l10n_ve_fiscal_requirements | 176 | #. module: l10n_ve_fiscal_requirements |
354 | 81 | #: constraint:res.partner.address:0 | 177 | #: field:wizard.invoice.nro.ctrl,sure:0 |
355 | 82 | msgid "Error ! The partner already have an invoice address. " | 178 | msgid "Are You Sure?" |
356 | 83 | msgstr "Error ! El cliente/proveedor ya posee una dirección fiscal. " | 179 | msgstr "¿Está seguro?" |
357 | 84 | 180 | ||
358 | 85 | #. module: l10n_ve_fiscal_requirements | 181 | #. module: l10n_ve_fiscal_requirements |
359 | 86 | #: constraint:res.partner:0 | 182 | #: help:stock.picking,nro_ctrl:0 |
360 | 87 | msgid "Error ! The partner does not have an invoice address. " | 183 | msgid "Invoice reference" |
361 | 88 | msgstr "Error ! No ha definido una direccion fiscal. " | 184 | msgstr "Referencia" |
362 | 89 | 185 | ||
363 | 90 | 186 | #. module: l10n_ve_fiscal_requirements | |
364 | 91 | #. module: base_vat | 187 | #: help:wizard.invoice.nro.ctrl,nro_ctrl:0 |
365 | 92 | #: code:addons/base_vat/base_vat.py:87 | 188 | msgid "New control number of the invoice damaged." |
366 | 93 | #, python-format | 189 | msgstr "Nuevo número de control para la factura dañada." |
367 | 94 | msgid "" | 190 | |
368 | 95 | "The Vat does not seems to be correct. You should have entered something like " | 191 | #. module: l10n_ve_fiscal_requirements |
369 | 96 | "this %s" | 192 | #: code:addons/l10n_ve_fiscal_requirements/wizard/wizard_invoice_nro_ctrl.py:117 |
370 | 97 | msgstr "" | 193 | #, python-format |
371 | 98 | "El RIF parece que no es correcto. Debería haber introducido algo como " | 194 | msgid "You must go to the company form and configure a journal and an account for damaged invoices" |
372 | 99 | "esto %s" | 195 | msgstr "Debe ir a la compañía y configurar un diario y una cuenta para facturas dañadas" |
373 | 100 | 196 | ||
374 | 101 | #. module: base_vat | 197 | #. module: l10n_ve_fiscal_requirements |
375 | 102 | #: model:ir.module.module,description:base_vat.module_meta_information | 198 | #: model:ir.model,name:l10n_ve_fiscal_requirements.model_account_invoice |
376 | 103 | msgid "" | 199 | msgid "Invoice" |
377 | 104 | "\n" | 200 | msgstr "Factura" |
378 | 105 | " Enable the VAT Number for the partner. Check the validity of that VAT " | 201 | |
379 | 106 | "Number.\n" | 202 | #. module: l10n_ve_fiscal_requirements |
380 | 107 | "\n" | 203 | #: model:ir.module.module,description:l10n_ve_fiscal_requirements.module_meta_information |
381 | 108 | " This module follows the methods stated at http://sima-pc.com/nif.php " | 204 | msgid "Venezuelan Tax Laws Requirements:\n" |
382 | 109 | "for\n" | 205 | " - Invoice Control Number\n" |
383 | 110 | " checking the validity of VAT Number assigned to partners in European " | 206 | " - Tax-except\n" |
384 | 111 | "countries.\n" | 207 | " - Required address invoice\n" |
385 | 112 | " " | 208 | " - Unique address invoice.\n" |
386 | 113 | msgstr "" | 209 | " - VAT verification for Venezuela rules.\n" |
387 | 114 | "\n" | 210 | " - Damaged invoices justification.\n" |
388 | 115 | " Permite la validación del RIF/NIT de las empresas. Comprueba si el " | 211 | " ---------------------------------------------------------------------------\n" |
389 | 116 | "RIF es un número válido.\n" | 212 | " For damaged invoices, you must go to the company and, under the configuration section,\n" |
390 | 117 | "\n" | 213 | " create the corresponding journal and account.\n" |
391 | 118 | " Este módulo usa los métodos especificados en http://sima-pc.com/nif.php " | 214 | "\n" |
392 | 119 | "para\n" | 215 | " ------------------------TECH INFO-------------------------------------------\n" |
393 | 120 | " la validación del RIF/NIT asignado a las empresas de los países " | 216 | " CHANGELOG:\n" |
394 | 121 | "europeos.\n" | 217 | " - For the migration to the l10n_ve on OpenERP:\n" |
395 | 122 | " " | 218 | " - Changed the Invoice Ref label to Control Number\n" |
396 | 123 | 219 | " - Integrated the l10n_ve_nro_ctrl module functionality on this one\n" | |
397 | 124 | #. module: base_vat | 220 | " - Since the concept_id field is added by the l10n_ve_islr_withholding, an\n" |
398 | 125 | #: model:ir.module.module,shortdesc:base_vat.module_meta_information | 221 | " error es rised if it's not installed and it is necesary to withhold\n" |
399 | 126 | msgid "Base VAT - To check VAT number validity" | 222 | " - If you need to withhold ISLR, you must install the module mentioned abofe\n" |
400 | 127 | msgstr "Base RIF/NIT - Para comprobar la validez de los RIT/NIT" | 223 | "\n" |
401 | 128 | 224 | " FURTHER DEVELOPMENT:\n" | |
402 | 129 | #. module: base_vat | 225 | " - Find a way to decouple this module and l10n_ve_islr_withholding\n" |
403 | 130 | #: constraint:res.partner:0 | 226 | " " |
404 | 131 | msgid "Error ! You can not create recursive associated members." | 227 | msgstr "Requerimientos fiscales de las Leyes Venezolanas:\n" |
405 | 132 | msgstr "¡Error! No puede crear miembros asociados recursivos." | 228 | " - Número de control para facturas\n" |
406 | 133 | 229 | " - Excento de impuesto\n" | |
407 | 134 | #. module: base_vat | 230 | " - Se requiere de una dirección fiscal\n" |
408 | 135 | #: code:addons/base_vat/base_vat.py:88 | 231 | " - Dirección de facturación única.\n" |
409 | 136 | #, python-format | 232 | " - Verificación de RIF.\n" |
410 | 137 | msgid "The VAT is invalid, It should begin with the country code" | 233 | " - Justificación de facturas dañadas.\n" |
411 | 138 | msgstr "El RIF no es válido, debería empezar con el código del país" | 234 | " ---------------------------------------------------------------------------\n" |
412 | 139 | 235 | " Para justificar facturas dañadas, debe ir a la compañía y, en la pestaña de Configuración,\n" | |
413 | 140 | #. module: base_vat | 236 | " crear el diario y la cuenta cosrrespondiente.\n" |
414 | 141 | #: help:res.partner,vat_subjected:0 | 237 | "\n" |
415 | 142 | msgid "" | 238 | " ------------------------Info Técnica-------------------------------------------\n" |
416 | 143 | "Check this box if the partner is subjected to the VAT. It will be used for " | 239 | " CHANGELOG:\n" |
417 | 144 | "the VAT legal statement." | 240 | " - Para la migración de la localización a la versión 6:\n" |
418 | 145 | msgstr "" | 241 | " - Se cambió la etiqueta de referencia de factura a Número de Control\n" |
419 | 146 | "Marque esta opción si la empresa está sujeta al IVA. Será utilizado para la " | 242 | " - Se integró la funcionalidad del módulo l10n_invoice_nro_ctrl\n" |
420 | 147 | "declaración legal del IVA." | 243 | " - Debido a que el campo concept_id es agregado por el módulo l10n_ve_islr_withholding, se genera un\n" |
421 | 148 | 244 | " error si dicho módulo no está instalado, es decir, si el campo no existe\n" | |
422 | 149 | #. module: base_vat | 245 | " - Si necesita retener ISLR, debe instalar el módulo mencionado anteriormente\n" |
423 | 150 | #: model:ir.model,name:base_vat.model_res_partner | 246 | "\n" |
424 | 247 | " Desarrollos futuros:\n" | ||
425 | 248 | " - Desacoplar este módulo y el de retención de ISLR\n" | ||
426 | 249 | " " | ||
427 | 250 | |||
428 | 251 | #. module: l10n_ve_fiscal_requirements | ||
429 | 252 | #: view:wizard.invoice.nro.ctrl:0 | ||
430 | 253 | msgid "Cancel" | ||
431 | 254 | msgstr "Cancelar" | ||
432 | 255 | |||
433 | 256 | #. module: l10n_ve_fiscal_requirements | ||
434 | 257 | #: model:ir.model,name:l10n_ve_fiscal_requirements.model_res_partner | ||
435 | 151 | msgid "Partner" | 258 | msgid "Partner" |
442 | 152 | msgstr "Empresa" | 259 | msgstr "Cliente" |
443 | 153 | 260 | ||
444 | 154 | #. module: base_vat | 261 | #. module: l10n_ve_fiscal_requirements |
445 | 155 | #: field:res.partner,vat_subjected:0 | 262 | #: model:ir.model,name:l10n_ve_fiscal_requirements.model_res_partner_address |
446 | 156 | msgid "VAT Legal Statement" | 263 | msgid "Partner Addresses" |
447 | 157 | msgstr "Sujeto a IVA" | 264 | msgstr "Direcciones de Clientes" |
448 | 265 | |||
449 | 158 | 266 | ||
450 | === modified file 'l10n_ve_fiscal_requirements/invoice.py' | |||
451 | --- l10n_ve_fiscal_requirements/invoice.py 2011-09-30 15:40:19 +0000 | |||
452 | +++ l10n_ve_fiscal_requirements/invoice.py 2011-09-30 19:05:29 +0000 | |||
453 | @@ -25,12 +25,9 @@ | |||
454 | 25 | class account_invoice(osv.osv): | 25 | class account_invoice(osv.osv): |
455 | 26 | _inherit = 'account.invoice' | 26 | _inherit = 'account.invoice' |
456 | 27 | _columns = { | 27 | _columns = { |
459 | 28 | 'nro_ctrl': fields.char('Control Number', size=32, readonly=True, states={'draft':[('readonly',False)]}, help="Invoice reference"), | 28 | 'nro_ctrl': fields.char('Control Number', size=32, readonly=True, states={'draft':[('readonly',False)]}, help="Code used for intern invoice control"), |
460 | 29 | 'sin_cred': fields.boolean('Tax-exempt?', readonly=False, help="setting to true if the invoice is exempt from V.A.T"), | 29 | 'sin_cred': fields.boolean('Tax-exempt?', readonly=False, help="Set it true if the invoice is V.A.T. exempt"), |
461 | 30 | } | 30 | } |
462 | 31 | |||
463 | 32 | |||
464 | 33 | |||
465 | 34 | account_invoice() | 31 | account_invoice() |
466 | 35 | 32 | ||
467 | 36 | 33 | ||
468 | 37 | 34 | ||
469 | === modified file 'l10n_ve_fiscal_requirements/partner.py' | |||
470 | --- l10n_ve_fiscal_requirements/partner.py 2011-09-29 20:04:51 +0000 | |||
471 | +++ l10n_ve_fiscal_requirements/partner.py 2011-09-30 19:05:29 +0000 | |||
472 | @@ -26,7 +26,7 @@ | |||
473 | 26 | _inherit='res.partner.address' | 26 | _inherit='res.partner.address' |
474 | 27 | 27 | ||
475 | 28 | ''' | 28 | ''' |
477 | 29 | Unique address invoice | 29 | Invoice Address uniqueness check |
478 | 30 | ''' | 30 | ''' |
479 | 31 | def _check_addr_invoice(self,cr,uid,ids,context={}): | 31 | def _check_addr_invoice(self,cr,uid,ids,context={}): |
480 | 32 | obj_addr = self.browse(cr,uid,ids[0]) | 32 | obj_addr = self.browse(cr,uid,ids[0]) |
481 | @@ -42,7 +42,7 @@ | |||
482 | 42 | 42 | ||
483 | 43 | 43 | ||
484 | 44 | _constraints = [ | 44 | _constraints = [ |
486 | 45 | (_check_addr_invoice, 'Error ! The partner already have an invoice address. ', []) | 45 | (_check_addr_invoice, 'Error ! The partner already has an invoice address. ', []) |
487 | 46 | ] | 46 | ] |
488 | 47 | 47 | ||
489 | 48 | res_partner_address() | 48 | res_partner_address() |
490 | @@ -52,7 +52,7 @@ | |||
491 | 52 | _inherit = 'res.partner' | 52 | _inherit = 'res.partner' |
492 | 53 | 53 | ||
493 | 54 | ''' | 54 | ''' |
495 | 55 | Required address invoice | 55 | Required Invoice Address |
496 | 56 | ''' | 56 | ''' |
497 | 57 | def _check_partner_invoice_addr(self,cr,uid,ids,context={}): | 57 | def _check_partner_invoice_addr(self,cr,uid,ids,context={}): |
498 | 58 | partner_obj = self.browse(cr,uid,ids[0]) | 58 | partner_obj = self.browse(cr,uid,ids[0]) |
499 | @@ -79,8 +79,8 @@ | |||
500 | 79 | 79 | ||
501 | 80 | def check_vat_ve(self, vat): | 80 | def check_vat_ve(self, vat): |
502 | 81 | ''' | 81 | ''' |
505 | 82 | Check Venezuela VAT number. | 82 | Check Venezuelan VAT number, locally caled RIF. |
506 | 83 | Registro de Identificacion Fiscal Venezolana RIF: JXXXXXXXXX RIF CEDULA VENEZOLANO: VXXXXXXXXX CEDULA EXTRANJERO: EXXXXXXXXX | 83 | RIF: JXXXXXXXXX RIF CEDULA VENEZOLANO: VXXXXXXXXX CEDULA EXTRANJERO: EXXXXXXXXX |
507 | 84 | ''' | 84 | ''' |
508 | 85 | if len(vat) != 10: | 85 | if len(vat) != 10: |
509 | 86 | return False | 86 | return False |
510 | 87 | 87 | ||
511 | === renamed file 'l10n_ve_invoice_nro_ctrl/model/res_company.py' => 'l10n_ve_fiscal_requirements/res_company.py' | |||
512 | --- l10n_ve_invoice_nro_ctrl/model/res_company.py 2011-09-29 22:58:21 +0000 | |||
513 | +++ l10n_ve_fiscal_requirements/res_company.py 2011-09-30 19:05:29 +0000 | |||
514 | @@ -34,8 +34,8 @@ | |||
515 | 34 | class res_company(osv.osv): | 34 | class res_company(osv.osv): |
516 | 35 | _inherit = 'res.company' | 35 | _inherit = 'res.company' |
517 | 36 | _columns = { | 36 | _columns = { |
520 | 37 | 'journal_id': fields.many2one('account.journal', 'Journal',required=True,help="Journal used by default for invoices damaged"), | 37 | 'journal_id': fields.many2one('account.journal', 'Journal',required=True,help="Default journal for damaged invoices"), |
521 | 38 | 'account_id': fields.many2one('account.account', 'Account',required=True,help="Account used by default for invoices and lines of invoices damaged"), | 38 | 'account_id': fields.many2one('account.account', 'Account',required=True,help="Default account used for invoices and lines from damaged invoices"), |
522 | 39 | } | 39 | } |
523 | 40 | res_company() | 40 | res_company() |
524 | 41 | 41 | ||
525 | 42 | 42 | ||
526 | === renamed directory 'l10n_ve_invoice_nro_ctrl/view' => 'l10n_ve_fiscal_requirements/view' | |||
527 | === renamed file 'l10n_ve_fiscal_requirements/account_invoice_view.xml' => 'l10n_ve_fiscal_requirements/view/account_invoice_view.xml' | |||
528 | === renamed file 'l10n_ve_fiscal_requirements/stock_view.xml' => 'l10n_ve_fiscal_requirements/view/stock_view.xml' | |||
529 | === renamed directory 'l10n_ve_invoice_nro_ctrl/wizard' => 'l10n_ve_fiscal_requirements/wizard' | |||
530 | === modified file 'l10n_ve_fiscal_requirements/wizard/wizard_invoice_nro_ctrl.py' | |||
531 | --- l10n_ve_invoice_nro_ctrl/wizard/wizard_invoice_nro_ctrl.py 2011-09-30 15:03:28 +0000 | |||
532 | +++ l10n_ve_fiscal_requirements/wizard/wizard_invoice_nro_ctrl.py 2011-09-30 19:05:29 +0000 | |||
533 | @@ -77,12 +77,15 @@ | |||
534 | 77 | 'quantity': 0, | 77 | 'quantity': 0, |
535 | 78 | 'invoice_id': inv_id, | 78 | 'invoice_id': inv_id, |
536 | 79 | }) | 79 | }) |
543 | 80 | for inv_line in inv_brw.invoice_line: | 80 | try: |
544 | 81 | if inv_line.concept_id or False: | 81 | for inv_line in inv_brw.invoice_line: |
545 | 82 | invoice_line.update({ | 82 | if inv_line.concept_id or False: |
546 | 83 | 'concept_id':inv_line.concept_id.id, | 83 | invoice_line.update({ |
547 | 84 | }) | 84 | 'concept_id': inv_line.concept_id.id or 1, |
548 | 85 | break | 85 | }) |
549 | 86 | break | ||
550 | 87 | except: | ||
551 | 88 | raise osv.except_osv(_("ERROR !"), _("You have to install the ISLR Withholding")) | ||
552 | 86 | invoice_line_id = invoice_line_obj.create(cr, uid, invoice_line, {}) | 89 | invoice_line_id = invoice_line_obj.create(cr, uid, invoice_line, {}) |
553 | 87 | return inv_id | 90 | return inv_id |
554 | 88 | 91 | ||
555 | 89 | 92 | ||
556 | === removed directory 'l10n_ve_invoice_nro_ctrl' | |||
557 | === removed file 'l10n_ve_invoice_nro_ctrl/__init__.py' | |||
558 | --- l10n_ve_invoice_nro_ctrl/__init__.py 2011-09-29 23:01:25 +0000 | |||
559 | +++ l10n_ve_invoice_nro_ctrl/__init__.py 1970-01-01 00:00:00 +0000 | |||
560 | @@ -1,28 +0,0 @@ | |||
561 | 1 | #!/usr/bin/python | ||
562 | 2 | # -*- encoding: utf-8 -*- | ||
563 | 3 | ########################################################################### | ||
564 | 4 | # Module Writen to OpenERP, Open Source Management Solution | ||
565 | 5 | # Copyright (C) OpenERP Venezuela (<http://openerp.com.ve>). | ||
566 | 6 | # All Rights Reserved | ||
567 | 7 | ###############Credits###################################################### | ||
568 | 8 | # Coded by: Maria Gabriela Quilarque <gabrielaquilarque97@gmail.com> | ||
569 | 9 | # Planified by: Nhomar Hernandez | ||
570 | 10 | # Finance by: Helados Gilda, C.A. http://heladosgilda.com.ve | ||
571 | 11 | # Audited by: Humberto Arocha humberto@openerp.com.ve | ||
572 | 12 | ############################################################################# | ||
573 | 13 | # This program is free software: you can redistribute it and/or modify | ||
574 | 14 | # it under the terms of the GNU General Public License as published by | ||
575 | 15 | # the Free Software Foundation, either version 3 of the License, or | ||
576 | 16 | # (at your option) any later version. | ||
577 | 17 | # | ||
578 | 18 | # This program is distributed in the hope that it will be useful, | ||
579 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
580 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
581 | 21 | # GNU General Public License for more details. | ||
582 | 22 | # | ||
583 | 23 | # You should have received a copy of the GNU General Public License | ||
584 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
585 | 25 | ############################################################################## | ||
586 | 26 | |||
587 | 27 | import wizard | ||
588 | 28 | import model | ||
589 | 29 | 0 | ||
590 | === removed file 'l10n_ve_invoice_nro_ctrl/__openerp__.py' | |||
591 | --- l10n_ve_invoice_nro_ctrl/__openerp__.py 2011-09-30 13:56:49 +0000 | |||
592 | +++ l10n_ve_invoice_nro_ctrl/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
593 | @@ -1,45 +0,0 @@ | |||
594 | 1 | #!/usr/bin/python | ||
595 | 2 | # -*- encoding: utf-8 -*- | ||
596 | 3 | ########################################################################### | ||
597 | 4 | # Module Writen to OpenERP, Open Source Management Solution | ||
598 | 5 | # Copyright (C) OpenERP Venezuela (<http://openerp.com.ve>). | ||
599 | 6 | # All Rights Reserved | ||
600 | 7 | ###############Credits###################################################### | ||
601 | 8 | # Coded by: Maria Gabriela Quilarque <gabrielaquilarque97@gmail.com> | ||
602 | 9 | # Planified by: Nhomar Hernandez | ||
603 | 10 | # Finance by: Helados Gilda, C.A. http://heladosgilda.com.ve | ||
604 | 11 | # Audited by: Humberto Arocha humberto@openerp.com.ve | ||
605 | 12 | ############################################################################# | ||
606 | 13 | # This program is free software: you can redistribute it and/or modify | ||
607 | 14 | # it under the terms of the GNU General Public License as published by | ||
608 | 15 | # the Free Software Foundation, either version 3 of the License, or | ||
609 | 16 | # (at your option) any later version. | ||
610 | 17 | # | ||
611 | 18 | # This program is distributed in the hope that it will be useful, | ||
612 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
613 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
614 | 21 | # GNU General Public License for more details. | ||
615 | 22 | # | ||
616 | 23 | # You should have received a copy of the GNU General Public License | ||
617 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
618 | 25 | ############################################################################## | ||
619 | 26 | |||
620 | 27 | { | ||
621 | 28 | "name" : "Generate Invoice Damaged", | ||
622 | 29 | "version" : "0.1", | ||
623 | 30 | "author" : "Openerp Venezuela", | ||
624 | 31 | "category" : "Generic Modules/Others", | ||
625 | 32 | "website": "http://wiki.openerp.org.ve/", | ||
626 | 33 | "description": ''' | ||
627 | 34 | Generate Invoice from customer invoice form, | ||
628 | 35 | for justify invoice(paper) damaged. | ||
629 | 36 | ''', | ||
630 | 37 | "depends" : ["account", "l10n_ve_islr_withholding"], | ||
631 | 38 | "init_xml" : [], | ||
632 | 39 | "update_xml" : [ | ||
633 | 40 | "wizard/wizard_invoice_nro_ctrl_view.xml", | ||
634 | 41 | "view/res_company_view.xml", | ||
635 | 42 | ], | ||
636 | 43 | "active": False, | ||
637 | 44 | "installable": True | ||
638 | 45 | } | ||
639 | 46 | 0 | ||
640 | === removed directory 'l10n_ve_invoice_nro_ctrl/model' | |||
641 | === removed file 'l10n_ve_invoice_nro_ctrl/model/__init__.py' | |||
642 | --- l10n_ve_invoice_nro_ctrl/model/__init__.py 2011-09-29 22:58:21 +0000 | |||
643 | +++ l10n_ve_invoice_nro_ctrl/model/__init__.py 1970-01-01 00:00:00 +0000 | |||
644 | @@ -1,28 +0,0 @@ | |||
645 | 1 | # -*- encoding: utf-8 -*- | ||
646 | 2 | ############################################################################## | ||
647 | 3 | # Copyright (c) 2011 OpenERP Venezuela (http://openerp.com.ve) | ||
648 | 4 | # All Rights Reserved. | ||
649 | 5 | # Programmed by: Israel Fermín Montilla <israel@openerp.com.ve> | ||
650 | 6 | # | ||
651 | 7 | # WARNING: This program as such is intended to be used by professional | ||
652 | 8 | # programmers who take the whole responsability of assessing all potential | ||
653 | 9 | # consequences resulting from its eventual inadequacies and bugs | ||
654 | 10 | # End users who are looking for a ready-to-use solution with commercial | ||
655 | 11 | # garantees and support are strongly adviced to contract a Free Software | ||
656 | 12 | # Service Company | ||
657 | 13 | # | ||
658 | 14 | # This program is Free Software; you can redistribute it and/or | ||
659 | 15 | # modify it under the terms of the GNU General Public License | ||
660 | 16 | # as published by the Free Software Foundation; either version 2 | ||
661 | 17 | # of the License, or (at your option) any later version. | ||
662 | 18 | # | ||
663 | 19 | # This program is distributed in the hope that it will be useful, | ||
664 | 20 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
665 | 21 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
666 | 22 | # GNU General Public License for more details. | ||
667 | 23 | # | ||
668 | 24 | # You should have received a copy of the GNU General Public License | ||
669 | 25 | # along with this program; if not, write to the Free Software | ||
670 | 26 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
671 | 27 | ############################################################################### | ||
672 | 28 | import res_company |