Merge lp:~pedro.baeza/openerp-spain/7.0-l10n_es_bank_statement into lp:~openerp-spain-team/openerp-spain/7.0
- 7.0-l10n_es_bank_statement
- Merge into 7.0
Proposed by
Pedro Manuel Baeza
Status: | Merged |
---|---|
Merged at revision: | 479 |
Proposed branch: | lp:~pedro.baeza/openerp-spain/7.0-l10n_es_bank_statement |
Merge into: | lp:~openerp-spain-team/openerp-spain/7.0 |
Diff against target: |
4783 lines (+1115/-3435) 24 files modified
___unported__/l10n_es_bank_statement/account_bank_statement.py (+0/-241) ___unported__/l10n_es_bank_statement/concepto.py (+0/-64) ___unported__/l10n_es_bank_statement/data/extractos_conceptos.xml (+0/-100) ___unported__/l10n_es_bank_statement/extractos_view.xml (+0/-123) ___unported__/l10n_es_bank_statement/i18n/ca.po (+0/-547) ___unported__/l10n_es_bank_statement/i18n/gl.po (+0/-573) ___unported__/l10n_es_bank_statement/import_c43_file.py (+0/-492) ___unported__/l10n_es_bank_statement/import_c43_file_view.xml (+0/-47) ___unported__/l10n_es_bank_statement/import_conceptos.py (+0/-161) ___unported__/l10n_es_bank_statement/security/concepto_security.xml (+0/-14) ___unported__/l10n_es_bank_statement/security/ir.model.access.csv (+0/-3) l10n_es_bank_statement/__init__.py (+6/-21) l10n_es_bank_statement/__openerp__.py (+29/-47) l10n_es_bank_statement/data/account_statement_completion_rule_data.xml (+18/-0) l10n_es_bank_statement/i18n/es.po (+191/-551) l10n_es_bank_statement/i18n/l10n_es_bank_statement.pot (+181/-451) l10n_es_bank_statement/models/__init__.py (+26/-0) l10n_es_bank_statement/models/account_bank_statement.py (+53/-0) l10n_es_bank_statement/models/account_statement_completion_rule.py (+136/-0) l10n_es_bank_statement/models/account_statement_profile.py (+68/-0) l10n_es_bank_statement/models/c43_account_statement_profile.py (+35/-0) l10n_es_bank_statement/models/c43_parser.py (+241/-0) l10n_es_bank_statement/static/src/img/icon.svg (+111/-0) l10n_es_bank_statement/views/account_bank_statement_view.xml (+20/-0) |
To merge this branch: | bzr merge lp:~pedro.baeza/openerp-spain/7.0-l10n_es_bank_statement |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Spain Team | Pending | ||
Review via email: mp+204138@code.launchpad.net |
Commit message
Description of the change
Adaptación de la importación de los extractos bancarios C43 a la versión 7 utilizando los banking-addons.
To post a comment you must log in.
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote : | # |
- 418. By Pedro Manuel Baeza
-
[IMP] Icono y traducciones.
- 419. By Pedro Manuel Baeza
-
[IMP] Reglas cambiadas y actualizada traducción.
- 420. By Pedro Manuel Baeza
-
MERGE de los cambios en el repositorio.
- 421. By Pedro Manuel Baeza
-
[FIX] Reglas de auto-completado corregidas
- 422. By Pedro Manuel Baeza
-
[FIX] XML-ID de la regla genérica.
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote : | # |
Procedo a hacer el merge, dado el tiempo transcurrido.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === removed file '___unported__/l10n_es_bank_statement/account_bank_statement.py' | |||
2 | --- ___unported__/l10n_es_bank_statement/account_bank_statement.py 2014-02-24 14:45:52 +0000 | |||
3 | +++ ___unported__/l10n_es_bank_statement/account_bank_statement.py 1970-01-01 00:00:00 +0000 | |||
4 | @@ -1,241 +0,0 @@ | |||
5 | 1 | # -*- coding: utf-8 -*- | ||
6 | 2 | ############################################################################## | ||
7 | 3 | # | ||
8 | 4 | # OpenERP, Open Source Management Solution | ||
9 | 5 | # Copyright (c) 2009 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. | ||
10 | 6 | # Jordi Esteve <jesteve@zikzakmedia.com> | ||
11 | 7 | # Copyright (c) 2010 Pexego Sistemas Informáticos. All Rights Reserved | ||
12 | 8 | # Borja López Soilán <borjals@pexego.es> | ||
13 | 9 | # Copyright (c) 2011 Pexego Sistemas Informáticos. All Rights Reserved | ||
14 | 10 | # Alberto Luengo Cabanillas <alberto@pexego.es> | ||
15 | 11 | # Copyright (c) 2011 Acysos S.L. All Rights Reserved | ||
16 | 12 | # Ignacio Ibeas Izquierdo <ignacio@acysos.com> | ||
17 | 13 | # $Id$ | ||
18 | 14 | # | ||
19 | 15 | # This program is free software: you can redistribute it and/or modify | ||
20 | 16 | # it under the terms of the GNU Affero General Public License as published by | ||
21 | 17 | # the Free Software Foundation, either version 3 of the License, or | ||
22 | 18 | # (at your option) any later version. | ||
23 | 19 | # | ||
24 | 20 | # This program is distributed in the hope that it will be useful, | ||
25 | 21 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
26 | 22 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
27 | 23 | # GNU Affero General Public License for more details. | ||
28 | 24 | # | ||
29 | 25 | # You should have received a copy of the GNU Affero General Public License | ||
30 | 26 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
31 | 27 | # | ||
32 | 28 | ############################################################################## | ||
33 | 29 | |||
34 | 30 | """ | ||
35 | 31 | C43 format concepts and extension of the bank statement lines. | ||
36 | 32 | """ | ||
37 | 33 | |||
38 | 34 | from osv import osv | ||
39 | 35 | from openerp.tools.translate import _ | ||
40 | 36 | |||
41 | 37 | class account_bank_statement_line(osv.osv): | ||
42 | 38 | """ | ||
43 | 39 | Extends the bank statement lines to try to set the right reconciliation | ||
44 | 40 | for lines edited by hand. | ||
45 | 41 | """ | ||
46 | 42 | |||
47 | 43 | _inherit = "account.bank.statement.line" | ||
48 | 44 | |||
49 | 45 | def generate_voucher_from_import_wizard(self, cr, uid, statement_id, statement_line, line_ids, context): | ||
50 | 46 | """ | ||
51 | 47 | Generate a voucher when conciling lines from an AEB43 extract statement | ||
52 | 48 | """ | ||
53 | 49 | line_obj = self.pool.get('account.move.line') | ||
54 | 50 | statement_obj = self.pool.get('account.bank.statement') | ||
55 | 51 | currency_obj = self.pool.get('res.currency') | ||
56 | 52 | voucher_obj = self.pool.get('account.voucher') | ||
57 | 53 | voucher_line_obj = self.pool.get('account.voucher.line') | ||
58 | 54 | statement = statement_obj.browse(cr, uid, statement_id, context=context) | ||
59 | 55 | |||
60 | 56 | # for each selected move lines | ||
61 | 57 | for line in line_obj.browse(cr, uid, line_ids, context=context): | ||
62 | 58 | ctx = context.copy() | ||
63 | 59 | # take the date for computation of currency => use payment date | ||
64 | 60 | ctx['date'] = statement_line.date or line.date | ||
65 | 61 | amount = 0.0 | ||
66 | 62 | |||
67 | 63 | if line.debit > 0: | ||
68 | 64 | amount = line.debit | ||
69 | 65 | elif line.credit > 0: | ||
70 | 66 | amount = -line.credit | ||
71 | 67 | |||
72 | 68 | if line.amount_currency: | ||
73 | 69 | amount = currency_obj.compute(cr, uid, line.currency_id.id, | ||
74 | 70 | statement.currency.id, line.amount_currency, context=ctx) | ||
75 | 71 | elif (line.invoice and line.invoice.currency_id.id <> statement.currency.id): | ||
76 | 72 | amount = currency_obj.compute(cr, uid, line.invoice.currency_id.id, | ||
77 | 73 | statement.currency.id, amount, context=ctx) | ||
78 | 74 | |||
79 | 75 | context.update({'move_line_ids': [line.id]}) | ||
80 | 76 | result = voucher_obj.onchange_partner_id(cr, uid, [], partner_id=line.partner_id.id, journal_id=statement.journal_id.id, amount=abs(amount), currency_id= statement.currency.id, ttype=(amount < 0 and 'payment' or 'receipt'), date=line.date, context=context) | ||
81 | 77 | voucher_res = { 'type':(amount < 0 and 'payment' or 'receipt'), | ||
82 | 78 | 'name': line.name, | ||
83 | 79 | 'partner_id': line.partner_id.id, | ||
84 | 80 | 'journal_id': statement.journal_id.id, | ||
85 | 81 | 'account_id': result.get('account_id', statement.journal_id.default_credit_account_id.id), # improve me: statement.journal_id.default_credit_account_id.id | ||
86 | 82 | 'company_id':statement.company_id.id, | ||
87 | 83 | 'currency_id':statement.currency.id, | ||
88 | 84 | 'date':line.date, | ||
89 | 85 | 'amount':abs(amount), | ||
90 | 86 | 'period_id':statement.period_id.id} | ||
91 | 87 | voucher_id = voucher_obj.create(cr, uid, voucher_res, context=context) | ||
92 | 88 | |||
93 | 89 | voucher_line_dict = {} | ||
94 | 90 | if result['value']['line_ids']: | ||
95 | 91 | for line_dict in result['value']['line_ids']: | ||
96 | 92 | move_line = line_obj.browse(cr, uid, line_dict['move_line_id'], context) | ||
97 | 93 | if line.move_id.id == move_line.move_id.id: | ||
98 | 94 | voucher_line_dict = line_dict | ||
99 | 95 | if voucher_line_dict: | ||
100 | 96 | voucher_line_dict.update({'voucher_id': voucher_id}) | ||
101 | 97 | voucher_line_obj.create(cr, uid, voucher_line_dict, context=context) | ||
102 | 98 | |||
103 | 99 | return voucher_id | ||
104 | 100 | |||
105 | 101 | |||
106 | 102 | def onchange_partner_id(self, cr, uid, line_ids, context=None, partner_id=None, ptype=None, amount=None, voucher_id=None, form_date=None): | ||
107 | 103 | """Elimina el precálculo del importe de la línea del extracto bancario | ||
108 | 104 | y propone una conciliación automática si encuentra una.""" | ||
109 | 105 | |||
110 | 106 | move_line_obj = self.pool.get('account.move.line') | ||
111 | 107 | voucher_obj = self.pool.get('account.voucher') | ||
112 | 108 | partner_obj = self.pool.get('res.partner') | ||
113 | 109 | bank_st_line_obj = self.pool.get('account.bank.statement.line') | ||
114 | 110 | if bank_st_line_obj.browse(cr, uid, line_ids): | ||
115 | 111 | current_st_line = bank_st_line_obj.browse(cr, uid, line_ids)[0] | ||
116 | 112 | statement_id = current_st_line.statement_id.id | ||
117 | 113 | res = super(account_bank_statement_line, self).onchange_type(cr, uid, line_ids, partner_id, ptype) | ||
118 | 114 | # devuelve res = {'value': {'amount': balance, 'account_id': account_id}} | ||
119 | 115 | if 'value' in res and 'amount' in res['value']: | ||
120 | 116 | del res['value']['amount'] | ||
121 | 117 | |||
122 | 118 | # Busqueda del apunte por importe con partner | ||
123 | 119 | if partner_id and amount: | ||
124 | 120 | #Actualizamos la cuenta del partner... | ||
125 | 121 | current_partner = partner_obj.browse(cr, uid, partner_id) | ||
126 | 122 | if ptype == 'supplier': | ||
127 | 123 | res['value']['account_id'] = current_partner.property_account_payable.id | ||
128 | 124 | else: | ||
129 | 125 | res['value']['account_id'] = current_partner.property_account_receivable.id | ||
130 | 126 | |||
131 | 127 | domain = [ | ||
132 | 128 | ('reconcile_id', '=', False), | ||
133 | 129 | ('account_id.type', 'in', ['receivable', 'payable']), | ||
134 | 130 | ('partner_id', '=', partner_id), | ||
135 | 131 | ('date', '=', current_st_line.date) | ||
136 | 132 | ] | ||
137 | 133 | if amount >= 0: | ||
138 | 134 | domain.append( ('debit', '=', '%.2f' % amount) ) | ||
139 | 135 | else: | ||
140 | 136 | domain.append( ('credit', '=', '%.2f' % -amount) ) | ||
141 | 137 | line_ids = move_line_obj.search(cr, uid, domain, context=context) | ||
142 | 138 | # Solamente crearemos la conciliacion automatica cuando exista un solo apunte | ||
143 | 139 | # que coincida. Si hay mas de uno el usuario tendra que conciliar manualmente y | ||
144 | 140 | # seleccionar cual de ellos es el correcto. | ||
145 | 141 | res['value']['voucher_id'] = "" | ||
146 | 142 | if len(line_ids) == 1: | ||
147 | 143 | #Miro si existe ya una propuesta de pago para esa fecha, cantidad, proveedor y estado... | ||
148 | 144 | saved_voucher_id_list = voucher_obj.search(cr, uid, [('date','=',current_st_line.date), ('amount','=',current_st_line.amount), ('partner_id','=',partner_id), ('state','in', ['draft', 'proforma'])]) | ||
149 | 145 | saved_voucher_id = saved_voucher_id_list and saved_voucher_id_list[0] or None | ||
150 | 146 | if saved_voucher_id: | ||
151 | 147 | voucher_id = saved_voucher_id | ||
152 | 148 | form_voucher_id_list = voucher_obj.search(cr, uid, [('date','=', form_date), ('amount','=',amount), ('partner_id','=',partner_id), ('state','in', ['draft', 'proforma'])]) | ||
153 | 149 | form_voucher_id = form_voucher_id_list and form_voucher_id_list[0] or None | ||
154 | 150 | if form_voucher_id: | ||
155 | 151 | voucher_id = form_voucher_id | ||
156 | 152 | if not saved_voucher_id and not form_voucher_id: | ||
157 | 153 | voucher_id = bank_st_line_obj.generate_voucher_from_import_wizard(cr, uid, statement_id, current_st_line, line_ids, context) | ||
158 | 154 | res['value']['voucher_id'] = voucher_id | ||
159 | 155 | elif len(line_ids) > 1: | ||
160 | 156 | move_lines = move_line_obj.browse(cr, uid, line_ids) | ||
161 | 157 | str_list = [] | ||
162 | 158 | for line in move_lines: | ||
163 | 159 | str_list.append("'%s'"%(line.ref or line.name)) | ||
164 | 160 | raise osv.except_osv(_('Beware!'), _("%s moves (%s) found for this date and partner. You'll have to concile this line manually...") %(len(line_ids), ', '.join(str_list))) | ||
165 | 161 | return res | ||
166 | 162 | |||
167 | 163 | |||
168 | 164 | def _get_references( self, cr, uid, line, data, context ): | ||
169 | 165 | """ | ||
170 | 166 | Override function in nan_account_statement_module. | ||
171 | 167 | """ | ||
172 | 168 | |||
173 | 169 | if not 'conceptos' in data or not 'referencia2' in data: | ||
174 | 170 | if line.search_by != 'all': | ||
175 | 171 | raise osv.except_osv(_('Search by references'), _('You cannot search by reference because it seems this line has not been imported from a bank statement file. The system expected "conceptos" and "referencia2" keys in line of amount %(amount).2f in statement %(statement)s.') % { | ||
176 | 172 | 'amount': line.amount, | ||
177 | 173 | 'statement': line.statement_id.name | ||
178 | 174 | }) | ||
179 | 175 | return [] | ||
180 | 176 | return [ data['conceptos'], data['referencia2'] ] | ||
181 | 177 | |||
182 | 178 | def _get_vats( self, cr, uid, line, data, context ): | ||
183 | 179 | """ | ||
184 | 180 | Override function in nan_account_statement_module. | ||
185 | 181 | """ | ||
186 | 182 | |||
187 | 183 | if not 'referencia1' in data or not 'conceptos' in data: | ||
188 | 184 | if line.search_by != 'all': | ||
189 | 185 | raise osv.except_osv(_('Search by VAT error'), _('You cannot search by VAT because it seems this line has not been imported from a bank statement file. The system expected "referencia1" and "conceptos" keys in line of amount %(amount).2f in statement %(statement)s.') % { | ||
190 | 186 | 'amount': line.amount, | ||
191 | 187 | 'statement': line.statement_id.name | ||
192 | 188 | }) | ||
193 | 189 | return [] | ||
194 | 190 | return [ data['referencia1'][:9] , data['conceptos'][:9], data['conceptos'][21:30] ] | ||
195 | 191 | |||
196 | 192 | account_bank_statement_line() | ||
197 | 193 | |||
198 | 194 | class account_bank_statement(osv.osv): | ||
199 | 195 | |||
200 | 196 | _inherit = "account.bank.statement" | ||
201 | 197 | |||
202 | 198 | _defaults = { | ||
203 | 199 | 'name': lambda self, cr, uid, context=None: \ | ||
204 | 200 | self.pool.get('ir.sequence').get(cr, uid, 'account.bank.statement'), | ||
205 | 201 | } | ||
206 | 202 | |||
207 | 203 | |||
208 | 204 | def button_confirm_bank(self, cr, uid, ids, context=None): | ||
209 | 205 | done = [] | ||
210 | 206 | obj_seq = self.pool.get('ir.sequence') | ||
211 | 207 | if context is None: | ||
212 | 208 | context = {} | ||
213 | 209 | |||
214 | 210 | for st in self.browse(cr, uid, ids, context=context): | ||
215 | 211 | j_type = st.journal_id.type | ||
216 | 212 | company_currency_id = st.journal_id.company_id.currency_id.id | ||
217 | 213 | if not self.check_status_condition(cr, uid, st.state, journal_type=j_type): | ||
218 | 214 | continue | ||
219 | 215 | |||
220 | 216 | self.balance_check(cr, uid, st.id, journal_type=j_type, context=context) | ||
221 | 217 | if (not st.journal_id.default_credit_account_id) \ | ||
222 | 218 | or (not st.journal_id.default_debit_account_id): | ||
223 | 219 | raise osv.except_osv(_('Configuration Error !'), | ||
224 | 220 | _('Please verify that an account is defined in the journal.')) | ||
225 | 221 | |||
226 | 222 | for line in st.move_line_ids: | ||
227 | 223 | if line.state <> 'valid': | ||
228 | 224 | raise osv.except_osv(_('Error !'), | ||
229 | 225 | _('The account entries lines are not in valid state.')) | ||
230 | 226 | for st_line in st.line_ids: | ||
231 | 227 | if st_line.analytic_account_id: | ||
232 | 228 | if not st.journal_id.analytic_journal_id: | ||
233 | 229 | raise osv.except_osv(_('No Analytic Journal !'),_("You have to define an analytic journal on the '%s' journal!") % (st.journal_id.name,)) | ||
234 | 230 | if not st_line.amount: | ||
235 | 231 | continue | ||
236 | 232 | c = {'fiscalyear_id': st.period_id.fiscalyear_id.id} | ||
237 | 233 | st_line_number = obj_seq.get_id(cr, uid, st.journal_id.sequence_id.id, context=c) | ||
238 | 234 | self.create_move_from_st_line(cr, uid, st_line.id, company_currency_id, st_line_number, context) | ||
239 | 235 | |||
240 | 236 | done.append(st.id) | ||
241 | 237 | return self.write(cr, uid, ids, {'state':'confirm'}, context=context) | ||
242 | 238 | |||
243 | 239 | account_bank_statement() | ||
244 | 240 | |||
245 | 241 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
246 | 242 | 0 | ||
247 | === removed file '___unported__/l10n_es_bank_statement/concepto.py' | |||
248 | --- ___unported__/l10n_es_bank_statement/concepto.py 2011-08-29 15:11:11 +0000 | |||
249 | +++ ___unported__/l10n_es_bank_statement/concepto.py 1970-01-01 00:00:00 +0000 | |||
250 | @@ -1,64 +0,0 @@ | |||
251 | 1 | # -*- coding: utf-8 -*- | ||
252 | 2 | ############################################################################## | ||
253 | 3 | # | ||
254 | 4 | # OpenERP, Open Source Management Solution | ||
255 | 5 | # Copyright (c) 2009 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. | ||
256 | 6 | # Jordi Esteve <jesteve@zikzakmedia.com> | ||
257 | 7 | # Copyright (c) 2010 Pexego Sistemas Informáticos. All Rights Reserved | ||
258 | 8 | # Borja López Soilán <borjals@pexego.es> | ||
259 | 9 | # $Id$ | ||
260 | 10 | # | ||
261 | 11 | # This program is free software: you can redistribute it and/or modify | ||
262 | 12 | # it under the terms of the GNU Affero General Public License as published by | ||
263 | 13 | # the Free Software Foundation, either version 3 of the License, or | ||
264 | 14 | # (at your option) any later version. | ||
265 | 15 | # | ||
266 | 16 | # This program is distributed in the hope that it will be useful, | ||
267 | 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
268 | 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
269 | 19 | # GNU Affero General Public License for more details. | ||
270 | 20 | # | ||
271 | 21 | # You should have received a copy of the GNU Affero General Public License | ||
272 | 22 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
273 | 23 | # | ||
274 | 24 | ############################################################################## | ||
275 | 25 | |||
276 | 26 | """ | ||
277 | 27 | C43 format (bank statement file) concepts | ||
278 | 28 | """ | ||
279 | 29 | |||
280 | 30 | from osv import osv, fields | ||
281 | 31 | |||
282 | 32 | |||
283 | 33 | class l10n_es_extractos_concepto(osv.osv): | ||
284 | 34 | """ | ||
285 | 35 | C43 format concepts, used to map codes from the C43 bank statement file | ||
286 | 36 | to OpenERP accounts. | ||
287 | 37 | """ | ||
288 | 38 | |||
289 | 39 | _name = 'l10n.es.extractos.concepto' | ||
290 | 40 | _description = 'C43 codes' | ||
291 | 41 | |||
292 | 42 | _columns = { | ||
293 | 43 | 'code': fields.char('Concept code', size=2, select=True, required=True, help='2 digits code of the concept defined in the file of C43 bank statements'), | ||
294 | 44 | 'name': fields.char('Concept name', size=64, select=True, required=True), | ||
295 | 45 | 'account_id': fields.many2one('account.account', 'Account associated to the concept', domain=[('type','<>','view'), ('type', '<>', 'closed')], select=True, required=True, | ||
296 | 46 | help='Default account to be associated with the concept when the file of C43 bank statements is imported'), | ||
297 | 47 | 'company_id': fields.many2one('res.company', 'Company', required=True), | ||
298 | 48 | } | ||
299 | 49 | |||
300 | 50 | def _default_company_id(self, cr, uid, context={}): | ||
301 | 51 | """ | ||
302 | 52 | Gets the default company id | ||
303 | 53 | """ | ||
304 | 54 | user = self.pool.get('res.users').browse(cr, uid, uid, context=context) | ||
305 | 55 | if user.company_id: | ||
306 | 56 | return user.company_id.id | ||
307 | 57 | return self.pool.get('res.company').search(cr, uid, [('parent_id', '=', False)])[0] | ||
308 | 58 | |||
309 | 59 | _defaults = { | ||
310 | 60 | 'company_id': _default_company_id, | ||
311 | 61 | } | ||
312 | 62 | |||
313 | 63 | l10n_es_extractos_concepto() | ||
314 | 64 | |||
315 | 65 | 0 | ||
316 | === removed file '___unported__/l10n_es_bank_statement/data/extractos_conceptos.xml' | |||
317 | --- ___unported__/l10n_es_bank_statement/data/extractos_conceptos.xml 2011-03-27 01:51:59 +0000 | |||
318 | +++ ___unported__/l10n_es_bank_statement/data/extractos_conceptos.xml 1970-01-01 00:00:00 +0000 | |||
319 | @@ -1,100 +0,0 @@ | |||
320 | 1 | <?xml version='1.0' encoding='UTF-8'?> | ||
321 | 2 | <openerp> | ||
322 | 3 | <data noupdate='1'> | ||
323 | 4 | <record model='l10n.es.extractos.concepto' id='01'> | ||
324 | 5 | <field name='code'>01</field> | ||
325 | 6 | <field name='name'>Reintegro/Talón</field> | ||
326 | 7 | <field search="[('code','like','4300%00')]" model='account.account' name='account_id'/> | ||
327 | 8 | </record> | ||
328 | 9 | <record model='l10n.es.extractos.concepto' id='02'> | ||
329 | 10 | <field name='code'>02</field> | ||
330 | 11 | <field name='name'>Ingreso/Abonaré</field> | ||
331 | 12 | <field search="[('code','like','4100%00')]" model='account.account' name='account_id'/> | ||
332 | 13 | </record> | ||
333 | 14 | <record model='l10n.es.extractos.concepto' id='03'> | ||
334 | 15 | <field name='code'>03</field> | ||
335 | 16 | <field name='name'>Recibo/Letra domiciliado</field> | ||
336 | 17 | <field search="[('code','like','4100%00')]" model='account.account' name='account_id'/> | ||
337 | 18 | </record> | ||
338 | 19 | <record model='l10n.es.extractos.concepto' id='04'> | ||
339 | 20 | <field name='code'>04</field> | ||
340 | 21 | <field name='name'>Transf./Giro/Cheque</field> | ||
341 | 22 | <field search="[('code','like','4300%00')]" model='account.account' name='account_id'/> | ||
342 | 23 | </record> | ||
343 | 24 | <record model='l10n.es.extractos.concepto' id='05'> | ||
344 | 25 | <field name='code'>05</field> | ||
345 | 26 | <field name='name'>Amortización préstamo</field> | ||
346 | 27 | <field search="[('code','like','6800%00')]" model='account.account' name='account_id'/> | ||
347 | 28 | </record> | ||
348 | 29 | <record model='l10n.es.extractos.concepto' id='06'> | ||
349 | 30 | <field name='code'>06</field> | ||
350 | 31 | <field name='name'>Remesa efectos</field> | ||
351 | 32 | <field search="[('code','like','4010%00')]" model='account.account' name='account_id'/> | ||
352 | 33 | </record> | ||
353 | 34 | <record model='l10n.es.extractos.concepto' id='07'> | ||
354 | 35 | <field name='code'>07</field> | ||
355 | 36 | <field name='name'>Subscripción/Canje</field> | ||
356 | 37 | <field search="[('code','like','5700%00')]" model='account.account' name='account_id'/> | ||
357 | 38 | </record> | ||
358 | 39 | <record model='l10n.es.extractos.concepto' id='08'> | ||
359 | 40 | <field name='code'>08</field> | ||
360 | 41 | <field name='name'>Amortización</field> | ||
361 | 42 | <field search="[('code','like','6800%00')]" model='account.account' name='account_id'/> | ||
362 | 43 | </record> | ||
363 | 44 | <record model='l10n.es.extractos.concepto' id='09'> | ||
364 | 45 | <field name='code'>09</field> | ||
365 | 46 | <field name='name'>Compra/Venta valores</field> | ||
366 | 47 | <field search="[('code','like','2510%00')]" model='account.account' name='account_id'/> | ||
367 | 48 | </record> | ||
368 | 49 | <record model='l10n.es.extractos.concepto' id='10'> | ||
369 | 50 | <field name='code'>10</field> | ||
370 | 51 | <field name='name'>Cheque gasolina</field> | ||
371 | 52 | <field search="[('code','like','5700%00')]" model='account.account' name='account_id'/> | ||
372 | 53 | </record> | ||
373 | 54 | <record model='l10n.es.extractos.concepto' id='11'> | ||
374 | 55 | <field name='code'>11</field> | ||
375 | 56 | <field name='name'>Cajero automático</field> | ||
376 | 57 | <field search="[('code','like','5700%00')]" model='account.account' name='account_id'/> | ||
377 | 58 | </record> | ||
378 | 59 | <record model='l10n.es.extractos.concepto' id='12'> | ||
379 | 60 | <field name='code'>12</field> | ||
380 | 61 | <field name='name'>Tarjeta crédito/débito</field> | ||
381 | 62 | <field search="[('code','like','5700%00')]" model='account.account' name='account_id'/> | ||
382 | 63 | </record> | ||
383 | 64 | <record model='l10n.es.extractos.concepto' id='13'> | ||
384 | 65 | <field name='code'>13</field> | ||
385 | 66 | <field name='name'>Operaciones extranjero</field> | ||
386 | 67 | <field search="[('code','like','5730%00')]" model='account.account' name='account_id'/> | ||
387 | 68 | </record> | ||
388 | 69 | <record model='l10n.es.extractos.concepto' id='14'> | ||
389 | 70 | <field name='code'>14</field> | ||
390 | 71 | <field name='name'>Devolución/Impagado</field> | ||
391 | 72 | <field search="[('code','like','4300%00')]" model='account.account' name='account_id'/> | ||
392 | 73 | </record> | ||
393 | 74 | <record model='l10n.es.extractos.concepto' id='15'> | ||
394 | 75 | <field name='code'>15</field> | ||
395 | 76 | <field name='name'>Nómina/Seg. social</field> | ||
396 | 77 | <field search="[('code','like','6400%00')]" model='account.account' name='account_id'/> | ||
397 | 78 | </record> | ||
398 | 79 | <record model='l10n.es.extractos.concepto' id='16'> | ||
399 | 80 | <field name='code'>16</field> | ||
400 | 81 | <field name='name'>Timbre/Corretaje/Póliza</field> | ||
401 | 82 | <field search="[('code','like','6690%00')]" model='account.account' name='account_id'/> | ||
402 | 83 | </record> | ||
403 | 84 | <record model='l10n.es.extractos.concepto' id='17'> | ||
404 | 85 | <field name='code'>17</field> | ||
405 | 86 | <field name='name'>Intereses/Comisión/Gastos/Custodia</field> | ||
406 | 87 | <field search="[('code','like','6690%00')]" model='account.account' name='account_id'/> | ||
407 | 88 | </record> | ||
408 | 89 | <record model='l10n.es.extractos.concepto' id='98'> | ||
409 | 90 | <field name='code'>98</field> | ||
410 | 91 | <field name='name'>Anulación/Corrección</field> | ||
411 | 92 | <field search="[('code','like','5720%00')]" model='account.account' name='account_id'/> | ||
412 | 93 | </record> | ||
413 | 94 | <record model='l10n.es.extractos.concepto' id='99'> | ||
414 | 95 | <field name='code'>99</field> | ||
415 | 96 | <field name='name'>Varios</field> | ||
416 | 97 | <field search="[('code','like','5720%00')]" model='account.account' name='account_id'/> | ||
417 | 98 | </record> | ||
418 | 99 | </data> | ||
419 | 100 | </openerp> | ||
420 | 101 | 0 | ||
421 | === removed file '___unported__/l10n_es_bank_statement/extractos_view.xml' | |||
422 | --- ___unported__/l10n_es_bank_statement/extractos_view.xml 2013-01-11 14:06:10 +0000 | |||
423 | +++ ___unported__/l10n_es_bank_statement/extractos_view.xml 1970-01-01 00:00:00 +0000 | |||
424 | @@ -1,123 +0,0 @@ | |||
425 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
426 | 2 | <openerp> | ||
427 | 3 | <data> | ||
428 | 4 | |||
429 | 5 | <!--****************************** CUENTAS POR DEFECTO PARA LOS EXTRACTOS BANCARIOS ***********************************--> | ||
430 | 6 | <!-- FORMULARIO --> | ||
431 | 7 | <record model="ir.ui.view" id="view_extractos_concepto"> | ||
432 | 8 | <field name="name">l10n.es.extractos.concepto.form</field> | ||
433 | 9 | <field name="model">l10n.es.extractos.concepto</field> | ||
434 | 10 | <field name="type">form</field> | ||
435 | 11 | <field name="arch" type="xml"> | ||
436 | 12 | <form string="C43 default accounts"> | ||
437 | 13 | <field name="code"/> | ||
438 | 14 | <field name="name"/> | ||
439 | 15 | <field name="account_id"/> | ||
440 | 16 | <field name="company_id"/> | ||
441 | 17 | </form> | ||
442 | 18 | </field> | ||
443 | 19 | </record> | ||
444 | 20 | |||
445 | 21 | <!-- LISTA --> | ||
446 | 22 | <record model="ir.ui.view" id="view_extractos_concepto_tree"> | ||
447 | 23 | <field name="name">l10n.es.extractos.concepto.tree</field> | ||
448 | 24 | <field name="model">l10n.es.extractos.concepto</field> | ||
449 | 25 | <field name="type">tree</field> | ||
450 | 26 | <field name="arch" type="xml"> | ||
451 | 27 | <tree string="C43 default accounts"> | ||
452 | 28 | <field name="code"/> | ||
453 | 29 | <field name="name"/> | ||
454 | 30 | <field name="account_id"/> | ||
455 | 31 | <field name="company_id" select="1"/> | ||
456 | 32 | </tree> | ||
457 | 33 | </field> | ||
458 | 34 | </record> | ||
459 | 35 | |||
460 | 36 | <record model="ir.actions.act_window" id="action_extractos_concepto"> | ||
461 | 37 | <field name="name">C43 default accounts</field> | ||
462 | 38 | <field name="res_model">l10n.es.extractos.concepto</field> | ||
463 | 39 | </record> | ||
464 | 40 | |||
465 | 41 | <!-- menu --> | ||
466 | 42 | <menuitem id="menu_extractos_bancarios" name="C43 bank statements" parent="account.menu_finance_accounting"/> | ||
467 | 43 | <menuitem id="menu_extractos_bancarios_concepto" name="Default accounts associated to C43 codes" parent="menu_extractos_bancarios" action="action_extractos_concepto"/> | ||
468 | 44 | |||
469 | 45 | <!--************************** Redefinición on_change de las líneas de extracto bancario *******************************--> | ||
470 | 46 | <record id="view_bank_statement_form_ES1" model="ir.ui.view"> | ||
471 | 47 | <field name="name">account.bank.statement.form.ES1</field> | ||
472 | 48 | <field name="model">account.bank.statement</field> | ||
473 | 49 | <field name="type">form</field> | ||
474 | 50 | <field name="inherit_id" ref="account.view_bank_statement_form"/> | ||
475 | 51 | <field name="arch" type="xml"> | ||
476 | 52 | <xpath expr="/form/notebook/page[@string='Transaction']/field/tree/field[@name='partner_id']" position="replace"> | ||
477 | 53 | <field name="partner_id" on_change="onchange_partner_id(line_id, partner_id, type, amount, voucher_id, date)"/> | ||
478 | 54 | </xpath> | ||
479 | 55 | </field> | ||
480 | 56 | </record> | ||
481 | 57 | |||
482 | 58 | <record id="view_bank_statement_form_ES2" model="ir.ui.view"> | ||
483 | 59 | <field name="name">account.bank.statement.form.ES2</field> | ||
484 | 60 | <field name="model">account.bank.statement</field> | ||
485 | 61 | <field name="type">form</field> | ||
486 | 62 | <field name="inherit_id" ref="account.view_bank_statement_form"/> | ||
487 | 63 | <field name="arch" type="xml"> | ||
488 | 64 | <xpath expr="/form/notebook/page/field/form/field[@name='partner_id']" position="replace"> | ||
489 | 65 | <field name="partner_id" on_change="onchange_partner_id(line_id, partner_id, type, amount, voucher_id, date)"/> | ||
490 | 66 | </xpath> | ||
491 | 67 | </field> | ||
492 | 68 | </record> | ||
493 | 69 | |||
494 | 70 | <record id="view_bank_statement_form_ES3" model="ir.ui.view"> | ||
495 | 71 | <field name="name">account.bank.statement.form.ES3</field> | ||
496 | 72 | <field name="model">account.bank.statement</field> | ||
497 | 73 | <field name="type">form</field> | ||
498 | 74 | <field name="inherit_id" ref="account.view_bank_statement_form"/> | ||
499 | 75 | <field name="arch" type="xml"> | ||
500 | 76 | <xpath expr="/form/notebook/page/field/tree/field[@name='amount']" position="replace"> | ||
501 | 77 | <field name="amount" on_change="onchange_partner_id(line_id, partner_id, type, amount, voucher_id, date)"/> | ||
502 | 78 | </xpath> | ||
503 | 79 | </field> | ||
504 | 80 | </record> | ||
505 | 81 | |||
506 | 82 | <record id="view_bank_statement_form_ES4" model="ir.ui.view"> | ||
507 | 83 | <field name="name">account.bank.statement.form.ES4</field> | ||
508 | 84 | <field name="model">account.bank.statement</field> | ||
509 | 85 | <field name="type">form</field> | ||
510 | 86 | <field name="inherit_id" ref="account.view_bank_statement_form"/> | ||
511 | 87 | <field name="arch" type="xml"> | ||
512 | 88 | <xpath expr="/form/notebook/page/field/form/field[@name='amount']" position="replace"> | ||
513 | 89 | <field name="amount" on_change="onchange_partner_id(line_id, partner_id, type, amount, voucher_id, date)"/> | ||
514 | 90 | </xpath> | ||
515 | 91 | </field> | ||
516 | 92 | </record> | ||
517 | 93 | |||
518 | 94 | |||
519 | 95 | <!-- Import wizard --> | ||
520 | 96 | <record model="ir.ui.view" id="extractos_import_wizard"> | ||
521 | 97 | <field name="name">l10n.es.extractos.import.form</field> | ||
522 | 98 | <field name="model">l10n.es.extractos.import.wizard</field> | ||
523 | 99 | <field name="type">form</field> | ||
524 | 100 | <field name="arch" type="xml"> | ||
525 | 101 | <form string="Import Wizard"> | ||
526 | 102 | <label colspan="4" string="This wizard will import default concepts related to standard accounts of spanish charts."/> | ||
527 | 103 | <field name="company_id" colspan="4" widget="selection"/> | ||
528 | 104 | <button icon="gtk-cancel" special="cancel" string="Cancel" type="object"/> | ||
529 | 105 | <button icon="gtk-ok" name="action_import" string="Import" type="object"/> | ||
530 | 106 | </form> | ||
531 | 107 | </field> | ||
532 | 108 | </record> | ||
533 | 109 | |||
534 | 110 | <record id="action_extractos_import_wizard" model="ir.actions.act_window"> | ||
535 | 111 | <field name="name">Import Statement Concepts Wizard</field> | ||
536 | 112 | <field name="type">ir.actions.act_window</field> | ||
537 | 113 | <field name="res_model">l10n.es.extractos.import.wizard</field> | ||
538 | 114 | <field name="view_type">form</field> | ||
539 | 115 | <field name="view_mode">form</field> | ||
540 | 116 | <field name="target">new</field> | ||
541 | 117 | </record> | ||
542 | 118 | |||
543 | 119 | <menuitem id="menu_import_wizard" parent="menu_extractos_bancarios" action="action_extractos_import_wizard" groups="account.group_account_manager"/> | ||
544 | 120 | |||
545 | 121 | </data> | ||
546 | 122 | </openerp> | ||
547 | 123 | |||
548 | 124 | 0 | ||
549 | === removed file '___unported__/l10n_es_bank_statement/i18n/ca.po' | |||
550 | --- ___unported__/l10n_es_bank_statement/i18n/ca.po 2014-03-04 08:27:58 +0000 | |||
551 | +++ ___unported__/l10n_es_bank_statement/i18n/ca.po 1970-01-01 00:00:00 +0000 | |||
552 | @@ -1,547 +0,0 @@ | |||
553 | 1 | # Translation of OpenERP Server. | ||
554 | 2 | # This file containt the translation of the following modules: | ||
555 | 3 | # * l10n_es_bank_statement | ||
556 | 4 | # | ||
557 | 5 | # Albert Cervera i Areny <albert@nan-tic.com>, 2009, 2010, 2011. | ||
558 | 6 | msgid "" | ||
559 | 7 | msgstr "" | ||
560 | 8 | "Project-Id-Version: OpenERP Server 5.0.0-rc1\n" | ||
561 | 9 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
562 | 10 | "POT-Creation-Date: 2011-03-27 02:13+0000\n" | ||
563 | 11 | "PO-Revision-Date: 2013-10-11 22:39+0000\n" | ||
564 | 12 | "Last-Translator: Albert Cervera i Areny - http://www.NaN-tic.com <albert@nan-" | ||
565 | 13 | "tic.com>\n" | ||
566 | 14 | "Language-Team: American English <kde-i18n-ca@kde.org>\n" | ||
567 | 15 | "MIME-Version: 1.0\n" | ||
568 | 16 | "Content-Type: text/plain; charset=UTF-8\n" | ||
569 | 17 | "Content-Transfer-Encoding: 8bit\n" | ||
570 | 18 | "X-Launchpad-Export-Date: 2014-03-04 08:27+0000\n" | ||
571 | 19 | "X-Generator: Launchpad (build 16948)\n" | ||
572 | 20 | "Language: \n" | ||
573 | 21 | |||
574 | 22 | #. module: l10n_es_bank_statement | ||
575 | 23 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:109 | ||
576 | 24 | #, python-format | ||
577 | 25 | msgid "Intereses/Comisión/Gastos/Custodia" | ||
578 | 26 | msgstr "Intereses/Comisión/Gastos/Custodia" | ||
579 | 27 | |||
580 | 28 | #. module: l10n_es_bank_statement | ||
581 | 29 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:101 | ||
582 | 30 | #, python-format | ||
583 | 31 | msgid "Compra/Venta valores" | ||
584 | 32 | msgstr "Compra/Venta valores" | ||
585 | 33 | |||
586 | 34 | #. module: l10n_es_bank_statement | ||
587 | 35 | #: model:ir.model,name:l10n_es_bank_statement.model_l10n_es_extractos_concepto | ||
588 | 36 | msgid "C43 codes" | ||
589 | 37 | msgstr "Codis C43" | ||
590 | 38 | |||
591 | 39 | #. module: l10n_es_bank_statement | ||
592 | 40 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_amount:0 | ||
593 | 41 | msgid "Reconcile by amount" | ||
594 | 42 | msgstr "Concilia per quantitat" | ||
595 | 43 | |||
596 | 44 | #. module: l10n_es_bank_statement | ||
597 | 45 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:469 | ||
598 | 46 | #, python-format | ||
599 | 47 | msgid "bank-statement.txt" | ||
600 | 48 | msgstr "extracte-bancari.txt" | ||
601 | 49 | |||
602 | 50 | #. module: l10n_es_bank_statement | ||
603 | 51 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:107 | ||
604 | 52 | #, python-format | ||
605 | 53 | msgid "Nómina/Seg. social" | ||
606 | 54 | msgstr "Nómina/Seg. social" | ||
607 | 55 | |||
608 | 56 | #. module: l10n_es_bank_statement | ||
609 | 57 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_vat_and_amount:0 | ||
610 | 58 | msgid "Reconcile by VAT number and amount" | ||
611 | 59 | msgstr "Concilia per NIF i quantitat" | ||
612 | 60 | |||
613 | 61 | #. module: l10n_es_bank_statement | ||
614 | 62 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:94 | ||
615 | 63 | #, python-format | ||
616 | 64 | msgid "Ingreso/Abonaré" | ||
617 | 65 | msgstr "Ingreso/Abonaré" | ||
618 | 66 | |||
619 | 67 | #. module: l10n_es_bank_statement | ||
620 | 68 | #: field:l10n.es.extractos.concepto,account_id:0 | ||
621 | 69 | msgid "Account associated to the concept" | ||
622 | 70 | msgstr "Compte associat al concepte" | ||
623 | 71 | |||
624 | 72 | #. module: l10n_es_bank_statement | ||
625 | 73 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:97 | ||
626 | 74 | #, python-format | ||
627 | 75 | msgid "Amortización préstamo" | ||
628 | 76 | msgstr "Amortización préstamo" | ||
629 | 77 | |||
630 | 78 | #. module: l10n_es_bank_statement | ||
631 | 79 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:168 | ||
632 | 80 | #, python-format | ||
633 | 81 | msgid "Search by references" | ||
634 | 82 | msgstr "Search by references" | ||
635 | 83 | |||
636 | 84 | #. module: l10n_es_bank_statement | ||
637 | 85 | #: model:ir.module.module,shortdesc:l10n_es_bank_statement.module_meta_information | ||
638 | 86 | msgid "Spanish Bank Statements Importation" | ||
639 | 87 | msgstr "Importación de Extractos Bancarios Españoles" | ||
640 | 88 | |||
641 | 89 | #. module: l10n_es_bank_statement | ||
642 | 90 | #: field:l10n.es.bank.statement.import.c43.wizard,file:0 | ||
643 | 91 | #: field:l10n.es.bank.statement.import.c43.wizard,file_name:0 | ||
644 | 92 | msgid "Bank Statements File" | ||
645 | 93 | msgstr "Fitxer extracte" | ||
646 | 94 | |||
647 | 95 | #. module: l10n_es_bank_statement | ||
648 | 96 | #: model:ir.actions.act_window,name:l10n_es_bank_statement.action_c43_file_import_wizard | ||
649 | 97 | msgid "Import Bank Statement" | ||
650 | 98 | msgstr "Importació d'extracte bancari" | ||
651 | 99 | |||
652 | 100 | #. module: l10n_es_bank_statement | ||
653 | 101 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
654 | 102 | #: view:l10n.es.extractos.import.wizard:0 | ||
655 | 103 | msgid "Import" | ||
656 | 104 | msgstr "Importa" | ||
657 | 105 | |||
658 | 106 | #. module: l10n_es_bank_statement | ||
659 | 107 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:106 | ||
660 | 108 | #, python-format | ||
661 | 109 | msgid "Devolución/Impagado" | ||
662 | 110 | msgstr "Devolución/Impagado" | ||
663 | 111 | |||
664 | 112 | #. module: l10n_es_bank_statement | ||
665 | 113 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:182 | ||
666 | 114 | #, python-format | ||
667 | 115 | msgid "Search by VAT error" | ||
668 | 116 | msgstr "Search by VAT error" | ||
669 | 117 | |||
670 | 118 | #. module: l10n_es_bank_statement | ||
671 | 119 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:319 | ||
672 | 120 | #, python-format | ||
673 | 121 | msgid "Record type %s is not valid." | ||
674 | 122 | msgstr "Record type %s is not valid." | ||
675 | 123 | |||
676 | 124 | #. module: l10n_es_bank_statement | ||
677 | 125 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:195 | ||
678 | 126 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:197 | ||
679 | 127 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:199 | ||
680 | 128 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:201 | ||
681 | 129 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:207 | ||
682 | 130 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:231 | ||
683 | 131 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:319 | ||
684 | 132 | #, python-format | ||
685 | 133 | msgid "Error in C43 file" | ||
686 | 134 | msgstr "Error al fitxer C43" | ||
687 | 135 | |||
688 | 136 | #. module: l10n_es_bank_statement | ||
689 | 137 | #: help:l10n.es.extractos.concepto,account_id:0 | ||
690 | 138 | msgid "" | ||
691 | 139 | "Default account to be associated with the concept when the file of C43 bank " | ||
692 | 140 | "statements is imported" | ||
693 | 141 | msgstr "" | ||
694 | 142 | "Compte per defecte que s'associarà al concepte en importar el fitxer " | ||
695 | 143 | "d'extractes bancaris C43" | ||
696 | 144 | |||
697 | 145 | #. module: l10n_es_bank_statement | ||
698 | 146 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
699 | 147 | msgid "Bank statements import according to norm C43" | ||
700 | 148 | msgstr "Importació extracte bancari segons norma C43" | ||
701 | 149 | |||
702 | 150 | #. module: l10n_es_bank_statement | ||
703 | 151 | #: model:ir.model,name:l10n_es_bank_statement.model_l10n_es_extractos_import_wizard | ||
704 | 152 | msgid "l10n.es.extractos.import.wizard" | ||
705 | 153 | msgstr "l10n.es.extractos.import.wizard" | ||
706 | 154 | |||
707 | 155 | #. module: l10n_es_bank_statement | ||
708 | 156 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:100 | ||
709 | 157 | #, python-format | ||
710 | 158 | msgid "Amortización" | ||
711 | 159 | msgstr "Amortización" | ||
712 | 160 | |||
713 | 161 | #. module: l10n_es_bank_statement | ||
714 | 162 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:182 | ||
715 | 163 | #, python-format | ||
716 | 164 | msgid "" | ||
717 | 165 | "You cannot search by VAT because it seems this line has not been imported " | ||
718 | 166 | "from a bank statement file. The system expected \"referencia1\" and " | ||
719 | 167 | "\"conceptos\" keys in line of amount %(amount).2f in statement %(statement)s." | ||
720 | 168 | msgstr "" | ||
721 | 169 | "You cannot search by VAT because it seems this line has not been imported " | ||
722 | 170 | "from a bank statement file. The system expected \"referencia1\" and " | ||
723 | 171 | "\"conceptos\" keys in line of amount %(amount).2f in statement %(statement)s." | ||
724 | 172 | |||
725 | 173 | #. module: l10n_es_bank_statement | ||
726 | 174 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:195 | ||
727 | 175 | #, python-format | ||
728 | 176 | msgid "" | ||
729 | 177 | "Number of debit records does not agree with the defined in the last record " | ||
730 | 178 | "of account." | ||
731 | 179 | msgstr "" | ||
732 | 180 | "Nombre de registres deure no coincideix amb el definit en el registre final " | ||
733 | 181 | "de compte." | ||
734 | 182 | |||
735 | 183 | #. module: l10n_es_bank_statement | ||
736 | 184 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:99 | ||
737 | 185 | #, python-format | ||
738 | 186 | msgid "Subscripción/Canje" | ||
739 | 187 | msgstr "Subscripción/Canje" | ||
740 | 188 | |||
741 | 189 | #. module: l10n_es_bank_statement | ||
742 | 190 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
743 | 191 | msgid "Bank Statements File:" | ||
744 | 192 | msgstr "Fitxer extracte bancari:" | ||
745 | 193 | |||
746 | 194 | #. module: l10n_es_bank_statement | ||
747 | 195 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
748 | 196 | msgid "Automatic reconciliation options" | ||
749 | 197 | msgstr "Opcions de conciliació automàtica" | ||
750 | 198 | |||
751 | 199 | #. module: l10n_es_bank_statement | ||
752 | 200 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:157 | ||
753 | 201 | #, python-format | ||
754 | 202 | msgid "" | ||
755 | 203 | "%s moves (%s) found for this date and partner. You'll have to concile this " | ||
756 | 204 | "line manually..." | ||
757 | 205 | msgstr "" | ||
758 | 206 | "%s moves (%s) found for this date and partner. You'll have to concile this " | ||
759 | 207 | "line manually..." | ||
760 | 208 | |||
761 | 209 | #. module: l10n_es_bank_statement | ||
762 | 210 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_max_days:0 | ||
763 | 211 | msgid "Max. days from statement date" | ||
764 | 212 | msgstr "Dies màx. des de data extracte" | ||
765 | 213 | |||
766 | 214 | #. module: l10n_es_bank_statement | ||
767 | 215 | #: help:l10n.es.bank.statement.import.c43.wizard,reco_max_days:0 | ||
768 | 216 | msgid "" | ||
769 | 217 | "Maximum difference in days, between the maturity date of the entry to " | ||
770 | 218 | "reconcile and the bank statement entry" | ||
771 | 219 | msgstr "" | ||
772 | 220 | "Diferencia màxima en dies, entre la data de venciment de l'assentament a " | ||
773 | 221 | "conciliar i la línia de l'extracte bancari" | ||
774 | 222 | |||
775 | 223 | #. module: l10n_es_bank_statement | ||
776 | 224 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:197 | ||
777 | 225 | #, python-format | ||
778 | 226 | msgid "" | ||
779 | 227 | "Number of credit records does not agree with the defined in the last record " | ||
780 | 228 | "of account." | ||
781 | 229 | msgstr "" | ||
782 | 230 | "Nombre de registres haver no coincideix amb el definit en el registre final " | ||
783 | 231 | "de compte." | ||
784 | 232 | |||
785 | 233 | #. module: l10n_es_bank_statement | ||
786 | 234 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:207 | ||
787 | 235 | #, python-format | ||
788 | 236 | msgid "" | ||
789 | 237 | "Final balance amount = (initial balance + credit - debit) does not agree " | ||
790 | 238 | "with the defined in the last record of account." | ||
791 | 239 | msgstr "" | ||
792 | 240 | "Importi saldo final = (saldo inicial + haver - deure) no coincideix amb el " | ||
793 | 241 | "definit en el registre final de compte." | ||
794 | 242 | |||
795 | 243 | #. module: l10n_es_bank_statement | ||
796 | 244 | #: model:ir.ui.menu,name:l10n_es_bank_statement.menu_extractos_bancarios_concepto | ||
797 | 245 | msgid "Default accounts associated to C43 codes" | ||
798 | 246 | msgstr "Comptes per defecte associats als codis C43" | ||
799 | 247 | |||
800 | 248 | #. module: l10n_es_bank_statement | ||
801 | 249 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:104 | ||
802 | 250 | #, python-format | ||
803 | 251 | msgid "Tarjeta crédito/débito" | ||
804 | 252 | msgstr "Tarjeta crédito/débito" | ||
805 | 253 | |||
806 | 254 | #. module: l10n_es_bank_statement | ||
807 | 255 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:419 | ||
808 | 256 | #, python-format | ||
809 | 257 | msgid "A default account has not been defined for the C43 concept " | ||
810 | 258 | msgstr "No s'ha definit un compte comptable per defecte per al concepte C43 " | ||
811 | 259 | |||
812 | 260 | #. module: l10n_es_bank_statement | ||
813 | 261 | #: model:ir.model,name:l10n_es_bank_statement.model_l10n_es_bank_statement_import_c43_wizard | ||
814 | 262 | msgid "l10n.es.bank.statement.import.c43.wizard" | ||
815 | 263 | msgstr "l10n.es.bank.statement.import.c43.wizard" | ||
816 | 264 | |||
817 | 265 | #. module: l10n_es_bank_statement | ||
818 | 266 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:93 | ||
819 | 267 | #, python-format | ||
820 | 268 | msgid "Reintegro/Talón" | ||
821 | 269 | msgstr "Reintegro/Talón" | ||
822 | 270 | |||
823 | 271 | #. module: l10n_es_bank_statement | ||
824 | 272 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:60 | ||
825 | 273 | #, python-format | ||
826 | 274 | msgid "Concepts for this company already imported..." | ||
827 | 275 | msgstr "Concepts for this company already imported..." | ||
828 | 276 | |||
829 | 277 | #. module: l10n_es_bank_statement | ||
830 | 278 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:96 | ||
831 | 279 | #, python-format | ||
832 | 280 | msgid "Transf./Giro/Cheque" | ||
833 | 281 | msgstr "Transf./Giro/Cheque" | ||
834 | 282 | |||
835 | 283 | #. module: l10n_es_bank_statement | ||
836 | 284 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:108 | ||
837 | 285 | #, python-format | ||
838 | 286 | msgid "Timbre/Corretaje/Póliza" | ||
839 | 287 | msgstr "Timbre/Corretaje/Póliza" | ||
840 | 288 | |||
841 | 289 | #. module: l10n_es_bank_statement | ||
842 | 290 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:111 | ||
843 | 291 | #, python-format | ||
844 | 292 | msgid "Varios" | ||
845 | 293 | msgstr "Varios" | ||
846 | 294 | |||
847 | 295 | #. module: l10n_es_bank_statement | ||
848 | 296 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:121 | ||
849 | 297 | #, python-format | ||
850 | 298 | msgid "" | ||
851 | 299 | "Could not import concept %(concept)s because no matching account was found " | ||
852 | 300 | "for expression %(expression)s." | ||
853 | 301 | msgstr "" | ||
854 | 302 | "Could not import concept %(concept)s because no matching account was found " | ||
855 | 303 | "for expression %(expression)s." | ||
856 | 304 | |||
857 | 305 | #. module: l10n_es_bank_statement | ||
858 | 306 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_rules:0 | ||
859 | 307 | msgid "Statement Line Rules" | ||
860 | 308 | msgstr "Regles de línies d'extracte" | ||
861 | 309 | |||
862 | 310 | #. module: l10n_es_bank_statement | ||
863 | 311 | #: help:l10n.es.extractos.concepto,code:0 | ||
864 | 312 | msgid "" | ||
865 | 313 | "2 digits code of the concept defined in the file of C43 bank statements" | ||
866 | 314 | msgstr "" | ||
867 | 315 | "Codi de 2 dígits del concepte definit al fitxer d'extractes bancaris C43" | ||
868 | 316 | |||
869 | 317 | #. module: l10n_es_bank_statement | ||
870 | 318 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:199 | ||
871 | 319 | #, python-format | ||
872 | 320 | msgid "" | ||
873 | 321 | "Debit amount does not agree with the defined in the last record of account." | ||
874 | 322 | msgstr "" | ||
875 | 323 | "Import deure no coincideix amb el definit en el registre final de compte." | ||
876 | 324 | |||
877 | 325 | #. module: l10n_es_bank_statement | ||
878 | 326 | #: field:l10n.es.extractos.concepto,code:0 | ||
879 | 327 | msgid "Concept code" | ||
880 | 328 | msgstr "Codi concepte" | ||
881 | 329 | |||
882 | 330 | #. module: l10n_es_bank_statement | ||
883 | 331 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:231 | ||
884 | 332 | #, python-format | ||
885 | 333 | msgid "Number of records does not agree with the defined in the last record." | ||
886 | 334 | msgstr "" | ||
887 | 335 | "Nombre de registres no coincideix amb el definit en el registre final de " | ||
888 | 336 | "fitxer." | ||
889 | 337 | |||
890 | 338 | #. module: l10n_es_bank_statement | ||
891 | 339 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:157 | ||
892 | 340 | #, python-format | ||
893 | 341 | msgid "Beware!" | ||
894 | 342 | msgstr "Beware!" | ||
895 | 343 | |||
896 | 344 | #. module: l10n_es_bank_statement | ||
897 | 345 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:80 | ||
898 | 346 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:139 | ||
899 | 347 | #, python-format | ||
900 | 348 | msgid "C43 Created Concepts" | ||
901 | 349 | msgstr "S'han creat els conceptes C43" | ||
902 | 350 | |||
903 | 351 | #. module: l10n_es_bank_statement | ||
904 | 352 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:344 | ||
905 | 353 | #, python-format | ||
906 | 354 | msgid "Error!" | ||
907 | 355 | msgstr "Error!" | ||
908 | 356 | |||
909 | 357 | #. module: l10n_es_bank_statement | ||
910 | 358 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:105 | ||
911 | 359 | #, python-format | ||
912 | 360 | msgid "Operaciones extranjero" | ||
913 | 361 | msgstr "Operaciones extranjero" | ||
914 | 362 | |||
915 | 363 | #. module: l10n_es_bank_statement | ||
916 | 364 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:344 | ||
917 | 365 | #, python-format | ||
918 | 366 | msgid "" | ||
919 | 367 | "The bank statement is alredy confirmed. It can not be imported from file." | ||
920 | 368 | msgstr "" | ||
921 | 369 | "L'extracte bancari ja està confirmat. No es pot importar des de fitxer." | ||
922 | 370 | |||
923 | 371 | #. module: l10n_es_bank_statement | ||
924 | 372 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:419 | ||
925 | 373 | #, python-format | ||
926 | 374 | msgid "Error" | ||
927 | 375 | msgstr "Error" | ||
928 | 376 | |||
929 | 377 | #. module: l10n_es_bank_statement | ||
930 | 378 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:168 | ||
931 | 379 | #, python-format | ||
932 | 380 | msgid "" | ||
933 | 381 | "You cannot search by reference because it seems this line has not been " | ||
934 | 382 | "imported from a bank statement file. The system expected \"conceptos\" and " | ||
935 | 383 | "\"referencia2\" keys in line of amount %(amount).2f in statement " | ||
936 | 384 | "%(statement)s." | ||
937 | 385 | msgstr "" | ||
938 | 386 | "You cannot search by reference because it seems this line has not been " | ||
939 | 387 | "imported from a bank statement file. The system expected \"conceptos\" and " | ||
940 | 388 | "\"referencia2\" keys in line of amount %(amount).2f in statement " | ||
941 | 389 | "%(statement)s." | ||
942 | 390 | |||
943 | 391 | #. module: l10n_es_bank_statement | ||
944 | 392 | #: field:l10n.es.extractos.concepto,name:0 | ||
945 | 393 | msgid "Concept name" | ||
946 | 394 | msgstr "Nom concepte" | ||
947 | 395 | |||
948 | 396 | #. module: l10n_es_bank_statement | ||
949 | 397 | #: constraint:account.bank.statement.line:0 | ||
950 | 398 | msgid "" | ||
951 | 399 | "The amount of the voucher must be the same amount as the one on the " | ||
952 | 400 | "statement line" | ||
953 | 401 | msgstr "" | ||
954 | 402 | "The amount of the voucher must be the same amount as the one on the " | ||
955 | 403 | "statement line" | ||
956 | 404 | |||
957 | 405 | #. module: l10n_es_bank_statement | ||
958 | 406 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:103 | ||
959 | 407 | #, python-format | ||
960 | 408 | msgid "Cajero automático" | ||
961 | 409 | msgstr "Cajero automático" | ||
962 | 410 | |||
963 | 411 | #. module: l10n_es_bank_statement | ||
964 | 412 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:95 | ||
965 | 413 | #, python-format | ||
966 | 414 | msgid "Recibo/Letra domiciliado" | ||
967 | 415 | msgstr "Recibo/Letra domiciliado" | ||
968 | 416 | |||
969 | 417 | #. module: l10n_es_bank_statement | ||
970 | 418 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:201 | ||
971 | 419 | #, python-format | ||
972 | 420 | msgid "" | ||
973 | 421 | "Credit amount does not agree with the defined in the last record of account." | ||
974 | 422 | msgstr "" | ||
975 | 423 | "Import haver no coincideix amb el definit en el registre final de compte." | ||
976 | 424 | |||
977 | 425 | #. module: l10n_es_bank_statement | ||
978 | 426 | #: view:l10n.es.extractos.import.wizard:0 | ||
979 | 427 | msgid "" | ||
980 | 428 | "This wizard will import default concepts related to standard accounts of " | ||
981 | 429 | "spanish charts." | ||
982 | 430 | msgstr "" | ||
983 | 431 | "Aquest assistent importarà els conceptes per defecte relacionats amb els " | ||
984 | 432 | "comptes comptables estàndards del pla de comptes espanyol." | ||
985 | 433 | |||
986 | 434 | #. module: l10n_es_bank_statement | ||
987 | 435 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:121 | ||
988 | 436 | #, python-format | ||
989 | 437 | msgid "Import Error" | ||
990 | 438 | msgstr "Error d'importació" | ||
991 | 439 | |||
992 | 440 | #. module: l10n_es_bank_statement | ||
993 | 441 | #: model:ir.model,name:l10n_es_bank_statement.model_account_bank_statement_line | ||
994 | 442 | msgid "Bank Statement Line" | ||
995 | 443 | msgstr "Línia d'extracte bancari" | ||
996 | 444 | |||
997 | 445 | #. module: l10n_es_bank_statement | ||
998 | 446 | #: model:ir.actions.act_window,name:l10n_es_bank_statement.action_extractos_import_wizard | ||
999 | 447 | #: model:ir.ui.menu,name:l10n_es_bank_statement.menu_import_wizard | ||
1000 | 448 | msgid "Import Statement Concepts Wizard" | ||
1001 | 449 | msgstr "Assistent d'importació de conceptes d'extractes" | ||
1002 | 450 | |||
1003 | 451 | #. module: l10n_es_bank_statement | ||
1004 | 452 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_payment_order:0 | ||
1005 | 453 | msgid "Reconcile payment orders by total amount" | ||
1006 | 454 | msgstr "Concilia ordres de pagament per total" | ||
1007 | 455 | |||
1008 | 456 | #. module: l10n_es_bank_statement | ||
1009 | 457 | #: model:ir.module.module,description:l10n_es_bank_statement.module_meta_information | ||
1010 | 458 | msgid "" | ||
1011 | 459 | "\n" | ||
1012 | 460 | "Module for the importation of Spanish bank statements following the C43 " | ||
1013 | 461 | "normative of the 'Asociación Española de la Banca'.\n" | ||
1014 | 462 | " \n" | ||
1015 | 463 | " Adds a wizard to the bank statements to perform the importation. The " | ||
1016 | 464 | "imported file gets attached to the given bank statement.\n" | ||
1017 | 465 | " It allows to define default accounting codes for the concepts defined in " | ||
1018 | 466 | "the C43 bank statement file.\n" | ||
1019 | 467 | "\n" | ||
1020 | 468 | " The search of the entries to reconcile (and partner) is done like this:\n" | ||
1021 | 469 | " 1) Unreconciled entries with the given reference and amount. The " | ||
1022 | 470 | "reference is taken from the 'conceptos' or 'referencia2' fields of the " | ||
1023 | 471 | "statement.\n" | ||
1024 | 472 | " 2) Unreconciled entries with (a partner with) the given VAT number " | ||
1025 | 473 | "and amount.\n" | ||
1026 | 474 | " These fields are tested to find a valid spanish VAT:\n" | ||
1027 | 475 | " - First 9 characters of 'referencia1' (Banc Sabadell)\n" | ||
1028 | 476 | " - First 9 characters of 'conceptos' (La Caixa)\n" | ||
1029 | 477 | " - Characters [21:30] of 'conceptos' (Caja Rural del Jalón)\n" | ||
1030 | 478 | " 3) Unreconciled entries with the given amount.\n" | ||
1031 | 479 | "\n" | ||
1032 | 480 | " If no partner is found, the default account defined for the concept is " | ||
1033 | 481 | "used.\n" | ||
1034 | 482 | "\n" | ||
1035 | 483 | " The module also adds a wizard in Financial Management/Configuration/C43 " | ||
1036 | 484 | "bank statements to import the default statement concepts, that must be run " | ||
1037 | 485 | "after creating the spanish chart of accounts (l10n_es module).\n" | ||
1038 | 486 | " " | ||
1039 | 487 | msgstr "" | ||
1040 | 488 | |||
1041 | 489 | #. module: l10n_es_bank_statement | ||
1042 | 490 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:110 | ||
1043 | 491 | #, python-format | ||
1044 | 492 | msgid "Anulación/Corrección" | ||
1045 | 493 | msgstr "Anulación/Corrección" | ||
1046 | 494 | |||
1047 | 495 | #. module: l10n_es_bank_statement | ||
1048 | 496 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:469 | ||
1049 | 497 | #, python-format | ||
1050 | 498 | msgid "Bank Statement" | ||
1051 | 499 | msgstr "Extracte Bancari" | ||
1052 | 500 | |||
1053 | 501 | #. module: l10n_es_bank_statement | ||
1054 | 502 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:102 | ||
1055 | 503 | #, python-format | ||
1056 | 504 | msgid "Cheque gasolina" | ||
1057 | 505 | msgstr "Cheque gasolina" | ||
1058 | 506 | |||
1059 | 507 | #. module: l10n_es_bank_statement | ||
1060 | 508 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:60 | ||
1061 | 509 | #, python-format | ||
1062 | 510 | msgid "Info:" | ||
1063 | 511 | msgstr "Info:" | ||
1064 | 512 | |||
1065 | 513 | #. module: l10n_es_bank_statement | ||
1066 | 514 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_reference_and_amount:0 | ||
1067 | 515 | msgid "Reconcile by reference and amount" | ||
1068 | 516 | msgstr "Concilia per referència i quantitat" | ||
1069 | 517 | |||
1070 | 518 | #. module: l10n_es_bank_statement | ||
1071 | 519 | #: view:l10n.es.extractos.import.wizard:0 | ||
1072 | 520 | msgid "Import Wizard" | ||
1073 | 521 | msgstr "Assistent d'importació" | ||
1074 | 522 | |||
1075 | 523 | #. module: l10n_es_bank_statement | ||
1076 | 524 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:98 | ||
1077 | 525 | #, python-format | ||
1078 | 526 | msgid "Remesa efectos" | ||
1079 | 527 | msgstr "Remesa efectos" | ||
1080 | 528 | |||
1081 | 529 | #. module: l10n_es_bank_statement | ||
1082 | 530 | #: model:ir.actions.act_window,name:l10n_es_bank_statement.action_extractos_concepto | ||
1083 | 531 | #: view:l10n.es.extractos.concepto:0 | ||
1084 | 532 | msgid "C43 default accounts" | ||
1085 | 533 | msgstr "Comptes per defecte C43" | ||
1086 | 534 | |||
1087 | 535 | #. module: l10n_es_bank_statement | ||
1088 | 536 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
1089 | 537 | #: view:l10n.es.extractos.import.wizard:0 | ||
1090 | 538 | msgid "Cancel" | ||
1091 | 539 | msgstr "Cancel·la" | ||
1092 | 540 | |||
1093 | 541 | #. module: l10n_es_bank_statement | ||
1094 | 542 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:152 | ||
1095 | 543 | #: field:l10n.es.extractos.concepto,company_id:0 | ||
1096 | 544 | #: field:l10n.es.extractos.import.wizard,company_id:0 | ||
1097 | 545 | #, python-format | ||
1098 | 546 | msgid "Company" | ||
1099 | 547 | msgstr "Companyia" | ||
1100 | 548 | 0 | ||
1101 | === removed file '___unported__/l10n_es_bank_statement/i18n/gl.po' | |||
1102 | --- ___unported__/l10n_es_bank_statement/i18n/gl.po 2014-03-04 08:27:58 +0000 | |||
1103 | +++ ___unported__/l10n_es_bank_statement/i18n/gl.po 1970-01-01 00:00:00 +0000 | |||
1104 | @@ -1,573 +0,0 @@ | |||
1105 | 1 | # Galician translation for openerp-spain | ||
1106 | 2 | # Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 | ||
1107 | 3 | # This file is distributed under the same license as the openerp-spain package. | ||
1108 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, 2013. | ||
1109 | 5 | # | ||
1110 | 6 | msgid "" | ||
1111 | 7 | msgstr "" | ||
1112 | 8 | "Project-Id-Version: openerp-spain\n" | ||
1113 | 9 | "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" | ||
1114 | 10 | "POT-Creation-Date: 2011-03-27 02:13+0000\n" | ||
1115 | 11 | "PO-Revision-Date: 2013-10-28 03:03+0000\n" | ||
1116 | 12 | "Last-Translator: Alejandro Santana <alejandrosantana@anubia.es>\n" | ||
1117 | 13 | "Language-Team: Galician <gl@li.org>\n" | ||
1118 | 14 | "MIME-Version: 1.0\n" | ||
1119 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | ||
1120 | 16 | "Content-Transfer-Encoding: 8bit\n" | ||
1121 | 17 | "X-Launchpad-Export-Date: 2014-03-04 08:27+0000\n" | ||
1122 | 18 | "X-Generator: Launchpad (build 16948)\n" | ||
1123 | 19 | |||
1124 | 20 | #. module: l10n_es_bank_statement | ||
1125 | 21 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:109 | ||
1126 | 22 | #, python-format | ||
1127 | 23 | msgid "Intereses/Comisión/Gastos/Custodia" | ||
1128 | 24 | msgstr "Intereses/Comisión/Gastos/Custodia" | ||
1129 | 25 | |||
1130 | 26 | #. module: l10n_es_bank_statement | ||
1131 | 27 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:101 | ||
1132 | 28 | #, python-format | ||
1133 | 29 | msgid "Compra/Venta valores" | ||
1134 | 30 | msgstr "Compra/Venta valores" | ||
1135 | 31 | |||
1136 | 32 | #. module: l10n_es_bank_statement | ||
1137 | 33 | #: model:ir.model,name:l10n_es_bank_statement.model_l10n_es_extractos_concepto | ||
1138 | 34 | msgid "C43 codes" | ||
1139 | 35 | msgstr "Códigos C43" | ||
1140 | 36 | |||
1141 | 37 | #. module: l10n_es_bank_statement | ||
1142 | 38 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_amount:0 | ||
1143 | 39 | msgid "Reconcile by amount" | ||
1144 | 40 | msgstr "Conciliar por cantidade" | ||
1145 | 41 | |||
1146 | 42 | #. module: l10n_es_bank_statement | ||
1147 | 43 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:469 | ||
1148 | 44 | #, python-format | ||
1149 | 45 | msgid "bank-statement.txt" | ||
1150 | 46 | msgstr "bank-statement.txt" | ||
1151 | 47 | |||
1152 | 48 | #. module: l10n_es_bank_statement | ||
1153 | 49 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:107 | ||
1154 | 50 | #, python-format | ||
1155 | 51 | msgid "Nómina/Seg. social" | ||
1156 | 52 | msgstr "Nómina/Seg. social" | ||
1157 | 53 | |||
1158 | 54 | #. module: l10n_es_bank_statement | ||
1159 | 55 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_vat_and_amount:0 | ||
1160 | 56 | msgid "Reconcile by VAT number and amount" | ||
1161 | 57 | msgstr "Conciliar por NIF e cantidade" | ||
1162 | 58 | |||
1163 | 59 | #. module: l10n_es_bank_statement | ||
1164 | 60 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:94 | ||
1165 | 61 | #, python-format | ||
1166 | 62 | msgid "Ingreso/Abonaré" | ||
1167 | 63 | msgstr "Ingreso/Obriga de aboamento" | ||
1168 | 64 | |||
1169 | 65 | #. module: l10n_es_bank_statement | ||
1170 | 66 | #: field:l10n.es.extractos.concepto,account_id:0 | ||
1171 | 67 | msgid "Account associated to the concept" | ||
1172 | 68 | msgstr "Conta asociada ó concepto" | ||
1173 | 69 | |||
1174 | 70 | #. module: l10n_es_bank_statement | ||
1175 | 71 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:97 | ||
1176 | 72 | #, python-format | ||
1177 | 73 | msgid "Amortización préstamo" | ||
1178 | 74 | msgstr "Amortización préstamo" | ||
1179 | 75 | |||
1180 | 76 | #. module: l10n_es_bank_statement | ||
1181 | 77 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:168 | ||
1182 | 78 | #, python-format | ||
1183 | 79 | msgid "Search by references" | ||
1184 | 80 | msgstr "Procurar por referencias" | ||
1185 | 81 | |||
1186 | 82 | #. module: l10n_es_bank_statement | ||
1187 | 83 | #: model:ir.module.module,shortdesc:l10n_es_bank_statement.module_meta_information | ||
1188 | 84 | msgid "Spanish Bank Statements Importation" | ||
1189 | 85 | msgstr "Importación de extractos bancarios españois" | ||
1190 | 86 | |||
1191 | 87 | #. module: l10n_es_bank_statement | ||
1192 | 88 | #: field:l10n.es.bank.statement.import.c43.wizard,file:0 | ||
1193 | 89 | #: field:l10n.es.bank.statement.import.c43.wizard,file_name:0 | ||
1194 | 90 | msgid "Bank Statements File" | ||
1195 | 91 | msgstr "Extracto bancario" | ||
1196 | 92 | |||
1197 | 93 | #. module: l10n_es_bank_statement | ||
1198 | 94 | #: model:ir.actions.act_window,name:l10n_es_bank_statement.action_c43_file_import_wizard | ||
1199 | 95 | msgid "Import Bank Statement" | ||
1200 | 96 | msgstr "Importar extracto bancario" | ||
1201 | 97 | |||
1202 | 98 | #. module: l10n_es_bank_statement | ||
1203 | 99 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
1204 | 100 | #: view:l10n.es.extractos.import.wizard:0 | ||
1205 | 101 | msgid "Import" | ||
1206 | 102 | msgstr "Importar" | ||
1207 | 103 | |||
1208 | 104 | #. module: l10n_es_bank_statement | ||
1209 | 105 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:106 | ||
1210 | 106 | #, python-format | ||
1211 | 107 | msgid "Devolución/Impagado" | ||
1212 | 108 | msgstr "Devolución/Non pago" | ||
1213 | 109 | |||
1214 | 110 | #. module: l10n_es_bank_statement | ||
1215 | 111 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:182 | ||
1216 | 112 | #, python-format | ||
1217 | 113 | msgid "Search by VAT error" | ||
1218 | 114 | msgstr "Erro na procura por NIF" | ||
1219 | 115 | |||
1220 | 116 | #. module: l10n_es_bank_statement | ||
1221 | 117 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:319 | ||
1222 | 118 | #, python-format | ||
1223 | 119 | msgid "Record type %s is not valid." | ||
1224 | 120 | msgstr "O tipo de rexistro %s non é válido." | ||
1225 | 121 | |||
1226 | 122 | #. module: l10n_es_bank_statement | ||
1227 | 123 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:195 | ||
1228 | 124 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:197 | ||
1229 | 125 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:199 | ||
1230 | 126 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:201 | ||
1231 | 127 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:207 | ||
1232 | 128 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:231 | ||
1233 | 129 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:319 | ||
1234 | 130 | #, python-format | ||
1235 | 131 | msgid "Error in C43 file" | ||
1236 | 132 | msgstr "Erro no ficheiro da Norma C43" | ||
1237 | 133 | |||
1238 | 134 | #. module: l10n_es_bank_statement | ||
1239 | 135 | #: help:l10n.es.extractos.concepto,account_id:0 | ||
1240 | 136 | msgid "" | ||
1241 | 137 | "Default account to be associated with the concept when the file of C43 bank " | ||
1242 | 138 | "statements is imported" | ||
1243 | 139 | msgstr "" | ||
1244 | 140 | "Conta contable por defecto que se asociará ó concepto ó importa-lo ficheiro " | ||
1245 | 141 | "de extractos bancarios C43" | ||
1246 | 142 | |||
1247 | 143 | #. module: l10n_es_bank_statement | ||
1248 | 144 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
1249 | 145 | msgid "Bank statements import according to norm C43" | ||
1250 | 146 | msgstr "Importar extracto bancario segundo a norma C43" | ||
1251 | 147 | |||
1252 | 148 | #. module: l10n_es_bank_statement | ||
1253 | 149 | #: model:ir.model,name:l10n_es_bank_statement.model_l10n_es_extractos_import_wizard | ||
1254 | 150 | msgid "l10n.es.extractos.import.wizard" | ||
1255 | 151 | msgstr "l10n.es.extractos.import.wizard" | ||
1256 | 152 | |||
1257 | 153 | #. module: l10n_es_bank_statement | ||
1258 | 154 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:100 | ||
1259 | 155 | #, python-format | ||
1260 | 156 | msgid "Amortización" | ||
1261 | 157 | msgstr "Amortización" | ||
1262 | 158 | |||
1263 | 159 | #. module: l10n_es_bank_statement | ||
1264 | 160 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:182 | ||
1265 | 161 | #, python-format | ||
1266 | 162 | msgid "" | ||
1267 | 163 | "You cannot search by VAT because it seems this line has not been imported " | ||
1268 | 164 | "from a bank statement file. The system expected \"referencia1\" and " | ||
1269 | 165 | "\"conceptos\" keys in line of amount %(amount).2f in statement %(statement)s." | ||
1270 | 166 | msgstr "" | ||
1271 | 167 | "Non pode procurar por NIF porque semella que este apunte non se importou " | ||
1272 | 168 | "desde un extracto bancario. O sistema agardaba polas chaves \"referencia1\" " | ||
1273 | 169 | "e \"conceptos\" na liña de cantidade %(amount).2f no extracto %(statement)s." | ||
1274 | 170 | |||
1275 | 171 | #. module: l10n_es_bank_statement | ||
1276 | 172 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:195 | ||
1277 | 173 | #, python-format | ||
1278 | 174 | msgid "" | ||
1279 | 175 | "Number of debit records does not agree with the defined in the last record " | ||
1280 | 176 | "of account." | ||
1281 | 177 | msgstr "" | ||
1282 | 178 | "O número de rexistros de débito non coincide co definido no último rexistro " | ||
1283 | 179 | "da conta." | ||
1284 | 180 | |||
1285 | 181 | #. module: l10n_es_bank_statement | ||
1286 | 182 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:99 | ||
1287 | 183 | #, python-format | ||
1288 | 184 | msgid "Subscripción/Canje" | ||
1289 | 185 | msgstr "Subscripción/Cambio" | ||
1290 | 186 | |||
1291 | 187 | #. module: l10n_es_bank_statement | ||
1292 | 188 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
1293 | 189 | msgid "Bank Statements File:" | ||
1294 | 190 | msgstr "Extracto bancario:" | ||
1295 | 191 | |||
1296 | 192 | #. module: l10n_es_bank_statement | ||
1297 | 193 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
1298 | 194 | msgid "Automatic reconciliation options" | ||
1299 | 195 | msgstr "Opciones de conciliación automática" | ||
1300 | 196 | |||
1301 | 197 | #. module: l10n_es_bank_statement | ||
1302 | 198 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:157 | ||
1303 | 199 | #, python-format | ||
1304 | 200 | msgid "" | ||
1305 | 201 | "%s moves (%s) found for this date and partner. You'll have to concile this " | ||
1306 | 202 | "line manually..." | ||
1307 | 203 | msgstr "" | ||
1308 | 204 | "%s movementos (%s) atopados para esta data e empresa. Terá que conciliar " | ||
1309 | 205 | "esta líña manualmente..." | ||
1310 | 206 | |||
1311 | 207 | #. module: l10n_es_bank_statement | ||
1312 | 208 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_max_days:0 | ||
1313 | 209 | msgid "Max. days from statement date" | ||
1314 | 210 | msgstr "Máximo de días desde a data do extracto" | ||
1315 | 211 | |||
1316 | 212 | #. module: l10n_es_bank_statement | ||
1317 | 213 | #: help:l10n.es.bank.statement.import.c43.wizard,reco_max_days:0 | ||
1318 | 214 | msgid "" | ||
1319 | 215 | "Maximum difference in days, between the maturity date of the entry to " | ||
1320 | 216 | "reconcile and the bank statement entry" | ||
1321 | 217 | msgstr "" | ||
1322 | 218 | "Diferencia máxima en días, entre a data de vencimento da entrada a conciliar " | ||
1323 | 219 | "e a entrada do extracto bancario" | ||
1324 | 220 | |||
1325 | 221 | #. module: l10n_es_bank_statement | ||
1326 | 222 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:197 | ||
1327 | 223 | #, python-format | ||
1328 | 224 | msgid "" | ||
1329 | 225 | "Number of credit records does not agree with the defined in the last record " | ||
1330 | 226 | "of account." | ||
1331 | 227 | msgstr "" | ||
1332 | 228 | "O número de rexistros de crédito non cadra cos definidos no derradeiro " | ||
1333 | 229 | "rexistro da conta." | ||
1334 | 230 | |||
1335 | 231 | #. module: l10n_es_bank_statement | ||
1336 | 232 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:207 | ||
1337 | 233 | #, python-format | ||
1338 | 234 | msgid "" | ||
1339 | 235 | "Final balance amount = (initial balance + credit - debit) does not agree " | ||
1340 | 236 | "with the defined in the last record of account." | ||
1341 | 237 | msgstr "" | ||
1342 | 238 | "O importe do saldo final = (balance inicial + crédito - débito) non cadra co " | ||
1343 | 239 | "definido no derradeiro rexistro da conta." | ||
1344 | 240 | |||
1345 | 241 | #. module: l10n_es_bank_statement | ||
1346 | 242 | #: model:ir.ui.menu,name:l10n_es_bank_statement.menu_extractos_bancarios_concepto | ||
1347 | 243 | msgid "Default accounts associated to C43 codes" | ||
1348 | 244 | msgstr "Contas por defecto asociadas ós códigos C43" | ||
1349 | 245 | |||
1350 | 246 | #. module: l10n_es_bank_statement | ||
1351 | 247 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:104 | ||
1352 | 248 | #, python-format | ||
1353 | 249 | msgid "Tarjeta crédito/débito" | ||
1354 | 250 | msgstr "Tarxeta crédito/débito" | ||
1355 | 251 | |||
1356 | 252 | #. module: l10n_es_bank_statement | ||
1357 | 253 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:419 | ||
1358 | 254 | #, python-format | ||
1359 | 255 | msgid "A default account has not been defined for the C43 concept " | ||
1360 | 256 | msgstr "Non se definiu unha conta contable por defecto para o concepto C43 " | ||
1361 | 257 | |||
1362 | 258 | #. module: l10n_es_bank_statement | ||
1363 | 259 | #: model:ir.model,name:l10n_es_bank_statement.model_l10n_es_bank_statement_import_c43_wizard | ||
1364 | 260 | msgid "l10n.es.bank.statement.import.c43.wizard" | ||
1365 | 261 | msgstr "l10n.es.bank.statement.import.c43.wizard" | ||
1366 | 262 | |||
1367 | 263 | #. module: l10n_es_bank_statement | ||
1368 | 264 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:93 | ||
1369 | 265 | #, python-format | ||
1370 | 266 | msgid "Reintegro/Talón" | ||
1371 | 267 | msgstr "Reintegro/Talón" | ||
1372 | 268 | |||
1373 | 269 | #. module: l10n_es_bank_statement | ||
1374 | 270 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:60 | ||
1375 | 271 | #, python-format | ||
1376 | 272 | msgid "Concepts for this company already imported..." | ||
1377 | 273 | msgstr "Os conceptos para esta compañía xa foran importados..." | ||
1378 | 274 | |||
1379 | 275 | #. module: l10n_es_bank_statement | ||
1380 | 276 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:96 | ||
1381 | 277 | #, python-format | ||
1382 | 278 | msgid "Transf./Giro/Cheque" | ||
1383 | 279 | msgstr "Transf./Xiro/Cheque" | ||
1384 | 280 | |||
1385 | 281 | #. module: l10n_es_bank_statement | ||
1386 | 282 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:108 | ||
1387 | 283 | #, python-format | ||
1388 | 284 | msgid "Timbre/Corretaje/Póliza" | ||
1389 | 285 | msgstr "Timbre/Corretaxe/Póliza" | ||
1390 | 286 | |||
1391 | 287 | #. module: l10n_es_bank_statement | ||
1392 | 288 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:111 | ||
1393 | 289 | #, python-format | ||
1394 | 290 | msgid "Varios" | ||
1395 | 291 | msgstr "Varios" | ||
1396 | 292 | |||
1397 | 293 | #. module: l10n_es_bank_statement | ||
1398 | 294 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:121 | ||
1399 | 295 | #, python-format | ||
1400 | 296 | msgid "" | ||
1401 | 297 | "Could not import concept %(concept)s because no matching account was found " | ||
1402 | 298 | "for expression %(expression)s." | ||
1403 | 299 | msgstr "" | ||
1404 | 300 | "Non se puido importa-lo concepto %(concept)s porque non se atopou ningunha " | ||
1405 | 301 | "conta que cadrara coa expresión %(expression)s." | ||
1406 | 302 | |||
1407 | 303 | #. module: l10n_es_bank_statement | ||
1408 | 304 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_rules:0 | ||
1409 | 305 | msgid "Statement Line Rules" | ||
1410 | 306 | msgstr "Regras de liña de extracto" | ||
1411 | 307 | |||
1412 | 308 | #. module: l10n_es_bank_statement | ||
1413 | 309 | #: help:l10n.es.extractos.concepto,code:0 | ||
1414 | 310 | msgid "" | ||
1415 | 311 | "2 digits code of the concept defined in the file of C43 bank statements" | ||
1416 | 312 | msgstr "" | ||
1417 | 313 | "Código de 2 díxitos do concepto definido no ficheiro de extractos bancarios " | ||
1418 | 314 | "C43" | ||
1419 | 315 | |||
1420 | 316 | #. module: l10n_es_bank_statement | ||
1421 | 317 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:199 | ||
1422 | 318 | #, python-format | ||
1423 | 319 | msgid "" | ||
1424 | 320 | "Debit amount does not agree with the defined in the last record of account." | ||
1425 | 321 | msgstr "" | ||
1426 | 322 | "A cantidade do débito non cadra co definido no derradeiro rexistro da conta." | ||
1427 | 323 | |||
1428 | 324 | #. module: l10n_es_bank_statement | ||
1429 | 325 | #: field:l10n.es.extractos.concepto,code:0 | ||
1430 | 326 | msgid "Concept code" | ||
1431 | 327 | msgstr "Código concepto" | ||
1432 | 328 | |||
1433 | 329 | #. module: l10n_es_bank_statement | ||
1434 | 330 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:231 | ||
1435 | 331 | #, python-format | ||
1436 | 332 | msgid "Number of records does not agree with the defined in the last record." | ||
1437 | 333 | msgstr "O número de rexistros non cadra co definido no derradeiro rexistro." | ||
1438 | 334 | |||
1439 | 335 | #. module: l10n_es_bank_statement | ||
1440 | 336 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:157 | ||
1441 | 337 | #, python-format | ||
1442 | 338 | msgid "Beware!" | ||
1443 | 339 | msgstr "¡Atención!" | ||
1444 | 340 | |||
1445 | 341 | #. module: l10n_es_bank_statement | ||
1446 | 342 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:80 | ||
1447 | 343 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:139 | ||
1448 | 344 | #, python-format | ||
1449 | 345 | msgid "C43 Created Concepts" | ||
1450 | 346 | msgstr "Conceptos C43 creados" | ||
1451 | 347 | |||
1452 | 348 | #. module: l10n_es_bank_statement | ||
1453 | 349 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:344 | ||
1454 | 350 | #, python-format | ||
1455 | 351 | msgid "Error!" | ||
1456 | 352 | msgstr "¡Erro!" | ||
1457 | 353 | |||
1458 | 354 | #. module: l10n_es_bank_statement | ||
1459 | 355 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:105 | ||
1460 | 356 | #, python-format | ||
1461 | 357 | msgid "Operaciones extranjero" | ||
1462 | 358 | msgstr "Operaciones extranxeiro" | ||
1463 | 359 | |||
1464 | 360 | #. module: l10n_es_bank_statement | ||
1465 | 361 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:344 | ||
1466 | 362 | #, python-format | ||
1467 | 363 | msgid "" | ||
1468 | 364 | "The bank statement is alredy confirmed. It can not be imported from file." | ||
1469 | 365 | msgstr "" | ||
1470 | 366 | "O extracto bancario xa se confirmou. Non se pode importar desde ficheiro." | ||
1471 | 367 | |||
1472 | 368 | #. module: l10n_es_bank_statement | ||
1473 | 369 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:419 | ||
1474 | 370 | #, python-format | ||
1475 | 371 | msgid "Error" | ||
1476 | 372 | msgstr "Erro" | ||
1477 | 373 | |||
1478 | 374 | #. module: l10n_es_bank_statement | ||
1479 | 375 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:168 | ||
1480 | 376 | #, python-format | ||
1481 | 377 | msgid "" | ||
1482 | 378 | "You cannot search by reference because it seems this line has not been " | ||
1483 | 379 | "imported from a bank statement file. The system expected \"conceptos\" and " | ||
1484 | 380 | "\"referencia2\" keys in line of amount %(amount).2f in statement " | ||
1485 | 381 | "%(statement)s." | ||
1486 | 382 | msgstr "" | ||
1487 | 383 | "Non pode procurar por referencia porque semella que este apunte non se " | ||
1488 | 384 | "importou desde un extracto bancario. O sistema agardaba polas chaves " | ||
1489 | 385 | "\"conceptos\" e \"referencia2\" na liña de cantidade %(amount).2f no " | ||
1490 | 386 | "extracto %(statement)s." | ||
1491 | 387 | |||
1492 | 388 | #. module: l10n_es_bank_statement | ||
1493 | 389 | #: field:l10n.es.extractos.concepto,name:0 | ||
1494 | 390 | msgid "Concept name" | ||
1495 | 391 | msgstr "Nome do concepto" | ||
1496 | 392 | |||
1497 | 393 | #. module: l10n_es_bank_statement | ||
1498 | 394 | #: constraint:account.bank.statement.line:0 | ||
1499 | 395 | msgid "" | ||
1500 | 396 | "The amount of the voucher must be the same amount as the one on the " | ||
1501 | 397 | "statement line" | ||
1502 | 398 | msgstr "O importe do recibo debe se-lo mesmo có importe da liña do extracto" | ||
1503 | 399 | |||
1504 | 400 | #. module: l10n_es_bank_statement | ||
1505 | 401 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:103 | ||
1506 | 402 | #, python-format | ||
1507 | 403 | msgid "Cajero automático" | ||
1508 | 404 | msgstr "Caixeiro automático" | ||
1509 | 405 | |||
1510 | 406 | #. module: l10n_es_bank_statement | ||
1511 | 407 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:95 | ||
1512 | 408 | #, python-format | ||
1513 | 409 | msgid "Recibo/Letra domiciliado" | ||
1514 | 410 | msgstr "Recibo/Letra domiciliado" | ||
1515 | 411 | |||
1516 | 412 | #. module: l10n_es_bank_statement | ||
1517 | 413 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:201 | ||
1518 | 414 | #, python-format | ||
1519 | 415 | msgid "" | ||
1520 | 416 | "Credit amount does not agree with the defined in the last record of account." | ||
1521 | 417 | msgstr "" | ||
1522 | 418 | "A cantidade do crédito non cadra co definido no derradeiro rexistro da conta." | ||
1523 | 419 | |||
1524 | 420 | #. module: l10n_es_bank_statement | ||
1525 | 421 | #: view:l10n.es.extractos.import.wizard:0 | ||
1526 | 422 | msgid "" | ||
1527 | 423 | "This wizard will import default concepts related to standard accounts of " | ||
1528 | 424 | "spanish charts." | ||
1529 | 425 | msgstr "" | ||
1530 | 426 | "Este asistente importará conceptos por defecto relacionados coas contas " | ||
1531 | 427 | "contables estándar do plan de contas español." | ||
1532 | 428 | |||
1533 | 429 | #. module: l10n_es_bank_statement | ||
1534 | 430 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:121 | ||
1535 | 431 | #, python-format | ||
1536 | 432 | msgid "Import Error" | ||
1537 | 433 | msgstr "Erro de importación" | ||
1538 | 434 | |||
1539 | 435 | #. module: l10n_es_bank_statement | ||
1540 | 436 | #: model:ir.model,name:l10n_es_bank_statement.model_account_bank_statement_line | ||
1541 | 437 | msgid "Bank Statement Line" | ||
1542 | 438 | msgstr "Liña de extracto bancario" | ||
1543 | 439 | |||
1544 | 440 | #. module: l10n_es_bank_statement | ||
1545 | 441 | #: model:ir.actions.act_window,name:l10n_es_bank_statement.action_extractos_import_wizard | ||
1546 | 442 | #: model:ir.ui.menu,name:l10n_es_bank_statement.menu_import_wizard | ||
1547 | 443 | msgid "Import Statement Concepts Wizard" | ||
1548 | 444 | msgstr "Asistente de importación de conceptos de extractos" | ||
1549 | 445 | |||
1550 | 446 | #. module: l10n_es_bank_statement | ||
1551 | 447 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_payment_order:0 | ||
1552 | 448 | msgid "Reconcile payment orders by total amount" | ||
1553 | 449 | msgstr "Conciliar ordes de pagamento por importe total" | ||
1554 | 450 | |||
1555 | 451 | #. module: l10n_es_bank_statement | ||
1556 | 452 | #: model:ir.module.module,description:l10n_es_bank_statement.module_meta_information | ||
1557 | 453 | msgid "" | ||
1558 | 454 | "\n" | ||
1559 | 455 | "Module for the importation of Spanish bank statements following the C43 " | ||
1560 | 456 | "normative of the 'Asociación Española de la Banca'.\n" | ||
1561 | 457 | " \n" | ||
1562 | 458 | " Adds a wizard to the bank statements to perform the importation. The " | ||
1563 | 459 | "imported file gets attached to the given bank statement.\n" | ||
1564 | 460 | " It allows to define default accounting codes for the concepts defined in " | ||
1565 | 461 | "the C43 bank statement file.\n" | ||
1566 | 462 | "\n" | ||
1567 | 463 | " The search of the entries to reconcile (and partner) is done like this:\n" | ||
1568 | 464 | " 1) Unreconciled entries with the given reference and amount. The " | ||
1569 | 465 | "reference is taken from the 'conceptos' or 'referencia2' fields of the " | ||
1570 | 466 | "statement.\n" | ||
1571 | 467 | " 2) Unreconciled entries with (a partner with) the given VAT number " | ||
1572 | 468 | "and amount.\n" | ||
1573 | 469 | " These fields are tested to find a valid spanish VAT:\n" | ||
1574 | 470 | " - First 9 characters of 'referencia1' (Banc Sabadell)\n" | ||
1575 | 471 | " - First 9 characters of 'conceptos' (La Caixa)\n" | ||
1576 | 472 | " - Characters [21:30] of 'conceptos' (Caja Rural del Jalón)\n" | ||
1577 | 473 | " 3) Unreconciled entries with the given amount.\n" | ||
1578 | 474 | "\n" | ||
1579 | 475 | " If no partner is found, the default account defined for the concept is " | ||
1580 | 476 | "used.\n" | ||
1581 | 477 | "\n" | ||
1582 | 478 | " The module also adds a wizard in Financial Management/Configuration/C43 " | ||
1583 | 479 | "bank statements to import the default statement concepts, that must be run " | ||
1584 | 480 | "after creating the spanish chart of accounts (l10n_es module).\n" | ||
1585 | 481 | " " | ||
1586 | 482 | msgstr "" | ||
1587 | 483 | "\n" | ||
1588 | 484 | "Módulo para a importación de extractos bancarios españois segundo a norma " | ||
1589 | 485 | "C43 da \"Asociación Española de la Banca\".\n" | ||
1590 | 486 | " \n" | ||
1591 | 487 | " Engade un asistente ós extractos bancarios para realiza-la importación. " | ||
1592 | 488 | "O ficheiro importado queda adxunto ó extracto bancario activo.\n" | ||
1593 | 489 | " Permite definir códigos contables por defecto para os conceptos " | ||
1594 | 490 | "definidos no ficheiro de extracto bancario C43.\n" | ||
1595 | 491 | "\n" | ||
1596 | 492 | " A procura de entradas a conciliar realízase da seguinte forma:\n" | ||
1597 | 493 | " 1) Entradas sen conciliar cunha cantidade e referencia " | ||
1598 | 494 | "especificadas. A referencia obtense dos campos 'concepto' ou 'referencia2' " | ||
1599 | 495 | "do extracto.\n" | ||
1600 | 496 | " 2) Entradas sen conciliar nas que figure o NIF da empresa e a " | ||
1601 | 497 | "cantidade.\n" | ||
1602 | 498 | " Para atopar un NIF español válido búscase nos seguintes campos:\n" | ||
1603 | 499 | " - Os primeiros 9 caracteres do campo 'referencia1' (Banc " | ||
1604 | 500 | "Sabadell)\n" | ||
1605 | 501 | " - Os primeiros 9 caracteres do campo 'conceptos' (La Caixa)\n" | ||
1606 | 502 | " - Os caracteres [21:30] do campo 'conceptos' (Caja Rural del " | ||
1607 | 503 | "Jalón)\n" | ||
1608 | 504 | " 3) Entradas sen conciliar nas que figure a cantidade.\n" | ||
1609 | 505 | "\n" | ||
1610 | 506 | " Se non se atopa ningunha empresa, emprégase a conta por defecto definida " | ||
1611 | 507 | "para o concepto.\n" | ||
1612 | 508 | "\n" | ||
1613 | 509 | " O módulo tamén engade un asistente en " | ||
1614 | 510 | "'Contabilidade/Configuración/Extractos bancarios C43' para importa-los " | ||
1615 | 511 | "conceptos por defecto dos extractos; isto débese executar despois de crea-lo " | ||
1616 | 512 | "plan español de contas (módulo 'l10n_es').\n" | ||
1617 | 513 | " " | ||
1618 | 514 | |||
1619 | 515 | #. module: l10n_es_bank_statement | ||
1620 | 516 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:110 | ||
1621 | 517 | #, python-format | ||
1622 | 518 | msgid "Anulación/Corrección" | ||
1623 | 519 | msgstr "Anulación/Corrección" | ||
1624 | 520 | |||
1625 | 521 | #. module: l10n_es_bank_statement | ||
1626 | 522 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:469 | ||
1627 | 523 | #, python-format | ||
1628 | 524 | msgid "Bank Statement" | ||
1629 | 525 | msgstr "Extracto bancario" | ||
1630 | 526 | |||
1631 | 527 | #. module: l10n_es_bank_statement | ||
1632 | 528 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:102 | ||
1633 | 529 | #, python-format | ||
1634 | 530 | msgid "Cheque gasolina" | ||
1635 | 531 | msgstr "Cheque gasolina" | ||
1636 | 532 | |||
1637 | 533 | #. module: l10n_es_bank_statement | ||
1638 | 534 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:60 | ||
1639 | 535 | #, python-format | ||
1640 | 536 | msgid "Info:" | ||
1641 | 537 | msgstr "Información:" | ||
1642 | 538 | |||
1643 | 539 | #. module: l10n_es_bank_statement | ||
1644 | 540 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_reference_and_amount:0 | ||
1645 | 541 | msgid "Reconcile by reference and amount" | ||
1646 | 542 | msgstr "Conciliar por referencia e cantidade" | ||
1647 | 543 | |||
1648 | 544 | #. module: l10n_es_bank_statement | ||
1649 | 545 | #: view:l10n.es.extractos.import.wizard:0 | ||
1650 | 546 | msgid "Import Wizard" | ||
1651 | 547 | msgstr "Asistente de importación" | ||
1652 | 548 | |||
1653 | 549 | #. module: l10n_es_bank_statement | ||
1654 | 550 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:98 | ||
1655 | 551 | #, python-format | ||
1656 | 552 | msgid "Remesa efectos" | ||
1657 | 553 | msgstr "Remesa efectos" | ||
1658 | 554 | |||
1659 | 555 | #. module: l10n_es_bank_statement | ||
1660 | 556 | #: model:ir.actions.act_window,name:l10n_es_bank_statement.action_extractos_concepto | ||
1661 | 557 | #: view:l10n.es.extractos.concepto:0 | ||
1662 | 558 | msgid "C43 default accounts" | ||
1663 | 559 | msgstr "Contas por defecto C43" | ||
1664 | 560 | |||
1665 | 561 | #. module: l10n_es_bank_statement | ||
1666 | 562 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
1667 | 563 | #: view:l10n.es.extractos.import.wizard:0 | ||
1668 | 564 | msgid "Cancel" | ||
1669 | 565 | msgstr "Cancelar" | ||
1670 | 566 | |||
1671 | 567 | #. module: l10n_es_bank_statement | ||
1672 | 568 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:152 | ||
1673 | 569 | #: field:l10n.es.extractos.concepto,company_id:0 | ||
1674 | 570 | #: field:l10n.es.extractos.import.wizard,company_id:0 | ||
1675 | 571 | #, python-format | ||
1676 | 572 | msgid "Company" | ||
1677 | 573 | msgstr "Compañía" | ||
1678 | 574 | 0 | ||
1679 | === removed file '___unported__/l10n_es_bank_statement/import_c43_file.py' | |||
1680 | --- ___unported__/l10n_es_bank_statement/import_c43_file.py 2014-02-24 14:45:52 +0000 | |||
1681 | +++ ___unported__/l10n_es_bank_statement/import_c43_file.py 1970-01-01 00:00:00 +0000 | |||
1682 | @@ -1,492 +0,0 @@ | |||
1683 | 1 | # -*- coding: utf-8 -*- | ||
1684 | 2 | ############################################################################## | ||
1685 | 3 | # | ||
1686 | 4 | # OpenERP, Open Source Management Solution | ||
1687 | 5 | # Copyright (c) 2009 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. | ||
1688 | 6 | # Jordi Esteve <jesteve@zikzakmedia.com> | ||
1689 | 7 | # Copyright (c) 2010 Pexego Sistemas Informáticos. All Rights Reserved | ||
1690 | 8 | # Borja López Soilán <borjals@pexego.es> | ||
1691 | 9 | # Alberto Luengo Cabanillas <alberto@pexego.es> | ||
1692 | 10 | # | ||
1693 | 11 | # | ||
1694 | 12 | # This program is free software: you can redistribute it and/or modify | ||
1695 | 13 | # it under the terms of the GNU Affero General Public License as published by | ||
1696 | 14 | # the Free Software Foundation, either version 3 of the License, or | ||
1697 | 15 | # (at your option) any later version. | ||
1698 | 16 | # | ||
1699 | 17 | # This program is distributed in the hope that it will be useful, | ||
1700 | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1701 | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1702 | 20 | # GNU Affero General Public License for more details. | ||
1703 | 21 | # | ||
1704 | 22 | # You should have received a copy of the GNU Affero General Public License | ||
1705 | 23 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1706 | 24 | # | ||
1707 | 25 | ############################################################################## | ||
1708 | 26 | |||
1709 | 27 | """ | ||
1710 | 28 | C43 file importation wizard for bank statements. | ||
1711 | 29 | """ | ||
1712 | 30 | from osv import fields,osv | ||
1713 | 31 | import wizard | ||
1714 | 32 | from openerp import pooler | ||
1715 | 33 | import base64 | ||
1716 | 34 | import time | ||
1717 | 35 | import re | ||
1718 | 36 | from openerp.tools.translate import _ | ||
1719 | 37 | |||
1720 | 38 | class l10n_es_bank_statement_import_c43_wizard(osv.osv_memory): | ||
1721 | 39 | """ | ||
1722 | 40 | C43 file importation wizard for bank statements. | ||
1723 | 41 | """ | ||
1724 | 42 | |||
1725 | 43 | def _process_record_11(self, cr, uid, st_data, line, context): | ||
1726 | 44 | """ | ||
1727 | 45 | 11 - Registro cabecera de cuenta (obligatorio) | ||
1728 | 46 | """ | ||
1729 | 47 | # | ||
1730 | 48 | # Add a new group to the statement groups | ||
1731 | 49 | # | ||
1732 | 50 | st_group = {} | ||
1733 | 51 | st_data['groups'] = st_data.get('groups', []) | ||
1734 | 52 | st_data['groups'].append(st_group) | ||
1735 | 53 | |||
1736 | 54 | # | ||
1737 | 55 | # Set the group values | ||
1738 | 56 | # | ||
1739 | 57 | st_group.update({ | ||
1740 | 58 | 'entidad':line[2:6], | ||
1741 | 59 | 'oficina': line[6:10], | ||
1742 | 60 | 'cuenta': line[10:20], | ||
1743 | 61 | 'fecha_ini': time.strftime('%Y-%m-%d', time.strptime(line[20:26], '%y%m%d')), | ||
1744 | 62 | 'fecha_fin': time.strftime('%Y-%m-%d', time.strptime(line[26:32], '%y%m%d')), | ||
1745 | 63 | 'divisa': line[47:50], | ||
1746 | 64 | 'modalidad': line[50:51], # 1,2 o 3 | ||
1747 | 65 | 'nombre_propietario': line[51:77], # Nombre abreviado propietario cuenta | ||
1748 | 66 | 'saldo_ini': (float(line[33:45]) + (float(line[45:47]) / 100)) * (line[32:33] == '1' and -1 or 1), | ||
1749 | 67 | 'saldo_fin': 0, | ||
1750 | 68 | 'num_debe': 0, | ||
1751 | 69 | 'debe': 0, | ||
1752 | 70 | 'num_haber': 0, | ||
1753 | 71 | 'haber': 0, | ||
1754 | 72 | '_debit_count': 0, | ||
1755 | 73 | '_debit': 0, | ||
1756 | 74 | '_credit_count': 0, | ||
1757 | 75 | '_credit': 0, | ||
1758 | 76 | '_balance': 0, | ||
1759 | 77 | }) | ||
1760 | 78 | |||
1761 | 79 | # | ||
1762 | 80 | # Use the first group initial balance and date, as initial | ||
1763 | 81 | # balance and date for the full statement. | ||
1764 | 82 | # | ||
1765 | 83 | if st_data.get('saldo_ini', None) is None: | ||
1766 | 84 | st_data['saldo_ini'] = st_group['saldo_ini'] | ||
1767 | 85 | st_data['fecha_ini'] = st_group['fecha_ini'] | ||
1768 | 86 | |||
1769 | 87 | # Update the record counter | ||
1770 | 88 | st_data['_num_records'] = st_data.get('_num_records', 0) + 1 | ||
1771 | 89 | |||
1772 | 90 | return st_group | ||
1773 | 91 | |||
1774 | 92 | |||
1775 | 93 | def _process_record_22(self, cr, uid, st_data, line, context): | ||
1776 | 94 | """ | ||
1777 | 95 | 22 - Registro principal de movimiento (obligatorio) | ||
1778 | 96 | """ | ||
1779 | 97 | |||
1780 | 98 | # | ||
1781 | 99 | # Add a new line to the statement lines | ||
1782 | 100 | # | ||
1783 | 101 | st_line = {} | ||
1784 | 102 | st_data['lines'] = st_data.get('lines', []) | ||
1785 | 103 | st_data['lines'].append(st_line) | ||
1786 | 104 | |||
1787 | 105 | # | ||
1788 | 106 | # Set the line values | ||
1789 | 107 | # | ||
1790 | 108 | st_line.update({ | ||
1791 | 109 | 'of_origen': line[6:10], | ||
1792 | 110 | 'fecha_opera': time.strftime('%Y-%m-%d', time.strptime(line[10:16], '%y%m%d')), | ||
1793 | 111 | 'fecha_valor': time.strftime('%Y-%m-%d', time.strptime(line[16:22], '%y%m%d')), | ||
1794 | 112 | 'concepto_c': line[22:24], | ||
1795 | 113 | 'concepto_p': line[24:27], | ||
1796 | 114 | 'importe': (float(line[28:40]) + (float(line[40:42]) / 100)) * (line[27:28] == '1' and -1 or 1), | ||
1797 | 115 | 'num_documento': line[41:52], | ||
1798 | 116 | 'referencia1': line[52:64], | ||
1799 | 117 | 'referencia2': line[64:], | ||
1800 | 118 | 'conceptos': '', | ||
1801 | 119 | }) | ||
1802 | 120 | |||
1803 | 121 | # | ||
1804 | 122 | # Update the (last) group totals | ||
1805 | 123 | # | ||
1806 | 124 | st_group = st_data['groups'][-1] | ||
1807 | 125 | if st_line['importe'] < 0: | ||
1808 | 126 | st_group['_debit_count'] += 1 | ||
1809 | 127 | st_group['_debit'] -= st_line['importe'] | ||
1810 | 128 | else: | ||
1811 | 129 | st_group['_credit_count'] += 1 | ||
1812 | 130 | st_group['_credit'] += st_line['importe'] | ||
1813 | 131 | |||
1814 | 132 | # Update the record counter | ||
1815 | 133 | st_data['_num_records'] += 1 | ||
1816 | 134 | |||
1817 | 135 | return st_line | ||
1818 | 136 | |||
1819 | 137 | |||
1820 | 138 | def _process_record_23(self, cr, uid, st_data, line, context): | ||
1821 | 139 | """ | ||
1822 | 140 | 23 - Registros complementarios de concepto (opcionales y hasta un máximo de 5) | ||
1823 | 141 | """ | ||
1824 | 142 | # | ||
1825 | 143 | # Update the current (last) line | ||
1826 | 144 | # | ||
1827 | 145 | st_line = st_data['lines'][-1] | ||
1828 | 146 | st_line['conceptos'] += line[4:] # Se han unido los dos conceptos line[4:42]+line[42:] en uno | ||
1829 | 147 | |||
1830 | 148 | # Update the record counter | ||
1831 | 149 | st_data['_num_records'] += 1 | ||
1832 | 150 | |||
1833 | 151 | return st_line | ||
1834 | 152 | |||
1835 | 153 | |||
1836 | 154 | def _process_record_24(self, cr, uid, st_data, line, context): | ||
1837 | 155 | """ | ||
1838 | 156 | 24 - Registro complementario de información de equivalencia del importe (opcional y sin valor contable) | ||
1839 | 157 | """ | ||
1840 | 158 | # | ||
1841 | 159 | # Update the current (last) line | ||
1842 | 160 | # | ||
1843 | 161 | st_line = st_data['lines'][-1] | ||
1844 | 162 | st_line['divisa_eq'] = line[4:7] | ||
1845 | 163 | st_line['importe_eq'] = float(line[7:19]) + (float(line[19:21]) / 100) | ||
1846 | 164 | |||
1847 | 165 | # Update the record counter | ||
1848 | 166 | st_data['_num_records'] += 1 | ||
1849 | 167 | |||
1850 | 168 | return st_line | ||
1851 | 169 | |||
1852 | 170 | |||
1853 | 171 | def _process_record_33(self, cr, uid, st_data, line, context): | ||
1854 | 172 | """ | ||
1855 | 173 | 33 - Registro final de cuenta | ||
1856 | 174 | """ | ||
1857 | 175 | # | ||
1858 | 176 | # Update the (last) group | ||
1859 | 177 | # | ||
1860 | 178 | st_group = st_data['groups'][-1] | ||
1861 | 179 | st_group.update({ | ||
1862 | 180 | 'num_debe': st_group['num_debe'] + int(line[20:25]), | ||
1863 | 181 | 'debe': st_group['debe'] + float(line[25:37]) + (float(line[37:39]) / 100), | ||
1864 | 182 | 'num_haber': st_group['num_haber'] + int(line[39:44]), | ||
1865 | 183 | 'haber': st_group['haber'] + float(line[44:56]) + (float(line[56:58]) / 100), | ||
1866 | 184 | 'saldo_fin': st_group['saldo_fin'] + (float(line[59:71]) + (float(line[71:73]) / 100)) * (line[58:59] == '1' and -1 or 1), | ||
1867 | 185 | '_balance': st_group['saldo_ini'] + st_group['_credit'] - st_group['_debit'] | ||
1868 | 186 | }) | ||
1869 | 187 | |||
1870 | 188 | # Update the record counter | ||
1871 | 189 | st_data['_num_records'] += 1 | ||
1872 | 190 | |||
1873 | 191 | # | ||
1874 | 192 | # Group level checks | ||
1875 | 193 | # | ||
1876 | 194 | if st_group['num_debe'] != st_group['_debit_count']: | ||
1877 | 195 | raise osv.except_osv(_('Error in C43 file'), _('Number of debit records does not agree with the defined in the last record of account.')) | ||
1878 | 196 | if st_group['num_haber'] != st_group['_credit_count']: | ||
1879 | 197 | raise osv.except_osv(_('Error in C43 file'), _('Number of credit records does not agree with the defined in the last record of account.')) | ||
1880 | 198 | if abs(st_group['debe'] - st_group['_debit']) > 0.005: | ||
1881 | 199 | raise osv.except_osv(_('Error in C43 file'), _('Debit amount does not agree with the defined in the last record of account.')) | ||
1882 | 200 | if abs(st_group['haber'] - st_group['_credit']) > 0.005: | ||
1883 | 201 | raise osv.except_osv(_('Error in C43 file'), _('Credit amount does not agree with the defined in the last record of account.')) | ||
1884 | 202 | # Note: Only perform this check if the balance defined on the file record, | ||
1885 | 203 | # as some banks may leave it empty (zero) on some circunstances | ||
1886 | 204 | # (like CaixaNova extracts for VISA credit cards). | ||
1887 | 205 | if st_group['saldo_fin'] != 0.0 \ | ||
1888 | 206 | and abs(st_group['saldo_fin'] - st_group['_balance']) > 0.005: | ||
1889 | 207 | raise osv.except_osv(_('Error in C43 file'), _('Final balance amount = (initial balance + credit - debit) does not agree with the defined in the last record of account.')) | ||
1890 | 208 | |||
1891 | 209 | return st_group | ||
1892 | 210 | |||
1893 | 211 | |||
1894 | 212 | def _process_record_88(self, cr, uid, st_data, line, context): | ||
1895 | 213 | """ | ||
1896 | 214 | 88 - Registro de fin de archivo | ||
1897 | 215 | """ | ||
1898 | 216 | # We will use the last group final balance and date, as final | ||
1899 | 217 | # balance and date for the full statement. | ||
1900 | 218 | st_group = st_data['groups'][-1] | ||
1901 | 219 | |||
1902 | 220 | # Update the statement | ||
1903 | 221 | st_data.update({ | ||
1904 | 222 | 'num_registros': int(line[20:26]), | ||
1905 | 223 | 'fecha_fin': st_group['fecha_fin'], | ||
1906 | 224 | 'saldo_fin': st_group['saldo_fin'], | ||
1907 | 225 | }) | ||
1908 | 226 | |||
1909 | 227 | # | ||
1910 | 228 | # File level checks | ||
1911 | 229 | # | ||
1912 | 230 | if st_data['num_registros'] != st_data['_num_records']: | ||
1913 | 231 | raise osv.except_osv(_('Error in C43 file'), _('Number of records does not agree with the defined in the last record.')) | ||
1914 | 232 | |||
1915 | 233 | return st_data | ||
1916 | 234 | |||
1917 | 235 | |||
1918 | 236 | def _load_c43_file(self, cr, uid, file_contents, context=None): | ||
1919 | 237 | """ | ||
1920 | 238 | Reads a c43 file and returns a dictionary containing the file data: | ||
1921 | 239 | |||
1922 | 240 | _num_records: Number of records really counted | ||
1923 | 241 | num_registros: Number of records declared on the file | ||
1924 | 242 | fecha_fin: Final date (as the last record group) | ||
1925 | 243 | saldo_fin: Final balance (from the last record group) | ||
1926 | 244 | groups: Info about each of the groups (account groups): | ||
1927 | 245 | _debit_count | ||
1928 | 246 | _debit | ||
1929 | 247 | _credit_count | ||
1930 | 248 | _credit | ||
1931 | 249 | entidad | ||
1932 | 250 | oficina | ||
1933 | 251 | cuenta | ||
1934 | 252 | fecha_ini | ||
1935 | 253 | fecha_fin | ||
1936 | 254 | saldo_ini | ||
1937 | 255 | saldo_fin | ||
1938 | 256 | divisa | ||
1939 | 257 | modalidad | ||
1940 | 258 | nombre_propietario | ||
1941 | 259 | lines: Info about each of the moves | ||
1942 | 260 | of_origen | ||
1943 | 261 | fecha_opera | ||
1944 | 262 | fecha_valor | ||
1945 | 263 | concepto_c | ||
1946 | 264 | concepto_p | ||
1947 | 265 | importe | ||
1948 | 266 | num_documento | ||
1949 | 267 | referencia1 | ||
1950 | 268 | referencia2 | ||
1951 | 269 | conceptos | ||
1952 | 270 | divisa_eq | ||
1953 | 271 | importe_eq | ||
1954 | 272 | """ | ||
1955 | 273 | if context is None: | ||
1956 | 274 | context = {} | ||
1957 | 275 | |||
1958 | 276 | # | ||
1959 | 277 | # st_data will contain the data read from the file, plus the internal | ||
1960 | 278 | # counters used for checking. | ||
1961 | 279 | # | ||
1962 | 280 | st_data = { | ||
1963 | 281 | '_num_records': 0, # Number of records really counted | ||
1964 | 282 | 'num_registros': 0, # Number of records declared on the file | ||
1965 | 283 | 'fecha_fin': None, # Final date (as the last record group) | ||
1966 | 284 | 'saldo_fin': None, # Final balance (from the last record group) | ||
1967 | 285 | 'groups': [], # Info about each of the groups (account groups) | ||
1968 | 286 | 'lines': [], # Info about each of the moves | ||
1969 | 287 | } | ||
1970 | 288 | |||
1971 | 289 | # | ||
1972 | 290 | # Read the C43 file | ||
1973 | 291 | # | ||
1974 | 292 | decoded_file_contents = base64.decodestring(file_contents) | ||
1975 | 293 | try: | ||
1976 | 294 | unicode(decoded_file_contents, 'utf8') | ||
1977 | 295 | except Exception, ex: # Si no puede convertir a UTF-8 es que debe estar en ISO-8859-1: Lo convertimos | ||
1978 | 296 | decoded_file_contents = unicode(decoded_file_contents, 'iso-8859-1').encode('utf-8') | ||
1979 | 297 | |||
1980 | 298 | # | ||
1981 | 299 | # Process the file lines | ||
1982 | 300 | # | ||
1983 | 301 | for line in decoded_file_contents.split("\n"): | ||
1984 | 302 | if len(line) == 0: | ||
1985 | 303 | continue | ||
1986 | 304 | if line[0:2] == '11': # Registro cabecera de cuenta (obligatorio) | ||
1987 | 305 | self._process_record_11(cr, uid, st_data, line, context) | ||
1988 | 306 | elif line[0:2] == '22': # Registro principal de movimiento (obligatorio) | ||
1989 | 307 | self._process_record_22(cr, uid, st_data, line, context) | ||
1990 | 308 | elif line[0:2] == '23': # Registros complementarios de concepto (opcionales y hasta un máximo de 5) | ||
1991 | 309 | self._process_record_23(cr, uid, st_data, line, context) | ||
1992 | 310 | elif line[0:2] == '24': # Registro complementario de información de equivalencia del importe (opcional y sin valor contable) | ||
1993 | 311 | self._process_record_24(cr, uid, st_data, line, context) | ||
1994 | 312 | elif line[0:2] == '33': # Registro final de cuenta | ||
1995 | 313 | self._process_record_33(cr, uid, st_data, line, context) | ||
1996 | 314 | elif line[0:2] == '88': # Registro de fin de archivo | ||
1997 | 315 | self._process_record_88(cr, uid, st_data, line, context) | ||
1998 | 316 | elif ord(line[0]) == 26: # CTRL-Z (^Z), is often used as an end-of-file marker in DOS | ||
1999 | 317 | pass | ||
2000 | 318 | else: | ||
2001 | 319 | raise osv.except_osv(_('Error in C43 file'), _('Record type %s is not valid.') % line[0:2]) | ||
2002 | 320 | |||
2003 | 321 | return st_data | ||
2004 | 322 | |||
2005 | 323 | # | ||
2006 | 324 | # Main action -------------------------------------------------------------- | ||
2007 | 325 | # | ||
2008 | 326 | def import_action(self, cr, uid, ids, context=None): | ||
2009 | 327 | """ | ||
2010 | 328 | Imports the C43 file selected by the user on the wizard form, | ||
2011 | 329 | into the current bank statement statement. | ||
2012 | 330 | """ | ||
2013 | 331 | if context is None: | ||
2014 | 332 | context = {} | ||
2015 | 333 | |||
2016 | 334 | pool = pooler.get_pool(cr.dbname) | ||
2017 | 335 | statement_facade = pool.get('account.bank.statement') | ||
2018 | 336 | statement_line_facade = pool.get('account.bank.statement.line') | ||
2019 | 337 | concepto_facade = pool.get('l10n.es.extractos.concepto') | ||
2020 | 338 | |||
2021 | 339 | for c43_wizard in self.browse(cr,uid,ids,context): | ||
2022 | 340 | statement_id = context['active_id'] | ||
2023 | 341 | |||
2024 | 342 | statement = statement_facade.browse(cr, uid, statement_id) | ||
2025 | 343 | if statement.state == 'confirm': | ||
2026 | 344 | raise osv.except_osv(_('Error!'), _('The bank statement is alredy confirmed. It can not be imported from file.')) | ||
2027 | 345 | |||
2028 | 346 | # Load the file data into the st_data dictionary | ||
2029 | 347 | st_data = self._load_c43_file(cr, uid, c43_wizard.file, context=context) | ||
2030 | 348 | |||
2031 | 349 | # | ||
2032 | 350 | # Process each movement line from the statement data | ||
2033 | 351 | # | ||
2034 | 352 | reconciled_move_lines_ids = [] | ||
2035 | 353 | for st_line in st_data['lines']: | ||
2036 | 354 | # | ||
2037 | 355 | # Search the 'concepto' for this line | ||
2038 | 356 | # | ||
2039 | 357 | concepto_ids = concepto_facade.search(cr, uid, [ | ||
2040 | 358 | ('code', '=', st_line['concepto_c']), | ||
2041 | 359 | ('company_id', '=',statement.company_id.id), | ||
2042 | 360 | ], context=context) | ||
2043 | 361 | concepto = None | ||
2044 | 362 | if concepto_ids: | ||
2045 | 363 | concepto = concepto_facade.browse(cr, uid, concepto_ids[0], context=context) | ||
2046 | 364 | |||
2047 | 365 | # | ||
2048 | 366 | # Basic statement line values | ||
2049 | 367 | # | ||
2050 | 368 | note = st_line['conceptos'].strip() | ||
2051 | 369 | ref = re.sub(' +', ' ', note).strip() | ||
2052 | 370 | values = { | ||
2053 | 371 | 'statement_id': statement_id, | ||
2054 | 372 | 'name': concepto and concepto.name or '-', | ||
2055 | 373 | 'date': st_line['fecha_opera'], | ||
2056 | 374 | 'amount': st_line['importe'], | ||
2057 | 375 | 'ref': ref, | ||
2058 | 376 | 'note': note, | ||
2059 | 377 | } | ||
2060 | 378 | |||
2061 | 379 | if st_line['concepto_c'] in ['03']: # Recibo/Letra domiciliado | ||
2062 | 380 | values['type'] = 'supplier' | ||
2063 | 381 | elif st_line['concepto_c'] in ['14']: # Devolución/Impagado | ||
2064 | 382 | values['type'] = 'customer' | ||
2065 | 383 | elif st_line['concepto_c'] in ['05', '06', '07', '08', '09', '10', '11', '12', '13', '15', '16', '17', '98', '99']: | ||
2066 | 384 | values['type'] = 'general' | ||
2067 | 385 | else: | ||
2068 | 386 | values['type'] = (st_line['importe'] >= 0 and 'customer') or 'supplier' | ||
2069 | 387 | |||
2070 | 388 | # | ||
2071 | 389 | # Search for lines or payment orders to reconcile against this line | ||
2072 | 390 | # | ||
2073 | 391 | line2reconcile = None | ||
2074 | 392 | |||
2075 | 393 | maturity_date = st_line['fecha_valor'] | ||
2076 | 394 | max_date_diff = c43_wizard.reco_max_days * 3600*24 | ||
2077 | 395 | |||
2078 | 396 | account_id = concepto and concepto.account_id.id | ||
2079 | 397 | partner = None | ||
2080 | 398 | |||
2081 | 399 | if values['type'] in ['customer', 'supplier']: | ||
2082 | 400 | # | ||
2083 | 401 | # Use partner accounts | ||
2084 | 402 | # | ||
2085 | 403 | partner = statement_line_facade._find_partner_by_line_vat_number(cr, uid, st_line['referencia1'][:9], context) or \ | ||
2086 | 404 | statement_line_facade._find_partner_by_line_vat_number(cr, uid, st_line['referencia1'][-9:], context) or \ | ||
2087 | 405 | statement_line_facade._find_partner_by_line_vat_number(cr, uid, st_line['referencia2'][:9], context) or \ | ||
2088 | 406 | statement_line_facade._find_partner_by_line_vat_number(cr, uid, st_line['referencia2'][-9:], context) | ||
2089 | 407 | if partner: | ||
2090 | 408 | # Use the partner accounts | ||
2091 | 409 | if values['type'] == 'customer': | ||
2092 | 410 | account_id = partner.property_account_receivable and partner.property_account_receivable.id or account_id | ||
2093 | 411 | else: | ||
2094 | 412 | account_id = partner.property_account_payable and partner.property_account_payable.id or account_id | ||
2095 | 413 | else: | ||
2096 | 414 | # Use the generic partner accounts | ||
2097 | 415 | default_account_receivable_id, default_account_payable_id = statement_line_facade._get_default_partner_account_ids(cr, uid, context) | ||
2098 | 416 | if values['type'] == 'customer': | ||
2099 | 417 | account_id = default_account_receivable_id or account_id | ||
2100 | 418 | else: | ||
2101 | 419 | account_id = default_account_payable_id or account_id | ||
2102 | 420 | |||
2103 | 421 | if not account_id: | ||
2104 | 422 | raise osv.except_osv(_('Error'), _('A default account has not been defined for the C43 concept ') + st_line['concepto_c'] ) | ||
2105 | 423 | |||
2106 | 424 | values.update({ | ||
2107 | 425 | 'account_id': account_id, | ||
2108 | 426 | 'partner_id': partner and partner.id or None, | ||
2109 | 427 | 'voucher_id': None, | ||
2110 | 428 | }) | ||
2111 | 429 | |||
2112 | 430 | line_id = statement_line_facade.create(cr, uid, values, context=context) | ||
2113 | 431 | |||
2114 | 432 | # Store extra information needed to search possible move lines to reconcile | ||
2115 | 433 | info = {} | ||
2116 | 434 | for key in ('conceptos', 'referencia1', 'referencia2'): | ||
2117 | 435 | info[key] = st_line[key] | ||
2118 | 436 | pool.get('account.bank.statement.line.data').create_from_dictionary(cr, uid, line_id, info, context) | ||
2119 | 437 | |||
2120 | 438 | # It's a bit slow doing this process by storing 'search_by' in the database each time | ||
2121 | 439 | # but simplifies the API and at the same time makes 'search_by' to be stored as the | ||
2122 | 440 | # last search type. The one that found the move line to reconcile. | ||
2123 | 441 | found = False | ||
2124 | 442 | for search_by in ('reference_and_amount','vat_and_amount','amount','payment_order','rules'): | ||
2125 | 443 | # Check if the 'search_by' type of search should be applied. | ||
2126 | 444 | if not getattr(c43_wizard, 'reco_%s' % search_by): | ||
2127 | 445 | continue | ||
2128 | 446 | pool.get('account.bank.statement.line').write(cr, uid, [line_id], { | ||
2129 | 447 | 'search_by': search_by, | ||
2130 | 448 | }, context) | ||
2131 | 449 | result = pool.get('account.bank.statement.line').reconcile_search(cr, uid, [line_id], context, maturity_date, max_date_diff) | ||
2132 | 450 | if result[line_id] or search_by == 'payment_order': | ||
2133 | 451 | found = True | ||
2134 | 452 | break | ||
2135 | 453 | |||
2136 | 454 | if not found: | ||
2137 | 455 | # If no move line was found, set 'search_by' field to 'none' | ||
2138 | 456 | pool.get('account.bank.statement.line').write(cr, uid, [line_id], { | ||
2139 | 457 | 'search_by': 'none', | ||
2140 | 458 | }, context) | ||
2141 | 459 | |||
2142 | 460 | |||
2143 | 461 | # | ||
2144 | 462 | # Update the statement | ||
2145 | 463 | # | ||
2146 | 464 | statement_facade.write(cr, uid, [statement_id], { | ||
2147 | 465 | 'date': st_data['fecha_fin'], | ||
2148 | 466 | 'balance_start': st_data['saldo_ini'], | ||
2149 | 467 | 'balance_end_real': st_data['saldo_fin'], | ||
2150 | 468 | }, context=context) | ||
2151 | 469 | |||
2152 | 470 | # Attach the C43 file to the current statement | ||
2153 | 471 | data = base64.encodestring( c43_wizard.file ) | ||
2154 | 472 | res = statement_facade._attach_file_to_statement(cr, uid, data, statement_id, _('Bank Statement'), _('bank-statement.txt') ) | ||
2155 | 473 | |||
2156 | 474 | return {} | ||
2157 | 475 | |||
2158 | 476 | |||
2159 | 477 | _name = 'l10n.es.bank.statement.import.c43.wizard' | ||
2160 | 478 | |||
2161 | 479 | _columns = { | ||
2162 | 480 | 'file': fields.binary('Bank Statements File', required=True, filename='file_name'), | ||
2163 | 481 | 'file_name': fields.char('Bank Statements File', size=64, readonly=True), | ||
2164 | 482 | 'reco_reference_and_amount': fields.boolean('Reconcile by reference and amount'), | ||
2165 | 483 | 'reco_vat_and_amount' : fields.boolean('Reconcile by VAT number and amount'), | ||
2166 | 484 | 'reco_amount' : fields.boolean('Reconcile by amount'), | ||
2167 | 485 | 'reco_rules' : fields.boolean('Statement Line Rules'), | ||
2168 | 486 | 'reco_payment_order': fields.boolean('Reconcile payment orders by total amount'), | ||
2169 | 487 | 'reco_max_days' : fields.integer('Max. days from statement date',help='Maximum difference in days, between the maturity date of the entry to reconcile and the bank statement entry') | ||
2170 | 488 | } | ||
2171 | 489 | |||
2172 | 490 | l10n_es_bank_statement_import_c43_wizard() | ||
2173 | 491 | |||
2174 | 492 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
2175 | 493 | 0 | ||
2176 | === removed file '___unported__/l10n_es_bank_statement/import_c43_file_view.xml' | |||
2177 | --- ___unported__/l10n_es_bank_statement/import_c43_file_view.xml 2011-03-27 01:51:59 +0000 | |||
2178 | +++ ___unported__/l10n_es_bank_statement/import_c43_file_view.xml 1970-01-01 00:00:00 +0000 | |||
2179 | @@ -1,47 +0,0 @@ | |||
2180 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
2181 | 2 | <openerp> | ||
2182 | 3 | <data> | ||
2183 | 4 | |||
2184 | 5 | <!-- Import C43 file wizard --> | ||
2185 | 6 | <record model="ir.ui.view" id="c43_file_import_wizard"> | ||
2186 | 7 | <field name="name">l10n.es.bank.statement.c43.import.form</field> | ||
2187 | 8 | <field name="model">l10n.es.bank.statement.import.c43.wizard</field> | ||
2188 | 9 | <field name="type">form</field> | ||
2189 | 10 | <field name="arch" type="xml"> | ||
2190 | 11 | <form string="Bank statements import according to norm C43"> | ||
2191 | 12 | <group colspan="4"> | ||
2192 | 13 | <label string="Bank Statements File:"/> | ||
2193 | 14 | <newline/> | ||
2194 | 15 | <field name="file_name" nolabel="1"/> | ||
2195 | 16 | <field name="file" filename="file_name" nolabel="1"/> | ||
2196 | 17 | </group> | ||
2197 | 18 | <group colspan="4" col="1"> | ||
2198 | 19 | <separator string="Automatic reconciliation options"/> | ||
2199 | 20 | <field name="reco_reference_and_amount"/> | ||
2200 | 21 | <field name="reco_vat_and_amount"/> | ||
2201 | 22 | <field name="reco_amount"/> | ||
2202 | 23 | <field name="reco_payment_order"/> | ||
2203 | 24 | <field name="reco_rules"/> | ||
2204 | 25 | <field name="reco_max_days"/> | ||
2205 | 26 | </group> | ||
2206 | 27 | <button icon="gtk-cancel" special="cancel" string="Cancel" type="object"/> | ||
2207 | 28 | <button icon="gtk-ok" name="import_action" string="Import" type="object"/> | ||
2208 | 29 | </form> | ||
2209 | 30 | </field> | ||
2210 | 31 | </record> | ||
2211 | 32 | |||
2212 | 33 | <record id="action_c43_file_import_wizard" model="ir.actions.act_window"> | ||
2213 | 34 | <field name="name">Import C43 Files Wizard</field> | ||
2214 | 35 | <field name="type">ir.actions.act_window</field> | ||
2215 | 36 | <field name="res_model">l10n.es.bank.statement.import.c43.wizard</field> | ||
2216 | 37 | <field name="view_type">form</field> | ||
2217 | 38 | <field name="view_mode">form</field> | ||
2218 | 39 | <field name="target">new</field> | ||
2219 | 40 | </record> | ||
2220 | 41 | |||
2221 | 42 | <act_window id="action_c43_file_import_wizard" | ||
2222 | 43 | key2="client_action_multi" name="Import Bank Statement" | ||
2223 | 44 | res_model="l10n.es.bank.statement.import.c43.wizard" src_model="account.bank.statement" | ||
2224 | 45 | view_mode="form" target="new" view_type="form" groups="account.group_account_manager"/> | ||
2225 | 46 | </data> | ||
2226 | 47 | </openerp> | ||
2227 | 48 | 0 | ||
2228 | === removed file '___unported__/l10n_es_bank_statement/import_conceptos.py' | |||
2229 | --- ___unported__/l10n_es_bank_statement/import_conceptos.py 2014-02-24 14:45:52 +0000 | |||
2230 | +++ ___unported__/l10n_es_bank_statement/import_conceptos.py 1970-01-01 00:00:00 +0000 | |||
2231 | @@ -1,161 +0,0 @@ | |||
2232 | 1 | # -*- coding: utf-8 -*- | ||
2233 | 2 | ############################################################################## | ||
2234 | 3 | # | ||
2235 | 4 | # OpenERP, Open Source Management Solution | ||
2236 | 5 | # Copyright (c) 2009 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. | ||
2237 | 6 | # Jordi Esteve <jesteve@zikzakmedia.com> | ||
2238 | 7 | # Copyright (c) 2010 Pexego Sistemas Informáticos. All Rights Reserved | ||
2239 | 8 | # Borja López Soilán <borjals@pexego.es> | ||
2240 | 9 | # $Id$ | ||
2241 | 10 | # | ||
2242 | 11 | # This program is free software: you can redistribute it and/or modify | ||
2243 | 12 | # it under the terms of the GNU Affero General Public License as published by | ||
2244 | 13 | # the Free Software Foundation, either version 3 of the License, or | ||
2245 | 14 | # (at your option) any later version. | ||
2246 | 15 | # | ||
2247 | 16 | # This program is distributed in the hope that it will be useful, | ||
2248 | 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2249 | 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
2250 | 19 | # GNU Affero General Public License for more details. | ||
2251 | 20 | # | ||
2252 | 21 | # You should have received a copy of the GNU Affero General Public License | ||
2253 | 22 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
2254 | 23 | # | ||
2255 | 24 | ############################################################################## | ||
2256 | 25 | |||
2257 | 26 | """ | ||
2258 | 27 | C43 format concepts and extension of the bank statement lines. | ||
2259 | 28 | """ | ||
2260 | 29 | |||
2261 | 30 | from osv import osv, fields | ||
2262 | 31 | from openerp import tools | ||
2263 | 32 | import os | ||
2264 | 33 | from openerp.tools.translate import _ | ||
2265 | 34 | from xml.dom import minidom | ||
2266 | 35 | |||
2267 | 36 | |||
2268 | 37 | |||
2269 | 38 | class l10n_es_extractos_import_wizard(osv.osv_memory): | ||
2270 | 39 | """ | ||
2271 | 40 | Wizard to import the XML file defining the statement concepts (concepto) | ||
2272 | 41 | """ | ||
2273 | 42 | |||
2274 | 43 | def _get_available_user_companies(self, cr, uid, context={}): | ||
2275 | 44 | """ | ||
2276 | 45 | Obtiene la compañía del usuario activo | ||
2277 | 46 | """ | ||
2278 | 47 | current_user = self.pool.get('res.users').browse(cr,uid,uid) | ||
2279 | 48 | result = [x.id for x in current_user.company_ids] | ||
2280 | 49 | return result | ||
2281 | 50 | |||
2282 | 51 | def action_import(self, cr, uid, ids, context=None): | ||
2283 | 52 | for wiz in self.browse(cr, uid, ids, context): | ||
2284 | 53 | concept_obj = self.pool.get('l10n.es.extractos.concepto') | ||
2285 | 54 | account_obj = self.pool.get('account.account') | ||
2286 | 55 | concept_ids_list = [] | ||
2287 | 56 | root_uid = 1 | ||
2288 | 57 | company_concepts = concept_obj.browse(cr, root_uid, concept_obj.search(cr, root_uid, [('company_id','=', wiz.company_id.id)])) | ||
2289 | 58 | all_concepts = concept_obj.browse(cr, root_uid, concept_obj.search(cr, root_uid, [])) | ||
2290 | 59 | if company_concepts: | ||
2291 | 60 | raise osv.except_osv(_("Info:"), _("Concepts for this company already imported...")) | ||
2292 | 61 | elif all_concepts: | ||
2293 | 62 | #Duplicamos los de una compañia (controlando que los planes contables no tengan el mismo numero de digitos) y asignamos nueva compañía | ||
2294 | 63 | any_concepts = concept_obj.browse(cr, root_uid, concept_obj.search(cr, root_uid,[('company_id','=', all_concepts[0].company_id.id)])) | ||
2295 | 64 | for concept in any_concepts: | ||
2296 | 65 | account_code = "%s%%00"%(concept.account_id.code[0:4]) | ||
2297 | 66 | company_account_id = account_obj.search(cr, root_uid, [('company_id','=',wiz.company_id.id), ('code','like',account_code)]) | ||
2298 | 67 | company_account_id = company_account_id and company_account_id[0] or False | ||
2299 | 68 | vals_concept = { | ||
2300 | 69 | 'name': concept.name, | ||
2301 | 70 | 'code': concept.code, | ||
2302 | 71 | 'account_id': company_account_id, | ||
2303 | 72 | 'company_id': wiz.company_id.id | ||
2304 | 73 | } | ||
2305 | 74 | concept_id = concept_obj.create(cr,uid, vals_concept) | ||
2306 | 75 | concept_ids_list.append(concept_id) | ||
2307 | 76 | |||
2308 | 77 | #Devolvemos la vista lista de los conceptos creados... | ||
2309 | 78 | concept_view_list_id = self.pool.get('ir.ui.view').search(cr, root_uid, [('name', '=', 'l10n.es.extractos.concepto.tree')])[0] | ||
2310 | 79 | return { | ||
2311 | 80 | 'name' : _('C43 Created Concepts'), | ||
2312 | 81 | 'type' : 'ir.actions.act_window', | ||
2313 | 82 | 'res_model' : 'l10n.es.extractos.concepto', | ||
2314 | 83 | 'view_type' : 'form', | ||
2315 | 84 | 'view_mode' : 'tree,form', | ||
2316 | 85 | 'domain' : "[('id', 'in', %s)]" % concept_ids_list, | ||
2317 | 86 | 'view_id' : False, | ||
2318 | 87 | 'views': [(concept_view_list_id, 'tree'), (False, 'form'), (False, 'calendar'), (False, 'graph')], | ||
2319 | 88 | } | ||
2320 | 89 | |||
2321 | 90 | else: | ||
2322 | 91 | #Creamos nuevos registros... | ||
2323 | 92 | data = [ | ||
2324 | 93 | ('01', _('Reintegro/Talón'), '4300%00'), | ||
2325 | 94 | ('02', _('Ingreso/Abonaré'), '4100%00'), | ||
2326 | 95 | ('03', _('Recibo/Letra domiciliado'), '4100%00'), | ||
2327 | 96 | ('04', _('Transf./Giro/Cheque'), '4300%00'), | ||
2328 | 97 | ('05', _('Amortización préstamo'), '6800%00'), | ||
2329 | 98 | ('06', _('Remesa efectos'), '4010%00'), | ||
2330 | 99 | ('07', _('Subscripción/Canje'), '5700%00'), | ||
2331 | 100 | ('08', _('Amortización'), '6800%00'), | ||
2332 | 101 | ('09', _('Compra/Venta valores'), '2510%00'), | ||
2333 | 102 | ('10', _('Cheque gasolina'), '5700%00'), | ||
2334 | 103 | ('11', _('Cajero automático'), '5700%00'), | ||
2335 | 104 | ('12', _('Tarjeta crédito/débito'), '5700%00'), | ||
2336 | 105 | ('13', _('Operaciones extranjero'), '5730%00'), | ||
2337 | 106 | ('14', _('Devolución/Impagado'), '4300%00'), | ||
2338 | 107 | ('15', _('Nómina/Seg. social'), '6400%00'), | ||
2339 | 108 | ('16', _('Timbre/Corretaje/Póliza'), '6690%00'), | ||
2340 | 109 | ('17', _('Intereses/Comisión/Gastos/Custodia'), '6690%00'), | ||
2341 | 110 | ('98', _('Anulación/Corrección'), '5720%00'), | ||
2342 | 111 | ('99', _('Varios'), '5720%00'), | ||
2343 | 112 | ] | ||
2344 | 113 | concept_ids = [] | ||
2345 | 114 | for item in data: | ||
2346 | 115 | |||
2347 | 116 | account_ids = self.pool.get('account.account').search(cr, uid, [ | ||
2348 | 117 | ('company_id', '=', wiz.company_id.id), | ||
2349 | 118 | ('code', 'like', item[2]), | ||
2350 | 119 | ], context=context) | ||
2351 | 120 | if not account_ids: | ||
2352 | 121 | raise osv.except_osv(_('Import Error'), _('Could not import concept %(concept)s because no matching account was found for expression %(expression)s.') % { | ||
2353 | 122 | 'concept': item[0], | ||
2354 | 123 | 'expression': item[2], | ||
2355 | 124 | }) | ||
2356 | 125 | |||
2357 | 126 | concept_id = self.pool.get('l10n.es.extractos.concepto').create(cr, uid, { | ||
2358 | 127 | 'code': item[0], | ||
2359 | 128 | 'name': item[1], | ||
2360 | 129 | 'account_id': account_ids[0], | ||
2361 | 130 | 'company_id': wiz.company_id.id, | ||
2362 | 131 | }, context) | ||
2363 | 132 | |||
2364 | 133 | concept_ids.append( concept_id ) | ||
2365 | 134 | |||
2366 | 135 | |||
2367 | 136 | #Devolvemos la vista lista de los usuarios modificados... | ||
2368 | 137 | concept_view_list_id = self.pool.get('ir.ui.view').search(cr, root_uid, [('name', '=', 'l10n.es.extractos.concepto.tree')])[0] | ||
2369 | 138 | return { | ||
2370 | 139 | 'name' : _('C43 Created Concepts'), | ||
2371 | 140 | 'type' : 'ir.actions.act_window', | ||
2372 | 141 | 'res_model' : 'l10n.es.extractos.concepto', | ||
2373 | 142 | 'view_type' : 'form', | ||
2374 | 143 | 'view_mode' : 'tree,form', | ||
2375 | 144 | 'view_id' : False, | ||
2376 | 145 | 'views': [(concept_view_list_id, 'tree'), (False, 'form'), (False, 'calendar'), (False, 'graph')], | ||
2377 | 146 | 'domain': [('id', 'in', concept_ids)] | ||
2378 | 147 | } | ||
2379 | 148 | |||
2380 | 149 | _name = 'l10n.es.extractos.import.wizard' | ||
2381 | 150 | |||
2382 | 151 | _columns = { | ||
2383 | 152 | 'company_id': fields.many2one('res.company', _('Company'), required=True, context={'user_preference': True}) | ||
2384 | 153 | } | ||
2385 | 154 | |||
2386 | 155 | _defaults = { | ||
2387 | 156 | 'company_id': lambda self, cr, uid, context: self._get_available_user_companies(cr, uid, context), | ||
2388 | 157 | } | ||
2389 | 158 | |||
2390 | 159 | l10n_es_extractos_import_wizard() | ||
2391 | 160 | |||
2392 | 161 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
2393 | 162 | 0 | ||
2394 | === removed directory '___unported__/l10n_es_bank_statement/security' | |||
2395 | === removed file '___unported__/l10n_es_bank_statement/security/concepto_security.xml' | |||
2396 | --- ___unported__/l10n_es_bank_statement/security/concepto_security.xml 2011-03-27 02:15:48 +0000 | |||
2397 | +++ ___unported__/l10n_es_bank_statement/security/concepto_security.xml 1970-01-01 00:00:00 +0000 | |||
2398 | @@ -1,14 +0,0 @@ | |||
2399 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
2400 | 2 | <openerp> | ||
2401 | 3 | <data noupdate="1"> | ||
2402 | 4 | |||
2403 | 5 | <!-- Multi - Company Rules --> | ||
2404 | 6 | <record model="ir.rule" id="c43_concept_comp_rule"> | ||
2405 | 7 | <field name="name">C43 File Concepts multi-company</field> | ||
2406 | 8 | <field name="model_id" ref="model_l10n_es_extractos_concepto"/> | ||
2407 | 9 | <field name="global" eval="True"/> | ||
2408 | 10 | <field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field> | ||
2409 | 11 | </record> | ||
2410 | 12 | |||
2411 | 13 | </data> | ||
2412 | 14 | </openerp> | ||
2413 | 15 | 0 | ||
2414 | === removed file '___unported__/l10n_es_bank_statement/security/ir.model.access.csv' | |||
2415 | --- ___unported__/l10n_es_bank_statement/security/ir.model.access.csv 2011-03-27 01:51:59 +0000 | |||
2416 | +++ ___unported__/l10n_es_bank_statement/security/ir.model.access.csv 1970-01-01 00:00:00 +0000 | |||
2417 | @@ -1,3 +0,0 @@ | |||
2418 | 1 | "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" | ||
2419 | 2 | "access_extracto_bancario_concepto","extracto_bancario_concepto","model_l10n_es_extractos_concepto","account.group_account_user",1,0,0,0 | ||
2420 | 3 | "access_extracto_bancario_concepto_manager","extracto_bancario_concepto manager","model_l10n_es_extractos_concepto","account.group_account_manager",1,1,1,1 | ||
2421 | 4 | 0 | ||
2422 | === renamed directory '___unported__/l10n_es_bank_statement' => 'l10n_es_bank_statement' | |||
2423 | === modified file 'l10n_es_bank_statement/__init__.py' | |||
2424 | --- ___unported__/l10n_es_bank_statement/__init__.py 2011-08-29 15:11:11 +0000 | |||
2425 | +++ l10n_es_bank_statement/__init__.py 2014-06-11 10:49:43 +0000 | |||
2426 | @@ -1,18 +1,13 @@ | |||
2427 | 1 | # -*- coding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- |
2428 | 2 | ############################################################################## | 2 | ############################################################################## |
2429 | 3 | # | 3 | # |
2438 | 4 | # OpenERP, Open Source Management Solution | 4 | # Copyright (c) All rights reserved: |
2439 | 5 | # Copyright (c) 2009 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. | 5 | # 2013-2014 Servicios Tecnológicos Avanzados (http://serviciosbaeza.com) |
2440 | 6 | # Jordi Esteve <jesteve@zikzakmedia.com> | 6 | # Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com> |
2433 | 7 | # Copyright (c) 2010 Pexego Sistemas Informáticos. All Rights Reserved | ||
2434 | 8 | # Borja López Soilán <borjals@pexego.es> | ||
2435 | 9 | # Copyright (c) 2011 Pexego Sistemas Informáticos. All Rights Reserved | ||
2436 | 10 | # Alberto Luengo Cabanillas <alberto@pexego.es> | ||
2437 | 11 | # $Id$ | ||
2441 | 12 | # | 7 | # |
2442 | 13 | # This program is free software: you can redistribute it and/or modify | 8 | # This program is free software: you can redistribute it and/or modify |
2445 | 14 | # it under the terms of the GNU Affero General Public License as published by | 9 | # it under the terms of the GNU Affero General Public License as published |
2446 | 15 | # the Free Software Foundation, either version 3 of the License, or | 10 | # by the Free Software Foundation, either version 3 of the License, or |
2447 | 16 | # (at your option) any later version. | 11 | # (at your option) any later version. |
2448 | 17 | # | 12 | # |
2449 | 18 | # This program is distributed in the hope that it will be useful, | 13 | # This program is distributed in the hope that it will be useful, |
2450 | @@ -24,14 +19,4 @@ | |||
2451 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
2452 | 25 | # | 20 | # |
2453 | 26 | ############################################################################## | 21 | ############################################################################## |
2465 | 27 | 22 | from . import models | |
2455 | 28 | """ | ||
2456 | 29 | Spanish localization of the bank statements. | ||
2457 | 30 | """ | ||
2458 | 31 | |||
2459 | 32 | import concepto | ||
2460 | 33 | import account_bank_statement | ||
2461 | 34 | import import_conceptos | ||
2462 | 35 | import import_c43_file | ||
2463 | 36 | |||
2464 | 37 | |||
2466 | 38 | 23 | ||
2467 | === modified file 'l10n_es_bank_statement/__openerp__.py' | |||
2468 | --- ___unported__/l10n_es_bank_statement/__openerp__.py 2013-01-28 10:29:06 +0000 | |||
2469 | +++ l10n_es_bank_statement/__openerp__.py 2014-06-11 10:49:43 +0000 | |||
2470 | @@ -1,18 +1,13 @@ | |||
2471 | 1 | # -*- coding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- |
2472 | 2 | ############################################################################## | 2 | ############################################################################## |
2473 | 3 | # | 3 | # |
2482 | 4 | # OpenERP, Open Source Management Solution | 4 | # Copyright (c) All rights reserved: |
2483 | 5 | # Copyright (c) 2009 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. | 5 | # 2013-2014 Servicios Tecnológicos Avanzados (http://serviciosbaeza.com) |
2484 | 6 | # Jordi Esteve <jesteve@zikzakmedia.com> | 6 | # Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com> |
2477 | 7 | # Copyright (c) 2010 Pexego Sistemas Informáticos. All Rights Reserved | ||
2478 | 8 | # Borja López Soilán <borjals@pexego.es> | ||
2479 | 9 | # Copyright (c) 2011 Pexego Sistemas Informáticos. All Rights Reserved | ||
2480 | 10 | # Alberto Luengo Cabanillas <alberto@pexego.es> | ||
2481 | 11 | # $Id$ | ||
2485 | 12 | # | 7 | # |
2486 | 13 | # This program is free software: you can redistribute it and/or modify | 8 | # This program is free software: you can redistribute it and/or modify |
2489 | 14 | # it under the terms of the GNU Affero General Public License as published by | 9 | # it under the terms of the GNU Affero General Public License as published |
2490 | 15 | # the Free Software Foundation, either version 3 of the License, or | 10 | # by the Free Software Foundation, either version 3 of the License, or |
2491 | 16 | # (at your option) any later version. | 11 | # (at your option) any later version. |
2492 | 17 | # | 12 | # |
2493 | 18 | # This program is distributed in the hope that it will be useful, | 13 | # This program is distributed in the hope that it will be useful, |
2494 | @@ -26,47 +21,34 @@ | |||
2495 | 26 | ############################################################################## | 21 | ############################################################################## |
2496 | 27 | 22 | ||
2497 | 28 | { | 23 | { |
2501 | 29 | "name" : "Spanish Bank Statements Importation", | 24 | "name" : "Extractos bancarios españoles (Norma 43)", |
2502 | 30 | "version" : "2.0", | 25 | "version" : "3.0", |
2503 | 31 | "author" : "Zikzakmedia, Pexego, Acysos, NaN·tic", | 26 | "author" : "Spanish localization team", |
2504 | 27 | "website" : "https://launchpad.net/openerp-spain", | ||
2505 | 32 | "category" : "Localisation/Accounting", | 28 | "category" : "Localisation/Accounting", |
2506 | 33 | "description" : """ | 29 | "description" : """ |
2524 | 34 | Module for the importation of Spanish bank statements following the C43 normative of the 'Asociación Española de la Banca'. | 30 | Extractos bancarios españoles (Norma 43) |
2525 | 35 | 31 | ======================================== | |
2526 | 36 | Adds a wizard to the bank statements to perform the importation. The imported file gets attached to the given bank statement. | 32 | |
2527 | 37 | It allows to define default accounting codes for the concepts defined in the C43 bank statement file. | 33 | Importación y tratamiento de los extractos bancarios españoles que siguen la |
2528 | 38 | 34 | norma/cuaderno 43 de la 'Asociación Española de la Banca'. Puede consultarse la | |
2529 | 39 | The search of the entries to reconcile (and partner) is done like this: | 35 | especificación del formato aquí_. |
2530 | 40 | 1) Unreconciled entries with the given reference and amount. The reference is taken from the 'conceptos' or 'referencia2' fields of the statement. | 36 | |
2531 | 41 | 2) Unreconciled entries with (a partner with) the given VAT number and amount. | 37 | .. _aquí: https://docs.bankinter.com/stf/plataformas/empresas/gestion/ficheros/formatos_fichero/norma_43_castellano.pdf |
2532 | 42 | These fields are tested to find a valid spanish VAT: | 38 | |
2533 | 43 | - First 9 characters of 'referencia1' (Banc Sabadell) | 39 | **AVISO:** Este módulo requiere de varios módulos del repositorio de código: |
2534 | 44 | - First 9 characters of 'conceptos' (La Caixa) | 40 | |
2535 | 45 | - Characters [21:30] of 'conceptos' (Caja Rural del Jalón) | 41 | https://code.launchpad.net/~banking-addons-team/banking-addons/bank-statement-reconcile-70 |
2519 | 46 | 3) Unreconciled entries with the given amount. | ||
2520 | 47 | |||
2521 | 48 | If no partner is found, the default account defined for the concept is used. | ||
2522 | 49 | |||
2523 | 50 | The module also adds a wizard in Financial Management/Configuration/C43 bank statements to import the default statement concepts, that must be run after creating the spanish chart of accounts (l10n_es module). | ||
2536 | 51 | """, | 42 | """, |
2537 | 52 | "website" : "www.zikzakmedia.com / www.pexego.es / www.acysos.com / www.nan-tic.com", | ||
2538 | 53 | "license" : "AGPL-3", | 43 | "license" : "AGPL-3", |
2539 | 54 | "depends" : [ | 44 | "depends" : [ |
2540 | 55 | "account", | ||
2541 | 56 | "account_voucher", | ||
2542 | 57 | "l10n_es", | 45 | "l10n_es", |
2555 | 58 | "nan_account_bank_statement", | 46 | 'account_statement_base_import', |
2556 | 59 | ], | 47 | 'account_statement_base_completion', |
2557 | 60 | "init_xml" : [], | 48 | ], |
2558 | 61 | "demo_xml" : [], | 49 | "data" : [ |
2559 | 62 | "update_xml" : [ | 50 | "views/account_bank_statement_view.xml", |
2560 | 63 | "extractos_view.xml", | 51 | "data/account_statement_completion_rule_data.xml", |
2561 | 64 | "import_c43_file_view.xml", | 52 | ], |
2562 | 65 | "security/ir.model.access.csv", | 53 | "installable" : True, |
2551 | 66 | "security/concepto_security.xml" | ||
2552 | 67 | ], | ||
2553 | 68 | "installable" : False, | ||
2554 | 69 | "active" : False, | ||
2563 | 70 | } | 54 | } |
2564 | 71 | |||
2565 | 72 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
2566 | 73 | 55 | ||
2567 | === added file 'l10n_es_bank_statement/data/account_statement_completion_rule_data.xml' | |||
2568 | --- l10n_es_bank_statement/data/account_statement_completion_rule_data.xml 1970-01-01 00:00:00 +0000 | |||
2569 | +++ l10n_es_bank_statement/data/account_statement_completion_rule_data.xml 2014-06-11 10:49:43 +0000 | |||
2570 | @@ -0,0 +1,18 @@ | |||
2571 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
2572 | 2 | <openerp> | ||
2573 | 3 | <data noupdate="1"> | ||
2574 | 4 | |||
2575 | 5 | <record id="bank_statement_completion_rule_caixabank" model="account.statement.completion.rule"> | ||
2576 | 6 | <field name="name">Casar acorde a las reglas C43 de CaixaBank</field> | ||
2577 | 7 | <field name="sequence">10</field> | ||
2578 | 8 | <field name="function_to_call">get_from_caixabank_rules</field> | ||
2579 | 9 | </record> | ||
2580 | 10 | |||
2581 | 11 | <record id="bank_statement_completion_rule_generic" model="account.statement.completion.rule"> | ||
2582 | 12 | <field name="name">Casar acorde a las reglas genéricas C43</field> | ||
2583 | 13 | <field name="sequence">99</field> | ||
2584 | 14 | <field name="function_to_call">get_from_generic_c43_rules</field> | ||
2585 | 15 | </record> | ||
2586 | 16 | |||
2587 | 17 | </data> | ||
2588 | 18 | </openerp> | ||
2589 | 0 | 19 | ||
2590 | === added directory 'l10n_es_bank_statement/doc' | |||
2591 | === added file 'l10n_es_bank_statement/doc/norma_43_castellano.pdf' | |||
2592 | 1 | Binary files l10n_es_bank_statement/doc/norma_43_castellano.pdf 1970-01-01 00:00:00 +0000 and l10n_es_bank_statement/doc/norma_43_castellano.pdf 2014-06-11 10:49:43 +0000 differ | 20 | Binary files l10n_es_bank_statement/doc/norma_43_castellano.pdf 1970-01-01 00:00:00 +0000 and l10n_es_bank_statement/doc/norma_43_castellano.pdf 2014-06-11 10:49:43 +0000 differ |
2593 | === modified file 'l10n_es_bank_statement/i18n/es.po' | |||
2594 | --- ___unported__/l10n_es_bank_statement/i18n/es.po 2014-03-04 08:27:58 +0000 | |||
2595 | +++ l10n_es_bank_statement/i18n/es.po 2014-06-11 10:49:43 +0000 | |||
2596 | @@ -2,581 +2,221 @@ | |||
2597 | 2 | # This file contains the translation of the following modules: | 2 | # This file contains the translation of the following modules: |
2598 | 3 | # * l10n_es_bank_statement | 3 | # * l10n_es_bank_statement |
2599 | 4 | # | 4 | # |
2600 | 5 | # Albert Cervera i Areny <albert@nan-tic.com>, 2011. | ||
2601 | 6 | msgid "" | 5 | msgid "" |
2602 | 7 | msgstr "" | 6 | msgstr "" |
2610 | 8 | "Project-Id-Version: OpenERP Server 6.1-dev\n" | 7 | "Project-Id-Version: OpenERP Server 7.0\n" |
2611 | 9 | "Report-Msgid-Bugs-To: support@openerp.com\n" | 8 | "Report-Msgid-Bugs-To: \n" |
2612 | 10 | "POT-Creation-Date: 2011-03-27 02:13+0000\n" | 9 | "POT-Creation-Date: 2014-06-09 22:44+0000\n" |
2613 | 11 | "PO-Revision-Date: 2013-10-11 23:33+0000\n" | 10 | "PO-Revision-Date: 2014-06-10 01:00+0100\n" |
2614 | 12 | "Last-Translator: Albert Cervera i Areny - http://www.NaN-tic.com <albert@nan-" | 11 | "Last-Translator: Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com>\n" |
2615 | 13 | "tic.com>\n" | 12 | "Language-Team: \n" |
2609 | 14 | "Language-Team: Catalan <kde-i18n-ca@kde.org>\n" | ||
2616 | 15 | "MIME-Version: 1.0\n" | 13 | "MIME-Version: 1.0\n" |
2617 | 16 | "Content-Type: text/plain; charset=UTF-8\n" | 14 | "Content-Type: text/plain; charset=UTF-8\n" |
2618 | 17 | "Content-Transfer-Encoding: 8bit\n" | 15 | "Content-Transfer-Encoding: 8bit\n" |
2632 | 18 | "X-Launchpad-Export-Date: 2014-03-04 08:27+0000\n" | 16 | "Plural-Forms: \n" |
2633 | 19 | "X-Generator: Launchpad (build 16948)\n" | 17 | "X-Generator: Poedit 1.5.4\n" |
2634 | 20 | "Language: \n" | 18 | |
2635 | 21 | 19 | #. module: l10n_es_bank_statement | |
2636 | 22 | #. module: l10n_es_bank_statement | 20 | #: code:addons/l10n_es_bank_statement/models/c43_account_statement_profile.py:33 |
2637 | 23 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:109 | 21 | #, python-format |
2638 | 24 | #, python-format | 22 | msgid "AEB C43 standard" |
2639 | 25 | msgid "Intereses/Comisión/Gastos/Custodia" | 23 | msgstr "Estándar AEB C43" |
2640 | 26 | msgstr "Intereses/Comisión/Gastos/Custodia" | 24 | |
2641 | 27 | 25 | #. module: l10n_es_bank_statement | |
2642 | 28 | #. module: l10n_es_bank_statement | 26 | #: selection:account.bank.statement.line,c43_concept:0 |
2643 | 29 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:101 | 27 | msgid "Amortización préstamo" |
2644 | 30 | #, python-format | 28 | msgstr "Amortización préstamo" |
2645 | 29 | |||
2646 | 30 | #. module: l10n_es_bank_statement | ||
2647 | 31 | #: selection:account.bank.statement.line,c43_concept:0 | ||
2648 | 32 | msgid "Anulación/Corrección" | ||
2649 | 33 | msgstr "Anulación/Corrección" | ||
2650 | 34 | |||
2651 | 35 | #. module: l10n_es_bank_statement | ||
2652 | 36 | #: code:_description:0 | ||
2653 | 37 | #: model:ir.model,name:l10n_es_bank_statement.model_account_bank_statement_line | ||
2654 | 38 | #, python-format | ||
2655 | 39 | msgid "Bank Statement Line" | ||
2656 | 40 | msgstr "Línea de extracto bancario" | ||
2657 | 41 | |||
2658 | 42 | #. module: l10n_es_bank_statement | ||
2659 | 43 | #: field:account.bank.statement.line,c43_concept:0 | ||
2660 | 44 | msgid "C43 concept" | ||
2661 | 45 | msgstr "Concepto C43" | ||
2662 | 46 | |||
2663 | 47 | #. module: l10n_es_bank_statement | ||
2664 | 48 | #: selection:account.bank.statement.line,c43_concept:0 | ||
2665 | 49 | msgid "Cajero automático" | ||
2666 | 50 | msgstr "Cajero automático" | ||
2667 | 51 | |||
2668 | 52 | #. module: l10n_es_bank_statement | ||
2669 | 53 | #: selection:account.bank.statement.line,c43_concept:0 | ||
2670 | 54 | msgid "Cheque gasolina" | ||
2671 | 55 | msgstr "Cheque gasolina" | ||
2672 | 56 | |||
2673 | 57 | #. module: l10n_es_bank_statement | ||
2674 | 58 | #: selection:account.bank.statement.line,c43_concept:0 | ||
2675 | 31 | msgid "Compra/Venta valores" | 59 | msgid "Compra/Venta valores" |
2676 | 32 | msgstr "Compra/Venta valores" | 60 | msgstr "Compra/Venta valores" |
2677 | 33 | 61 | ||
2678 | 34 | #. module: l10n_es_bank_statement | 62 | #. module: l10n_es_bank_statement |
2753 | 35 | #: model:ir.model,name:l10n_es_bank_statement.model_l10n_es_extractos_concepto | 63 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:128 |
2754 | 36 | msgid "C43 codes" | 64 | #, python-format |
2755 | 37 | msgstr "Códigos C43" | 65 | msgid "Credit amount doesn't match with the defined in the last record of account." |
2756 | 38 | 66 | msgstr "El importe del haber no casa con el definido con el definido en el último registro de la cuenta." | |
2757 | 39 | #. module: l10n_es_bank_statement | 67 | |
2758 | 40 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_amount:0 | 68 | #. module: l10n_es_bank_statement |
2759 | 41 | msgid "Reconcile by amount" | 69 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:124 |
2760 | 42 | msgstr "Conciliar por cantidad" | 70 | #, python-format |
2761 | 43 | 71 | msgid "Debit amount doesn't match with the defined in the last record of account." | |
2762 | 44 | #. module: l10n_es_bank_statement | 72 | msgstr "El importe del debe no casa con el definido con el definido en el último registro de la cuenta." |
2763 | 45 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:469 | 73 | |
2764 | 46 | #, python-format | 74 | #. module: l10n_es_bank_statement |
2765 | 47 | msgid "bank-statement.txt" | 75 | #: selection:account.bank.statement.line,c43_concept:0 |
2692 | 48 | msgstr "bank-statement.txt" | ||
2693 | 49 | |||
2694 | 50 | #. module: l10n_es_bank_statement | ||
2695 | 51 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:107 | ||
2696 | 52 | #, python-format | ||
2697 | 53 | msgid "Nómina/Seg. social" | ||
2698 | 54 | msgstr "Nómina/Seg. social" | ||
2699 | 55 | |||
2700 | 56 | #. module: l10n_es_bank_statement | ||
2701 | 57 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_vat_and_amount:0 | ||
2702 | 58 | msgid "Reconcile by VAT number and amount" | ||
2703 | 59 | msgstr "Conciliar por número de CIF y cantidad" | ||
2704 | 60 | |||
2705 | 61 | #. module: l10n_es_bank_statement | ||
2706 | 62 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:94 | ||
2707 | 63 | #, python-format | ||
2708 | 64 | msgid "Ingreso/Abonaré" | ||
2709 | 65 | msgstr "Ingreso/Abonaré" | ||
2710 | 66 | |||
2711 | 67 | #. module: l10n_es_bank_statement | ||
2712 | 68 | #: field:l10n.es.extractos.concepto,account_id:0 | ||
2713 | 69 | msgid "Account associated to the concept" | ||
2714 | 70 | msgstr "Cuenta asociada al concepto" | ||
2715 | 71 | |||
2716 | 72 | #. module: l10n_es_bank_statement | ||
2717 | 73 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:97 | ||
2718 | 74 | #, python-format | ||
2719 | 75 | msgid "Amortización préstamo" | ||
2720 | 76 | msgstr "Amortización préstamo" | ||
2721 | 77 | |||
2722 | 78 | #. module: l10n_es_bank_statement | ||
2723 | 79 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:168 | ||
2724 | 80 | #, python-format | ||
2725 | 81 | msgid "Search by references" | ||
2726 | 82 | msgstr "Search by references" | ||
2727 | 83 | |||
2728 | 84 | #. module: l10n_es_bank_statement | ||
2729 | 85 | #: model:ir.module.module,shortdesc:l10n_es_bank_statement.module_meta_information | ||
2730 | 86 | msgid "Spanish Bank Statements Importation" | ||
2731 | 87 | msgstr "Importación de Extractos Bancarios Españoles" | ||
2732 | 88 | |||
2733 | 89 | #. module: l10n_es_bank_statement | ||
2734 | 90 | #: field:l10n.es.bank.statement.import.c43.wizard,file:0 | ||
2735 | 91 | #: field:l10n.es.bank.statement.import.c43.wizard,file_name:0 | ||
2736 | 92 | msgid "Bank Statements File" | ||
2737 | 93 | msgstr "Extracto bancario" | ||
2738 | 94 | |||
2739 | 95 | #. module: l10n_es_bank_statement | ||
2740 | 96 | #: model:ir.actions.act_window,name:l10n_es_bank_statement.action_c43_file_import_wizard | ||
2741 | 97 | msgid "Import Bank Statement" | ||
2742 | 98 | msgstr "Importar Extracto Bancario" | ||
2743 | 99 | |||
2744 | 100 | #. module: l10n_es_bank_statement | ||
2745 | 101 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
2746 | 102 | #: view:l10n.es.extractos.import.wizard:0 | ||
2747 | 103 | msgid "Import" | ||
2748 | 104 | msgstr "Importar" | ||
2749 | 105 | |||
2750 | 106 | #. module: l10n_es_bank_statement | ||
2751 | 107 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:106 | ||
2752 | 108 | #, python-format | ||
2766 | 109 | msgid "Devolución/Impagado" | 76 | msgid "Devolución/Impagado" |
2767 | 110 | msgstr "Devolución/Impagado" | 77 | msgstr "Devolución/Impagado" |
2768 | 111 | 78 | ||
2769 | 112 | #. module: l10n_es_bank_statement | 79 | #. module: l10n_es_bank_statement |
2777 | 113 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:182 | 80 | #: selection:account.bank.statement.line,c43_concept:0 |
2778 | 114 | #, python-format | 81 | msgid "Div. cupones/Prima junta/Amortización" |
2779 | 115 | msgid "Search by VAT error" | 82 | msgstr "Div. cupones/Prima junta/Amortización" |
2780 | 116 | msgstr "Search by VAT error" | 83 | |
2781 | 117 | 84 | #. module: l10n_es_bank_statement | |
2782 | 118 | #. module: l10n_es_bank_statement | 85 | #: selection:account.bank.statement.line,c43_concept:0 |
2783 | 119 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:319 | 86 | msgid "Docimiliado/Recibo/Letra/Pago por su cta." |
2784 | 87 | msgstr "Docimiliado/Recibo/Letra/Pago por su cta." | ||
2785 | 88 | |||
2786 | 89 | #. module: l10n_es_bank_statement | ||
2787 | 90 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:115 | ||
2788 | 91 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:119 | ||
2789 | 92 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:123 | ||
2790 | 93 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:127 | ||
2791 | 94 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:136 | ||
2792 | 95 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:147 | ||
2793 | 96 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:194 | ||
2794 | 97 | #, python-format | ||
2795 | 98 | msgid "Error in C43 file" | ||
2796 | 99 | msgstr "Error en archivo C43" | ||
2797 | 100 | |||
2798 | 101 | #. module: l10n_es_bank_statement | ||
2799 | 102 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:137 | ||
2800 | 103 | #, python-format | ||
2801 | 104 | msgid "Final balance amount = (initial balance + credit - debit) doesn't match with the defined in the last record of account." | ||
2802 | 105 | msgstr "Saldo final = (saldo inicial + haber - debe) no cuadra con el definido en el último registro de la cuenta." | ||
2803 | 106 | |||
2804 | 107 | #. module: l10n_es_bank_statement | ||
2805 | 108 | #: code:addons/l10n_es_bank_statement/models/account_statement_completion_rule.py:33 | ||
2806 | 109 | #, python-format | ||
2807 | 110 | msgid "From CaixaBank C43 rules" | ||
2808 | 111 | msgstr "Desde las reglas C43 de CaixaBank" | ||
2809 | 112 | |||
2810 | 113 | #. module: l10n_es_bank_statement | ||
2811 | 114 | #: code:addons/l10n_es_bank_statement/models/account_statement_completion_rule.py:34 | ||
2812 | 115 | #, python-format | ||
2813 | 116 | msgid "From generic C43 rules" | ||
2814 | 117 | msgstr "Desde las reglas genéricas C43" | ||
2815 | 118 | |||
2816 | 119 | #. module: l10n_es_bank_statement | ||
2817 | 120 | #: selection:account.bank.statement.line,c43_concept:0 | ||
2818 | 121 | msgid "Giro/Transferencia/Traspaso/Cheque" | ||
2819 | 122 | msgstr "Giro/Transferencia/Traspaso/Cheque" | ||
2820 | 123 | |||
2821 | 124 | #. module: l10n_es_bank_statement | ||
2822 | 125 | #: selection:account.bank.statement.line,c43_concept:0 | ||
2823 | 126 | msgid "Ingreso/Entrega/Abonaré" | ||
2824 | 127 | msgstr "Ingreso/Entrega/Abonaré" | ||
2825 | 128 | |||
2826 | 129 | #. module: l10n_es_bank_statement | ||
2827 | 130 | #: selection:account.bank.statement.line,c43_concept:0 | ||
2828 | 131 | msgid "Intereses/Comisión/Custodia/Gastos/Impuestos" | ||
2829 | 132 | msgstr "Intereses/Comisión/Custodia/Gastos/Impuestos" | ||
2830 | 133 | |||
2831 | 134 | #. module: l10n_es_bank_statement | ||
2832 | 135 | #: code:addons/l10n_es_bank_statement/models/account_statement_completion_rule.py:68 | ||
2833 | 136 | #, python-format | ||
2834 | 137 | msgid "Line named \"%s\" (Ref: %s) was matched by more than one partner for VAT number \"%s\"." | ||
2835 | 138 | msgstr "La línea llamada \"%s\" (Ref: %s) se casó con más de una empresa para el NIF \"%s\"." | ||
2836 | 139 | |||
2837 | 140 | #. module: l10n_es_bank_statement | ||
2838 | 141 | #: code:addons/l10n_es_bank_statement/models/account_statement_completion_rule.py:123 | ||
2839 | 142 | #, python-format | ||
2840 | 143 | msgid "Line named \"%s\" (Ref: %s) was matched by more than one partner for invoice amount \"%s\"." | ||
2841 | 144 | msgstr "La línea llamada \"%s\" (Ref: %s) se casó con más de una empresa para el importe de la factura \"%s\"." | ||
2842 | 145 | |||
2843 | 146 | #. module: l10n_es_bank_statement | ||
2844 | 147 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:120 | ||
2845 | 148 | #, python-format | ||
2846 | 149 | msgid "Number of credit records doesn't match with the defined in the last record of account." | ||
2847 | 150 | msgstr "El número de registros del haber no casa con el definido en el último registro de la cuenta." | ||
2848 | 151 | |||
2849 | 152 | #. module: l10n_es_bank_statement | ||
2850 | 153 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:116 | ||
2851 | 154 | #, python-format | ||
2852 | 155 | msgid "Number of debit records doesn't match with the defined in the last record of account." | ||
2853 | 156 | msgstr "El número de registros del debe no casa con el definido en el último registro de la cuenta." | ||
2854 | 157 | |||
2855 | 158 | #. module: l10n_es_bank_statement | ||
2856 | 159 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:148 | ||
2857 | 160 | #, python-format | ||
2858 | 161 | msgid "Number of records doesn't match with the defined in the last record." | ||
2859 | 162 | msgstr "El número de registros no casa con el definido en el último registro de la cuenta." | ||
2860 | 163 | |||
2861 | 164 | #. module: l10n_es_bank_statement | ||
2862 | 165 | #: selection:account.bank.statement.line,c43_concept:0 | ||
2863 | 166 | msgid "Nómina/Seguro social" | ||
2864 | 167 | msgstr "Nómina/Seguro social" | ||
2865 | 168 | |||
2866 | 169 | #. module: l10n_es_bank_statement | ||
2867 | 170 | #: selection:account.bank.statement.line,c43_concept:0 | ||
2868 | 171 | msgid "Operaciones extranjero" | ||
2869 | 172 | msgstr "Operaciones extranjero" | ||
2870 | 173 | |||
2871 | 174 | #. module: l10n_es_bank_statement | ||
2872 | 175 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:195 | ||
2873 | 120 | #, python-format | 176 | #, python-format |
2874 | 121 | msgid "Record type %s is not valid." | 177 | msgid "Record type %s is not valid." |
3004 | 122 | msgstr "Record type %s is not valid." | 178 | msgstr "El registro de tipo %s no es válido." |
3005 | 123 | 179 | ||
3006 | 124 | #. module: l10n_es_bank_statement | 180 | #. module: l10n_es_bank_statement |
3007 | 125 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:195 | 181 | #: selection:account.bank.statement.line,c43_concept:0 |
3008 | 126 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:197 | 182 | msgid "Reintegro/Talón" |
3009 | 127 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:199 | 183 | msgstr "Reintegro/Talón" |
3010 | 128 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:201 | 184 | |
3011 | 129 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:207 | 185 | #. module: l10n_es_bank_statement |
3012 | 130 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:231 | 186 | #: selection:account.bank.statement.line,c43_concept:0 |
3013 | 131 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:319 | 187 | msgid "Remesa efectos" |
3014 | 132 | #, python-format | 188 | msgstr "Remesa efectos" |
3015 | 133 | msgid "Error in C43 file" | 189 | |
3016 | 134 | msgstr "Error en fichero C43" | 190 | #. module: l10n_es_bank_statement |
3017 | 135 | 191 | #: code:_description:0 | |
3018 | 136 | #. module: l10n_es_bank_statement | 192 | #: model:ir.model,name:l10n_es_bank_statement.model_account_statement_profile |
3019 | 137 | #: help:l10n.es.extractos.concepto,account_id:0 | 193 | #, python-format |
3020 | 138 | msgid "" | 194 | msgid "Statement Profile" |
3021 | 139 | "Default account to be associated with the concept when the file of C43 bank " | 195 | msgstr "Perfil de extracto" |
3022 | 140 | "statements is imported" | 196 | |
3023 | 141 | msgstr "" | 197 | #. module: l10n_es_bank_statement |
3024 | 142 | "Cuenta contable por defecto que se asociará al concepto al importar el " | 198 | #: selection:account.bank.statement.line,c43_concept:0 |
3025 | 143 | "archivo de extractos bancarios C43" | 199 | msgid "Subscripción/Div. pasivos/Canje" |
3026 | 144 | 200 | msgstr "Subscripción/Div. pasivos/Canje" | |
3027 | 145 | #. module: l10n_es_bank_statement | 201 | |
3028 | 146 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | 202 | #. module: l10n_es_bank_statement |
3029 | 147 | msgid "Bank statements import according to norm C43" | 203 | #: selection:account.bank.statement.line,c43_concept:0 |
2901 | 148 | msgstr "Importación de extractos bancarios de acuerdo a la norma C43" | ||
2902 | 149 | |||
2903 | 150 | #. module: l10n_es_bank_statement | ||
2904 | 151 | #: model:ir.model,name:l10n_es_bank_statement.model_l10n_es_extractos_import_wizard | ||
2905 | 152 | msgid "l10n.es.extractos.import.wizard" | ||
2906 | 153 | msgstr "l10n.es.extractos.import.wizard" | ||
2907 | 154 | |||
2908 | 155 | #. module: l10n_es_bank_statement | ||
2909 | 156 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:100 | ||
2910 | 157 | #, python-format | ||
2911 | 158 | msgid "Amortización" | ||
2912 | 159 | msgstr "Amortización" | ||
2913 | 160 | |||
2914 | 161 | #. module: l10n_es_bank_statement | ||
2915 | 162 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:182 | ||
2916 | 163 | #, python-format | ||
2917 | 164 | msgid "" | ||
2918 | 165 | "You cannot search by VAT because it seems this line has not been imported " | ||
2919 | 166 | "from a bank statement file. The system expected \"referencia1\" and " | ||
2920 | 167 | "\"conceptos\" keys in line of amount %(amount).2f in statement %(statement)s." | ||
2921 | 168 | msgstr "" | ||
2922 | 169 | "You cannot search by VAT because it seems this line has not been imported " | ||
2923 | 170 | "from a bank statement file. The system expected \"referencia1\" and " | ||
2924 | 171 | "\"conceptos\" keys in line of amount %(amount).2f in statement %(statement)s." | ||
2925 | 172 | |||
2926 | 173 | #. module: l10n_es_bank_statement | ||
2927 | 174 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:195 | ||
2928 | 175 | #, python-format | ||
2929 | 176 | msgid "" | ||
2930 | 177 | "Number of debit records does not agree with the defined in the last record " | ||
2931 | 178 | "of account." | ||
2932 | 179 | msgstr "" | ||
2933 | 180 | "El número de registros de débito no coincide con los definidos en el último " | ||
2934 | 181 | "registro de la cuenta." | ||
2935 | 182 | |||
2936 | 183 | #. module: l10n_es_bank_statement | ||
2937 | 184 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:99 | ||
2938 | 185 | #, python-format | ||
2939 | 186 | msgid "Subscripción/Canje" | ||
2940 | 187 | msgstr "Subscripción/Canje" | ||
2941 | 188 | |||
2942 | 189 | #. module: l10n_es_bank_statement | ||
2943 | 190 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
2944 | 191 | msgid "Bank Statements File:" | ||
2945 | 192 | msgstr "Fichero de extracto bancario:" | ||
2946 | 193 | |||
2947 | 194 | #. module: l10n_es_bank_statement | ||
2948 | 195 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
2949 | 196 | msgid "Automatic reconciliation options" | ||
2950 | 197 | msgstr "Opciones de conciliación automática" | ||
2951 | 198 | |||
2952 | 199 | #. module: l10n_es_bank_statement | ||
2953 | 200 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:157 | ||
2954 | 201 | #, python-format | ||
2955 | 202 | msgid "" | ||
2956 | 203 | "%s moves (%s) found for this date and partner. You'll have to concile this " | ||
2957 | 204 | "line manually..." | ||
2958 | 205 | msgstr "" | ||
2959 | 206 | "%s movimientos (%s) encontrados para esta fecha y partner. Tendrá que " | ||
2960 | 207 | "conciliar esta línea manualmente..." | ||
2961 | 208 | |||
2962 | 209 | #. module: l10n_es_bank_statement | ||
2963 | 210 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_max_days:0 | ||
2964 | 211 | msgid "Max. days from statement date" | ||
2965 | 212 | msgstr "Tope de días desde la fecha del extracto" | ||
2966 | 213 | |||
2967 | 214 | #. module: l10n_es_bank_statement | ||
2968 | 215 | #: help:l10n.es.bank.statement.import.c43.wizard,reco_max_days:0 | ||
2969 | 216 | msgid "" | ||
2970 | 217 | "Maximum difference in days, between the maturity date of the entry to " | ||
2971 | 218 | "reconcile and the bank statement entry" | ||
2972 | 219 | msgstr "" | ||
2973 | 220 | "Diferencia máxima en días, entre la fecha de vencimiento de la entrada a " | ||
2974 | 221 | "conciliar y la entrada del extracto bancario" | ||
2975 | 222 | |||
2976 | 223 | #. module: l10n_es_bank_statement | ||
2977 | 224 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:197 | ||
2978 | 225 | #, python-format | ||
2979 | 226 | msgid "" | ||
2980 | 227 | "Number of credit records does not agree with the defined in the last record " | ||
2981 | 228 | "of account." | ||
2982 | 229 | msgstr "" | ||
2983 | 230 | "El número de registros de crédito no coincide con los definidos en el último " | ||
2984 | 231 | "registro de la cuenta." | ||
2985 | 232 | |||
2986 | 233 | #. module: l10n_es_bank_statement | ||
2987 | 234 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:207 | ||
2988 | 235 | #, python-format | ||
2989 | 236 | msgid "" | ||
2990 | 237 | "Final balance amount = (initial balance + credit - debit) does not agree " | ||
2991 | 238 | "with the defined in the last record of account." | ||
2992 | 239 | msgstr "" | ||
2993 | 240 | "La cantidad del balance final (=balance inicial + crédito - débito) no " | ||
2994 | 241 | "coincide con la definida en el último registro de la cuenta." | ||
2995 | 242 | |||
2996 | 243 | #. module: l10n_es_bank_statement | ||
2997 | 244 | #: model:ir.ui.menu,name:l10n_es_bank_statement.menu_extractos_bancarios_concepto | ||
2998 | 245 | msgid "Default accounts associated to C43 codes" | ||
2999 | 246 | msgstr "Cuentas por defecto asociadas a los códigos C43" | ||
3000 | 247 | |||
3001 | 248 | #. module: l10n_es_bank_statement | ||
3002 | 249 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:104 | ||
3003 | 250 | #, python-format | ||
3030 | 251 | msgid "Tarjeta crédito/débito" | 204 | msgid "Tarjeta crédito/débito" |
3031 | 252 | msgstr "Tarjeta crédito/débito" | 205 | msgstr "Tarjeta crédito/débito" |
3032 | 253 | 206 | ||
3033 | 254 | #. module: l10n_es_bank_statement | 207 | #. module: l10n_es_bank_statement |
3065 | 255 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:419 | 208 | #: selection:account.bank.statement.line,c43_concept:0 |
3035 | 256 | #, python-format | ||
3036 | 257 | msgid "A default account has not been defined for the C43 concept " | ||
3037 | 258 | msgstr "No ha sido definida una cuenta por defecto para el concepto C43 " | ||
3038 | 259 | |||
3039 | 260 | #. module: l10n_es_bank_statement | ||
3040 | 261 | #: model:ir.model,name:l10n_es_bank_statement.model_l10n_es_bank_statement_import_c43_wizard | ||
3041 | 262 | msgid "l10n.es.bank.statement.import.c43.wizard" | ||
3042 | 263 | msgstr "l10n.es.bank.statement.import.c43.wizard" | ||
3043 | 264 | |||
3044 | 265 | #. module: l10n_es_bank_statement | ||
3045 | 266 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:93 | ||
3046 | 267 | #, python-format | ||
3047 | 268 | msgid "Reintegro/Talón" | ||
3048 | 269 | msgstr "Reintegro/Talón" | ||
3049 | 270 | |||
3050 | 271 | #. module: l10n_es_bank_statement | ||
3051 | 272 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:60 | ||
3052 | 273 | #, python-format | ||
3053 | 274 | msgid "Concepts for this company already imported..." | ||
3054 | 275 | msgstr "Los conceptos para esta compañía ya han sido importados..." | ||
3055 | 276 | |||
3056 | 277 | #. module: l10n_es_bank_statement | ||
3057 | 278 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:96 | ||
3058 | 279 | #, python-format | ||
3059 | 280 | msgid "Transf./Giro/Cheque" | ||
3060 | 281 | msgstr "Transf./Giro/Cheque" | ||
3061 | 282 | |||
3062 | 283 | #. module: l10n_es_bank_statement | ||
3063 | 284 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:108 | ||
3064 | 285 | #, python-format | ||
3066 | 286 | msgid "Timbre/Corretaje/Póliza" | 209 | msgid "Timbre/Corretaje/Póliza" |
3067 | 287 | msgstr "Timbre/Corretaje/Póliza" | 210 | msgstr "Timbre/Corretaje/Póliza" |
3068 | 288 | 211 | ||
3069 | 289 | #. module: l10n_es_bank_statement | 212 | #. module: l10n_es_bank_statement |
3072 | 290 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:111 | 213 | #: selection:account.bank.statement.line,c43_concept:0 |
3071 | 291 | #, python-format | ||
3073 | 292 | msgid "Varios" | 214 | msgid "Varios" |
3074 | 293 | msgstr "Varios" | 215 | msgstr "Varios" |
3075 | 294 | 216 | ||
3076 | 295 | #. module: l10n_es_bank_statement | 217 | #. module: l10n_es_bank_statement |
3364 | 296 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:121 | 218 | #: code:_description:0 |
3365 | 297 | #, python-format | 219 | #: model:ir.model,name:l10n_es_bank_statement.model_account_statement_completion_rule |
3366 | 298 | msgid "" | 220 | #, python-format |
3367 | 299 | "Could not import concept %(concept)s because no matching account was found " | 221 | msgid "account.statement.completion.rule" |
3368 | 300 | "for expression %(expression)s." | 222 | msgstr "account.statement.completion.rule" |
3082 | 301 | msgstr "" | ||
3083 | 302 | "Could not import concept %(concept)s because no matching account was found " | ||
3084 | 303 | "for expression %(expression)s." | ||
3085 | 304 | |||
3086 | 305 | #. module: l10n_es_bank_statement | ||
3087 | 306 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_rules:0 | ||
3088 | 307 | msgid "Statement Line Rules" | ||
3089 | 308 | msgstr "Reglas de líneas de extracto" | ||
3090 | 309 | |||
3091 | 310 | #. module: l10n_es_bank_statement | ||
3092 | 311 | #: help:l10n.es.extractos.concepto,code:0 | ||
3093 | 312 | msgid "" | ||
3094 | 313 | "2 digits code of the concept defined in the file of C43 bank statements" | ||
3095 | 314 | msgstr "" | ||
3096 | 315 | "Código de 2 dígitos del concepto definido en el archivo de extractos " | ||
3097 | 316 | "bancarios C43" | ||
3098 | 317 | |||
3099 | 318 | #. module: l10n_es_bank_statement | ||
3100 | 319 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:199 | ||
3101 | 320 | #, python-format | ||
3102 | 321 | msgid "" | ||
3103 | 322 | "Debit amount does not agree with the defined in the last record of account." | ||
3104 | 323 | msgstr "" | ||
3105 | 324 | "La cantidad del débito no coincide con lo definido en el último registro de " | ||
3106 | 325 | "la cuenta." | ||
3107 | 326 | |||
3108 | 327 | #. module: l10n_es_bank_statement | ||
3109 | 328 | #: field:l10n.es.extractos.concepto,code:0 | ||
3110 | 329 | msgid "Concept code" | ||
3111 | 330 | msgstr "Código concepto C43" | ||
3112 | 331 | |||
3113 | 332 | #. module: l10n_es_bank_statement | ||
3114 | 333 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:231 | ||
3115 | 334 | #, python-format | ||
3116 | 335 | msgid "Number of records does not agree with the defined in the last record." | ||
3117 | 336 | msgstr "" | ||
3118 | 337 | "El número de registros no coincide con lo definido en el último registro." | ||
3119 | 338 | |||
3120 | 339 | #. module: l10n_es_bank_statement | ||
3121 | 340 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:157 | ||
3122 | 341 | #, python-format | ||
3123 | 342 | msgid "Beware!" | ||
3124 | 343 | msgstr "Atención!" | ||
3125 | 344 | |||
3126 | 345 | #. module: l10n_es_bank_statement | ||
3127 | 346 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:80 | ||
3128 | 347 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:139 | ||
3129 | 348 | #, python-format | ||
3130 | 349 | msgid "C43 Created Concepts" | ||
3131 | 350 | msgstr "Conceptos C43 Creados" | ||
3132 | 351 | |||
3133 | 352 | #. module: l10n_es_bank_statement | ||
3134 | 353 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:344 | ||
3135 | 354 | #, python-format | ||
3136 | 355 | msgid "Error!" | ||
3137 | 356 | msgstr "Error!" | ||
3138 | 357 | |||
3139 | 358 | #. module: l10n_es_bank_statement | ||
3140 | 359 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:105 | ||
3141 | 360 | #, python-format | ||
3142 | 361 | msgid "Operaciones extranjero" | ||
3143 | 362 | msgstr "Operaciones extranjero" | ||
3144 | 363 | |||
3145 | 364 | #. module: l10n_es_bank_statement | ||
3146 | 365 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:344 | ||
3147 | 366 | #, python-format | ||
3148 | 367 | msgid "" | ||
3149 | 368 | "The bank statement is alredy confirmed. It can not be imported from file." | ||
3150 | 369 | msgstr "" | ||
3151 | 370 | "El extracto bancario ya está confirmado. No se puede importar desde fichero." | ||
3152 | 371 | |||
3153 | 372 | #. module: l10n_es_bank_statement | ||
3154 | 373 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:419 | ||
3155 | 374 | #, python-format | ||
3156 | 375 | msgid "Error" | ||
3157 | 376 | msgstr "Error" | ||
3158 | 377 | |||
3159 | 378 | #. module: l10n_es_bank_statement | ||
3160 | 379 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:168 | ||
3161 | 380 | #, python-format | ||
3162 | 381 | msgid "" | ||
3163 | 382 | "You cannot search by reference because it seems this line has not been " | ||
3164 | 383 | "imported from a bank statement file. The system expected \"conceptos\" and " | ||
3165 | 384 | "\"referencia2\" keys in line of amount %(amount).2f in statement " | ||
3166 | 385 | "%(statement)s." | ||
3167 | 386 | msgstr "" | ||
3168 | 387 | "You cannot search by reference because it seems this line has not been " | ||
3169 | 388 | "imported from a bank statement file. The system expected \"conceptos\" and " | ||
3170 | 389 | "\"referencia2\" keys in line of amount %(amount).2f in statement " | ||
3171 | 390 | "%(statement)s." | ||
3172 | 391 | |||
3173 | 392 | #. module: l10n_es_bank_statement | ||
3174 | 393 | #: field:l10n.es.extractos.concepto,name:0 | ||
3175 | 394 | msgid "Concept name" | ||
3176 | 395 | msgstr "Nombre concepto" | ||
3177 | 396 | |||
3178 | 397 | #. module: l10n_es_bank_statement | ||
3179 | 398 | #: constraint:account.bank.statement.line:0 | ||
3180 | 399 | msgid "" | ||
3181 | 400 | "The amount of the voucher must be the same amount as the one on the " | ||
3182 | 401 | "statement line" | ||
3183 | 402 | msgstr "" | ||
3184 | 403 | "El importe del recibo debe ser el mismo importe que el de la línea del " | ||
3185 | 404 | "extracto" | ||
3186 | 405 | |||
3187 | 406 | #. module: l10n_es_bank_statement | ||
3188 | 407 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:103 | ||
3189 | 408 | #, python-format | ||
3190 | 409 | msgid "Cajero automático" | ||
3191 | 410 | msgstr "Cajero automático" | ||
3192 | 411 | |||
3193 | 412 | #. module: l10n_es_bank_statement | ||
3194 | 413 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:95 | ||
3195 | 414 | #, python-format | ||
3196 | 415 | msgid "Recibo/Letra domiciliado" | ||
3197 | 416 | msgstr "Recibo/Letra domiciliado" | ||
3198 | 417 | |||
3199 | 418 | #. module: l10n_es_bank_statement | ||
3200 | 419 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:201 | ||
3201 | 420 | #, python-format | ||
3202 | 421 | msgid "" | ||
3203 | 422 | "Credit amount does not agree with the defined in the last record of account." | ||
3204 | 423 | msgstr "" | ||
3205 | 424 | "La cantidad del crédito no coincide con lo definido en el último registro de " | ||
3206 | 425 | "la cuenta." | ||
3207 | 426 | |||
3208 | 427 | #. module: l10n_es_bank_statement | ||
3209 | 428 | #: view:l10n.es.extractos.import.wizard:0 | ||
3210 | 429 | msgid "" | ||
3211 | 430 | "This wizard will import default concepts related to standard accounts of " | ||
3212 | 431 | "spanish charts." | ||
3213 | 432 | msgstr "" | ||
3214 | 433 | "Este asistente importará conceptos por defecto relacionados con las cuentas " | ||
3215 | 434 | "contables estándar del plan de cuentas español." | ||
3216 | 435 | |||
3217 | 436 | #. module: l10n_es_bank_statement | ||
3218 | 437 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:121 | ||
3219 | 438 | #, python-format | ||
3220 | 439 | msgid "Import Error" | ||
3221 | 440 | msgstr "Error de importación" | ||
3222 | 441 | |||
3223 | 442 | #. module: l10n_es_bank_statement | ||
3224 | 443 | #: model:ir.model,name:l10n_es_bank_statement.model_account_bank_statement_line | ||
3225 | 444 | msgid "Bank Statement Line" | ||
3226 | 445 | msgstr "Línea de extracto bancario" | ||
3227 | 446 | |||
3228 | 447 | #. module: l10n_es_bank_statement | ||
3229 | 448 | #: model:ir.actions.act_window,name:l10n_es_bank_statement.action_extractos_import_wizard | ||
3230 | 449 | #: model:ir.ui.menu,name:l10n_es_bank_statement.menu_import_wizard | ||
3231 | 450 | msgid "Import Statement Concepts Wizard" | ||
3232 | 451 | msgstr "Asistente de importación de conceptos de extractos" | ||
3233 | 452 | |||
3234 | 453 | #. module: l10n_es_bank_statement | ||
3235 | 454 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_payment_order:0 | ||
3236 | 455 | msgid "Reconcile payment orders by total amount" | ||
3237 | 456 | msgstr "Conciliar órdenes de pago por importe total" | ||
3238 | 457 | |||
3239 | 458 | #. module: l10n_es_bank_statement | ||
3240 | 459 | #: model:ir.module.module,description:l10n_es_bank_statement.module_meta_information | ||
3241 | 460 | msgid "" | ||
3242 | 461 | "\n" | ||
3243 | 462 | "Module for the importation of Spanish bank statements following the C43 " | ||
3244 | 463 | "normative of the 'Asociación Española de la Banca'.\n" | ||
3245 | 464 | " \n" | ||
3246 | 465 | " Adds a wizard to the bank statements to perform the importation. The " | ||
3247 | 466 | "imported file gets attached to the given bank statement.\n" | ||
3248 | 467 | " It allows to define default accounting codes for the concepts defined in " | ||
3249 | 468 | "the C43 bank statement file.\n" | ||
3250 | 469 | "\n" | ||
3251 | 470 | " The search of the entries to reconcile (and partner) is done like this:\n" | ||
3252 | 471 | " 1) Unreconciled entries with the given reference and amount. The " | ||
3253 | 472 | "reference is taken from the 'conceptos' or 'referencia2' fields of the " | ||
3254 | 473 | "statement.\n" | ||
3255 | 474 | " 2) Unreconciled entries with (a partner with) the given VAT number " | ||
3256 | 475 | "and amount.\n" | ||
3257 | 476 | " These fields are tested to find a valid spanish VAT:\n" | ||
3258 | 477 | " - First 9 characters of 'referencia1' (Banc Sabadell)\n" | ||
3259 | 478 | " - First 9 characters of 'conceptos' (La Caixa)\n" | ||
3260 | 479 | " - Characters [21:30] of 'conceptos' (Caja Rural del Jalón)\n" | ||
3261 | 480 | " 3) Unreconciled entries with the given amount.\n" | ||
3262 | 481 | "\n" | ||
3263 | 482 | " If no partner is found, the default account defined for the concept is " | ||
3264 | 483 | "used.\n" | ||
3265 | 484 | "\n" | ||
3266 | 485 | " The module also adds a wizard in Financial Management/Configuration/C43 " | ||
3267 | 486 | "bank statements to import the default statement concepts, that must be run " | ||
3268 | 487 | "after creating the spanish chart of accounts (l10n_es module).\n" | ||
3269 | 488 | " " | ||
3270 | 489 | msgstr "" | ||
3271 | 490 | "\n" | ||
3272 | 491 | "Módulo para la importación de extractos bancarios españoles de acuerdo a la " | ||
3273 | 492 | "norma C43 de la Asociación Española de la Banca.\n" | ||
3274 | 493 | " \n" | ||
3275 | 494 | " Añade un asistente a los extractos bancarios para realizar la " | ||
3276 | 495 | "importación. El fichero importado queda adjunto al extracto bancario " | ||
3277 | 496 | "activo.\n" | ||
3278 | 497 | " Permite definir códigos contables por defecto para los conceptos " | ||
3279 | 498 | "definidos en el fichero de extracto bancario C43.\n" | ||
3280 | 499 | "\n" | ||
3281 | 500 | " La búsqueda de entradas a conciliar se realiza de la siguiente forma:\n" | ||
3282 | 501 | " 1) Entradas sin conciliar con una cantidad y referencia " | ||
3283 | 502 | "especificadas. La referencia se obtiene de los campos 'concepto' o " | ||
3284 | 503 | "'referencia2' del extracto.\n" | ||
3285 | 504 | " 2) Entradas sin conciliar en las que figure el CIF del partner y la " | ||
3286 | 505 | "cantidad.\n" | ||
3287 | 506 | " Para encontrar un CIF español válido se busca en los siguientes " | ||
3288 | 507 | "campos:\n" | ||
3289 | 508 | " - Los primeros 9 caracteres del campo 'referencia1' (Banc " | ||
3290 | 509 | "Sabadell)\n" | ||
3291 | 510 | " - Los primeros 9 caracteres del campo 'conceptos' (La Caixa)\n" | ||
3292 | 511 | " - Los caracteres [21:30] del campo 'conceptos' (Caja Rural del " | ||
3293 | 512 | "Jalón)\n" | ||
3294 | 513 | " 3) Entradas sin conciliar en las que figure la cantidad.\n" | ||
3295 | 514 | "\n" | ||
3296 | 515 | " Si no se encuentra ningún partner, se utiliza la cuenta por defecto " | ||
3297 | 516 | "definida para el concepto.\n" | ||
3298 | 517 | "\n" | ||
3299 | 518 | " El módulo también añade un asistente en " | ||
3300 | 519 | "'Contabilidad/Configuración/Extractos bancarios C43' para importar los " | ||
3301 | 520 | "conceptos por defecto de los extractos; esto se debe ejecutar después de " | ||
3302 | 521 | "crear el plan español de cuentas (módulo 'l10n_es').\n" | ||
3303 | 522 | " " | ||
3304 | 523 | |||
3305 | 524 | #. module: l10n_es_bank_statement | ||
3306 | 525 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:110 | ||
3307 | 526 | #, python-format | ||
3308 | 527 | msgid "Anulación/Corrección" | ||
3309 | 528 | msgstr "Anulación/Corrección" | ||
3310 | 529 | |||
3311 | 530 | #. module: l10n_es_bank_statement | ||
3312 | 531 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:469 | ||
3313 | 532 | #, python-format | ||
3314 | 533 | msgid "Bank Statement" | ||
3315 | 534 | msgstr "Extracto bancario" | ||
3316 | 535 | |||
3317 | 536 | #. module: l10n_es_bank_statement | ||
3318 | 537 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:102 | ||
3319 | 538 | #, python-format | ||
3320 | 539 | msgid "Cheque gasolina" | ||
3321 | 540 | msgstr "Cheque gasolina" | ||
3322 | 541 | |||
3323 | 542 | #. module: l10n_es_bank_statement | ||
3324 | 543 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:60 | ||
3325 | 544 | #, python-format | ||
3326 | 545 | msgid "Info:" | ||
3327 | 546 | msgstr "Info:" | ||
3328 | 547 | |||
3329 | 548 | #. module: l10n_es_bank_statement | ||
3330 | 549 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_reference_and_amount:0 | ||
3331 | 550 | msgid "Reconcile by reference and amount" | ||
3332 | 551 | msgstr "Conciliar por referencia y cantidad" | ||
3333 | 552 | |||
3334 | 553 | #. module: l10n_es_bank_statement | ||
3335 | 554 | #: view:l10n.es.extractos.import.wizard:0 | ||
3336 | 555 | msgid "Import Wizard" | ||
3337 | 556 | msgstr "Asistente de importación" | ||
3338 | 557 | |||
3339 | 558 | #. module: l10n_es_bank_statement | ||
3340 | 559 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:98 | ||
3341 | 560 | #, python-format | ||
3342 | 561 | msgid "Remesa efectos" | ||
3343 | 562 | msgstr "Remesa efectos" | ||
3344 | 563 | |||
3345 | 564 | #. module: l10n_es_bank_statement | ||
3346 | 565 | #: model:ir.actions.act_window,name:l10n_es_bank_statement.action_extractos_concepto | ||
3347 | 566 | #: view:l10n.es.extractos.concepto:0 | ||
3348 | 567 | msgid "C43 default accounts" | ||
3349 | 568 | msgstr "Cuentas por defecto C43" | ||
3350 | 569 | |||
3351 | 570 | #. module: l10n_es_bank_statement | ||
3352 | 571 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
3353 | 572 | #: view:l10n.es.extractos.import.wizard:0 | ||
3354 | 573 | msgid "Cancel" | ||
3355 | 574 | msgstr "Cancelar" | ||
3356 | 575 | |||
3357 | 576 | #. module: l10n_es_bank_statement | ||
3358 | 577 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:152 | ||
3359 | 578 | #: field:l10n.es.extractos.concepto,company_id:0 | ||
3360 | 579 | #: field:l10n.es.extractos.import.wizard,company_id:0 | ||
3361 | 580 | #, python-format | ||
3362 | 581 | msgid "Company" | ||
3363 | 582 | msgstr "Compañía" | ||
3369 | 583 | 223 | ||
3370 | === modified file 'l10n_es_bank_statement/i18n/l10n_es_bank_statement.pot' | |||
3371 | --- ___unported__/l10n_es_bank_statement/i18n/l10n_es_bank_statement.pot 2013-11-22 23:44:11 +0000 | |||
3372 | +++ l10n_es_bank_statement/i18n/l10n_es_bank_statement.pot 2014-06-11 10:49:43 +0000 | |||
3373 | @@ -4,10 +4,10 @@ | |||
3374 | 4 | # | 4 | # |
3375 | 5 | msgid "" | 5 | msgid "" |
3376 | 6 | msgstr "" | 6 | msgstr "" |
3381 | 7 | "Project-Id-Version: OpenERP Server 6.0.1\n" | 7 | "Project-Id-Version: OpenERP Server 7.0\n" |
3382 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | 8 | "Report-Msgid-Bugs-To: \n" |
3383 | 9 | "POT-Creation-Date: 2011-03-27 02:13+0000\n" | 9 | "POT-Creation-Date: 2014-06-10 14:31+0000\n" |
3384 | 10 | "PO-Revision-Date: 2011-03-27 02:13+0000\n" | 10 | "PO-Revision-Date: 2014-06-10 14:31+0000\n" |
3385 | 11 | "Last-Translator: <>\n" | 11 | "Last-Translator: <>\n" |
3386 | 12 | "Language-Team: \n" | 12 | "Language-Team: \n" |
3387 | 13 | "MIME-Version: 1.0\n" | 13 | "MIME-Version: 1.0\n" |
3388 | @@ -16,477 +16,207 @@ | |||
3389 | 16 | "Plural-Forms: \n" | 16 | "Plural-Forms: \n" |
3390 | 17 | 17 | ||
3391 | 18 | #. module: l10n_es_bank_statement | 18 | #. module: l10n_es_bank_statement |
3400 | 19 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:109 | 19 | #: code:addons/l10n_es_bank_statement/models/c43_account_statement_profile.py:33 |
3401 | 20 | #, python-format | 20 | #, python-format |
3402 | 21 | msgid "Intereses/Comisión/Gastos/Custodia" | 21 | msgid "AEB C43 standard" |
3403 | 22 | msgstr "" | 22 | msgstr "" |
3404 | 23 | 23 | ||
3405 | 24 | #. module: l10n_es_bank_statement | 24 | #. module: l10n_es_bank_statement |
3406 | 25 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:101 | 25 | #: selection:account.bank.statement.line,c43_concept:0 |
3407 | 26 | #, python-format | 26 | msgid "Amortización préstamo" |
3408 | 27 | msgstr "" | ||
3409 | 28 | |||
3410 | 29 | #. module: l10n_es_bank_statement | ||
3411 | 30 | #: selection:account.bank.statement.line,c43_concept:0 | ||
3412 | 31 | msgid "Anulación/Corrección" | ||
3413 | 32 | msgstr "" | ||
3414 | 33 | |||
3415 | 34 | #. module: l10n_es_bank_statement | ||
3416 | 35 | #: code:_description:0 | ||
3417 | 36 | #: model:ir.model,name:l10n_es_bank_statement.model_account_bank_statement_line | ||
3418 | 37 | #, python-format | ||
3419 | 38 | msgid "Bank Statement Line" | ||
3420 | 39 | msgstr "" | ||
3421 | 40 | |||
3422 | 41 | #. module: l10n_es_bank_statement | ||
3423 | 42 | #: field:account.bank.statement.line,c43_concept:0 | ||
3424 | 43 | msgid "C43 concept" | ||
3425 | 44 | msgstr "" | ||
3426 | 45 | |||
3427 | 46 | #. module: l10n_es_bank_statement | ||
3428 | 47 | #: selection:account.bank.statement.line,c43_concept:0 | ||
3429 | 48 | msgid "Cajero automático" | ||
3430 | 49 | msgstr "" | ||
3431 | 50 | |||
3432 | 51 | #. module: l10n_es_bank_statement | ||
3433 | 52 | #: selection:account.bank.statement.line,c43_concept:0 | ||
3434 | 53 | msgid "Cheque gasolina" | ||
3435 | 54 | msgstr "" | ||
3436 | 55 | |||
3437 | 56 | #. module: l10n_es_bank_statement | ||
3438 | 57 | #: selection:account.bank.statement.line,c43_concept:0 | ||
3439 | 27 | msgid "Compra/Venta valores" | 58 | msgid "Compra/Venta valores" |
3440 | 28 | msgstr "" | 59 | msgstr "" |
3441 | 29 | 60 | ||
3442 | 30 | #. module: l10n_es_bank_statement | 61 | #. module: l10n_es_bank_statement |
3517 | 31 | #: model:ir.model,name:l10n_es_bank_statement.model_l10n_es_extractos_concepto | 62 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:128 |
3518 | 32 | msgid "C43 codes" | 63 | #, python-format |
3519 | 33 | msgstr "" | 64 | msgid "Credit amount doesn't match with the defined in the last record of account." |
3520 | 34 | 65 | msgstr "" | |
3521 | 35 | #. module: l10n_es_bank_statement | 66 | |
3522 | 36 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_amount:0 | 67 | #. module: l10n_es_bank_statement |
3523 | 37 | msgid "Reconcile by amount" | 68 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:124 |
3524 | 38 | msgstr "" | 69 | #, python-format |
3525 | 39 | 70 | msgid "Debit amount doesn't match with the defined in the last record of account." | |
3526 | 40 | #. module: l10n_es_bank_statement | 71 | msgstr "" |
3527 | 41 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:469 | 72 | |
3528 | 42 | #, python-format | 73 | #. module: l10n_es_bank_statement |
3529 | 43 | msgid "bank-statement.txt" | 74 | #: selection:account.bank.statement.line,c43_concept:0 |
3456 | 44 | msgstr "" | ||
3457 | 45 | |||
3458 | 46 | #. module: l10n_es_bank_statement | ||
3459 | 47 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:107 | ||
3460 | 48 | #, python-format | ||
3461 | 49 | msgid "Nómina/Seg. social" | ||
3462 | 50 | msgstr "" | ||
3463 | 51 | |||
3464 | 52 | #. module: l10n_es_bank_statement | ||
3465 | 53 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_vat_and_amount:0 | ||
3466 | 54 | msgid "Reconcile by VAT number and amount" | ||
3467 | 55 | msgstr "" | ||
3468 | 56 | |||
3469 | 57 | #. module: l10n_es_bank_statement | ||
3470 | 58 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:94 | ||
3471 | 59 | #, python-format | ||
3472 | 60 | msgid "Ingreso/Abonaré" | ||
3473 | 61 | msgstr "" | ||
3474 | 62 | |||
3475 | 63 | #. module: l10n_es_bank_statement | ||
3476 | 64 | #: field:l10n.es.extractos.concepto,account_id:0 | ||
3477 | 65 | msgid "Account associated to the concept" | ||
3478 | 66 | msgstr "" | ||
3479 | 67 | |||
3480 | 68 | #. module: l10n_es_bank_statement | ||
3481 | 69 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:97 | ||
3482 | 70 | #, python-format | ||
3483 | 71 | msgid "Amortización préstamo" | ||
3484 | 72 | msgstr "" | ||
3485 | 73 | |||
3486 | 74 | #. module: l10n_es_bank_statement | ||
3487 | 75 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:168 | ||
3488 | 76 | #, python-format | ||
3489 | 77 | msgid "Search by references" | ||
3490 | 78 | msgstr "" | ||
3491 | 79 | |||
3492 | 80 | #. module: l10n_es_bank_statement | ||
3493 | 81 | #: model:ir.module.module,shortdesc:l10n_es_bank_statement.module_meta_information | ||
3494 | 82 | msgid "Spanish Bank Statements Importation" | ||
3495 | 83 | msgstr "" | ||
3496 | 84 | |||
3497 | 85 | #. module: l10n_es_bank_statement | ||
3498 | 86 | #: field:l10n.es.bank.statement.import.c43.wizard,file:0 | ||
3499 | 87 | #: field:l10n.es.bank.statement.import.c43.wizard,file_name:0 | ||
3500 | 88 | msgid "Bank Statements File" | ||
3501 | 89 | msgstr "" | ||
3502 | 90 | |||
3503 | 91 | #. module: l10n_es_bank_statement | ||
3504 | 92 | #: model:ir.actions.act_window,name:l10n_es_bank_statement.action_c43_file_import_wizard | ||
3505 | 93 | msgid "Import Bank Statement" | ||
3506 | 94 | msgstr "" | ||
3507 | 95 | |||
3508 | 96 | #. module: l10n_es_bank_statement | ||
3509 | 97 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
3510 | 98 | #: view:l10n.es.extractos.import.wizard:0 | ||
3511 | 99 | msgid "Import" | ||
3512 | 100 | msgstr "" | ||
3513 | 101 | |||
3514 | 102 | #. module: l10n_es_bank_statement | ||
3515 | 103 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:106 | ||
3516 | 104 | #, python-format | ||
3530 | 105 | msgid "Devolución/Impagado" | 75 | msgid "Devolución/Impagado" |
3531 | 106 | msgstr "" | 76 | msgstr "" |
3532 | 107 | 77 | ||
3533 | 108 | #. module: l10n_es_bank_statement | 78 | #. module: l10n_es_bank_statement |
3541 | 109 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:182 | 79 | #: selection:account.bank.statement.line,c43_concept:0 |
3542 | 110 | #, python-format | 80 | msgid "Div. cupones/Prima junta/Amortización" |
3543 | 111 | msgid "Search by VAT error" | 81 | msgstr "" |
3544 | 112 | msgstr "" | 82 | |
3545 | 113 | 83 | #. module: l10n_es_bank_statement | |
3546 | 114 | #. module: l10n_es_bank_statement | 84 | #: selection:account.bank.statement.line,c43_concept:0 |
3547 | 115 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:319 | 85 | msgid "Docimiliado/Recibo/Letra/Pago por su cta." |
3548 | 86 | msgstr "" | ||
3549 | 87 | |||
3550 | 88 | #. module: l10n_es_bank_statement | ||
3551 | 89 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:115 | ||
3552 | 90 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:119 | ||
3553 | 91 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:123 | ||
3554 | 92 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:127 | ||
3555 | 93 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:136 | ||
3556 | 94 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:147 | ||
3557 | 95 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:194 | ||
3558 | 96 | #, python-format | ||
3559 | 97 | msgid "Error in C43 file" | ||
3560 | 98 | msgstr "" | ||
3561 | 99 | |||
3562 | 100 | #. module: l10n_es_bank_statement | ||
3563 | 101 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:137 | ||
3564 | 102 | #, python-format | ||
3565 | 103 | msgid "Final balance amount = (initial balance + credit - debit) doesn't match with the defined in the last record of account." | ||
3566 | 104 | msgstr "" | ||
3567 | 105 | |||
3568 | 106 | #. module: l10n_es_bank_statement | ||
3569 | 107 | #: code:addons/l10n_es_bank_statement/models/account_statement_completion_rule.py:33 | ||
3570 | 108 | #, python-format | ||
3571 | 109 | msgid "From CaixaBank C43 rules" | ||
3572 | 110 | msgstr "" | ||
3573 | 111 | |||
3574 | 112 | #. module: l10n_es_bank_statement | ||
3575 | 113 | #: code:addons/l10n_es_bank_statement/models/account_statement_completion_rule.py:34 | ||
3576 | 114 | #, python-format | ||
3577 | 115 | msgid "From generic C43 rules" | ||
3578 | 116 | msgstr "" | ||
3579 | 117 | |||
3580 | 118 | #. module: l10n_es_bank_statement | ||
3581 | 119 | #: selection:account.bank.statement.line,c43_concept:0 | ||
3582 | 120 | msgid "Giro/Transferencia/Traspaso/Cheque" | ||
3583 | 121 | msgstr "" | ||
3584 | 122 | |||
3585 | 123 | #. module: l10n_es_bank_statement | ||
3586 | 124 | #: selection:account.bank.statement.line,c43_concept:0 | ||
3587 | 125 | msgid "Ingreso/Entrega/Abonaré" | ||
3588 | 126 | msgstr "" | ||
3589 | 127 | |||
3590 | 128 | #. module: l10n_es_bank_statement | ||
3591 | 129 | #: selection:account.bank.statement.line,c43_concept:0 | ||
3592 | 130 | msgid "Intereses/Comisión/Custodia/Gastos/Impuestos" | ||
3593 | 131 | msgstr "" | ||
3594 | 132 | |||
3595 | 133 | #. module: l10n_es_bank_statement | ||
3596 | 134 | #: code:addons/l10n_es_bank_statement/models/account_statement_completion_rule.py:68 | ||
3597 | 135 | #, python-format | ||
3598 | 136 | msgid "Line named \"%s\" (Ref: %s) was matched by more than one partner for VAT number \"%s\"." | ||
3599 | 137 | msgstr "" | ||
3600 | 138 | |||
3601 | 139 | #. module: l10n_es_bank_statement | ||
3602 | 140 | #: code:addons/l10n_es_bank_statement/models/account_statement_completion_rule.py:123 | ||
3603 | 141 | #, python-format | ||
3604 | 142 | msgid "Line named \"%s\" (Ref: %s) was matched by more than one partner for invoice amount \"%s\"." | ||
3605 | 143 | msgstr "" | ||
3606 | 144 | |||
3607 | 145 | #. module: l10n_es_bank_statement | ||
3608 | 146 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:120 | ||
3609 | 147 | #, python-format | ||
3610 | 148 | msgid "Number of credit records doesn't match with the defined in the last record of account." | ||
3611 | 149 | msgstr "" | ||
3612 | 150 | |||
3613 | 151 | #. module: l10n_es_bank_statement | ||
3614 | 152 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:116 | ||
3615 | 153 | #, python-format | ||
3616 | 154 | msgid "Number of debit records doesn't match with the defined in the last record of account." | ||
3617 | 155 | msgstr "" | ||
3618 | 156 | |||
3619 | 157 | #. module: l10n_es_bank_statement | ||
3620 | 158 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:148 | ||
3621 | 159 | #, python-format | ||
3622 | 160 | msgid "Number of records doesn't match with the defined in the last record." | ||
3623 | 161 | msgstr "" | ||
3624 | 162 | |||
3625 | 163 | #. module: l10n_es_bank_statement | ||
3626 | 164 | #: selection:account.bank.statement.line,c43_concept:0 | ||
3627 | 165 | msgid "Nómina/Seguro social" | ||
3628 | 166 | msgstr "" | ||
3629 | 167 | |||
3630 | 168 | #. module: l10n_es_bank_statement | ||
3631 | 169 | #: selection:account.bank.statement.line,c43_concept:0 | ||
3632 | 170 | msgid "Operaciones extranjero" | ||
3633 | 171 | msgstr "" | ||
3634 | 172 | |||
3635 | 173 | #. module: l10n_es_bank_statement | ||
3636 | 174 | #: code:addons/l10n_es_bank_statement/models/c43_parser.py:195 | ||
3637 | 116 | #, python-format | 175 | #, python-format |
3638 | 117 | msgid "Record type %s is not valid." | 176 | msgid "Record type %s is not valid." |
3639 | 118 | msgstr "" | 177 | msgstr "" |
3640 | 119 | 178 | ||
3641 | 120 | #. module: l10n_es_bank_statement | 179 | #. module: l10n_es_bank_statement |
3738 | 121 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:195 | 180 | #: selection:account.bank.statement.line,c43_concept:0 |
3739 | 122 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:197 | 181 | msgid "Reintegro/Talón" |
3740 | 123 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:199 | 182 | msgstr "" |
3741 | 124 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:201 | 183 | |
3742 | 125 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:207 | 184 | #. module: l10n_es_bank_statement |
3743 | 126 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:231 | 185 | #: selection:account.bank.statement.line,c43_concept:0 |
3744 | 127 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:319 | 186 | msgid "Remesa efectos" |
3745 | 128 | #, python-format | 187 | msgstr "" |
3746 | 129 | msgid "Error in C43 file" | 188 | |
3747 | 130 | msgstr "" | 189 | #. module: l10n_es_bank_statement |
3748 | 131 | 190 | #: code:_description:0 | |
3749 | 132 | #. module: l10n_es_bank_statement | 191 | #: model:ir.model,name:l10n_es_bank_statement.model_account_statement_profile |
3750 | 133 | #: help:l10n.es.extractos.concepto,account_id:0 | 192 | #, python-format |
3751 | 134 | msgid "Default account to be associated with the concept when the file of C43 bank statements is imported" | 193 | msgid "Statement Profile" |
3752 | 135 | msgstr "" | 194 | msgstr "" |
3753 | 136 | 195 | ||
3754 | 137 | #. module: l10n_es_bank_statement | 196 | #. module: l10n_es_bank_statement |
3755 | 138 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | 197 | #: selection:account.bank.statement.line,c43_concept:0 |
3756 | 139 | msgid "Bank statements import according to norm C43" | 198 | msgid "Subscripción/Div. pasivos/Canje" |
3757 | 140 | msgstr "" | 199 | msgstr "" |
3758 | 141 | 200 | ||
3759 | 142 | #. module: l10n_es_bank_statement | 201 | #. module: l10n_es_bank_statement |
3760 | 143 | #: model:ir.model,name:l10n_es_bank_statement.model_l10n_es_extractos_import_wizard | 202 | #: selection:account.bank.statement.line,c43_concept:0 |
3665 | 144 | msgid "l10n.es.extractos.import.wizard" | ||
3666 | 145 | msgstr "" | ||
3667 | 146 | |||
3668 | 147 | #. module: l10n_es_bank_statement | ||
3669 | 148 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:100 | ||
3670 | 149 | #, python-format | ||
3671 | 150 | msgid "Amortización" | ||
3672 | 151 | msgstr "" | ||
3673 | 152 | |||
3674 | 153 | #. module: l10n_es_bank_statement | ||
3675 | 154 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:182 | ||
3676 | 155 | #, python-format | ||
3677 | 156 | msgid "You cannot search by VAT because it seems this line has not been imported from a bank statement file. The system expected \"referencia1\" and \"conceptos\" keys in line of amount %(amount).2f in statement %(statement)s." | ||
3678 | 157 | msgstr "" | ||
3679 | 158 | |||
3680 | 159 | #. module: l10n_es_bank_statement | ||
3681 | 160 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:195 | ||
3682 | 161 | #, python-format | ||
3683 | 162 | msgid "Number of debit records does not agree with the defined in the last record of account." | ||
3684 | 163 | msgstr "" | ||
3685 | 164 | |||
3686 | 165 | #. module: l10n_es_bank_statement | ||
3687 | 166 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:99 | ||
3688 | 167 | #, python-format | ||
3689 | 168 | msgid "Subscripción/Canje" | ||
3690 | 169 | msgstr "" | ||
3691 | 170 | |||
3692 | 171 | #. module: l10n_es_bank_statement | ||
3693 | 172 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
3694 | 173 | msgid "Bank Statements File:" | ||
3695 | 174 | msgstr "" | ||
3696 | 175 | |||
3697 | 176 | #. module: l10n_es_bank_statement | ||
3698 | 177 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
3699 | 178 | msgid "Automatic reconciliation options" | ||
3700 | 179 | msgstr "" | ||
3701 | 180 | |||
3702 | 181 | #. module: l10n_es_bank_statement | ||
3703 | 182 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:157 | ||
3704 | 183 | #, python-format | ||
3705 | 184 | msgid "%s moves (%s) found for this date and partner. You'll have to concile this line manually..." | ||
3706 | 185 | msgstr "" | ||
3707 | 186 | |||
3708 | 187 | #. module: l10n_es_bank_statement | ||
3709 | 188 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_max_days:0 | ||
3710 | 189 | msgid "Max. days from statement date" | ||
3711 | 190 | msgstr "" | ||
3712 | 191 | |||
3713 | 192 | #. module: l10n_es_bank_statement | ||
3714 | 193 | #: help:l10n.es.bank.statement.import.c43.wizard,reco_max_days:0 | ||
3715 | 194 | msgid "Maximum difference in days, between the maturity date of the entry to reconcile and the bank statement entry" | ||
3716 | 195 | msgstr "" | ||
3717 | 196 | |||
3718 | 197 | #. module: l10n_es_bank_statement | ||
3719 | 198 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:197 | ||
3720 | 199 | #, python-format | ||
3721 | 200 | msgid "Number of credit records does not agree with the defined in the last record of account." | ||
3722 | 201 | msgstr "" | ||
3723 | 202 | |||
3724 | 203 | #. module: l10n_es_bank_statement | ||
3725 | 204 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:207 | ||
3726 | 205 | #, python-format | ||
3727 | 206 | msgid "Final balance amount = (initial balance + credit - debit) does not agree with the defined in the last record of account." | ||
3728 | 207 | msgstr "" | ||
3729 | 208 | |||
3730 | 209 | #. module: l10n_es_bank_statement | ||
3731 | 210 | #: model:ir.ui.menu,name:l10n_es_bank_statement.menu_extractos_bancarios_concepto | ||
3732 | 211 | msgid "Default accounts associated to C43 codes" | ||
3733 | 212 | msgstr "" | ||
3734 | 213 | |||
3735 | 214 | #. module: l10n_es_bank_statement | ||
3736 | 215 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:104 | ||
3737 | 216 | #, python-format | ||
3761 | 217 | msgid "Tarjeta crédito/débito" | 203 | msgid "Tarjeta crédito/débito" |
3762 | 218 | msgstr "" | 204 | msgstr "" |
3763 | 219 | 205 | ||
3764 | 220 | #. module: l10n_es_bank_statement | 206 | #. module: l10n_es_bank_statement |
3796 | 221 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:419 | 207 | #: selection:account.bank.statement.line,c43_concept:0 |
3766 | 222 | #, python-format | ||
3767 | 223 | msgid "A default account has not been defined for the C43 concept " | ||
3768 | 224 | msgstr "" | ||
3769 | 225 | |||
3770 | 226 | #. module: l10n_es_bank_statement | ||
3771 | 227 | #: model:ir.model,name:l10n_es_bank_statement.model_l10n_es_bank_statement_import_c43_wizard | ||
3772 | 228 | msgid "l10n.es.bank.statement.import.c43.wizard" | ||
3773 | 229 | msgstr "" | ||
3774 | 230 | |||
3775 | 231 | #. module: l10n_es_bank_statement | ||
3776 | 232 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:93 | ||
3777 | 233 | #, python-format | ||
3778 | 234 | msgid "Reintegro/Talón" | ||
3779 | 235 | msgstr "" | ||
3780 | 236 | |||
3781 | 237 | #. module: l10n_es_bank_statement | ||
3782 | 238 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:60 | ||
3783 | 239 | #, python-format | ||
3784 | 240 | msgid "Concepts for this company already imported..." | ||
3785 | 241 | msgstr "" | ||
3786 | 242 | |||
3787 | 243 | #. module: l10n_es_bank_statement | ||
3788 | 244 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:96 | ||
3789 | 245 | #, python-format | ||
3790 | 246 | msgid "Transf./Giro/Cheque" | ||
3791 | 247 | msgstr "" | ||
3792 | 248 | |||
3793 | 249 | #. module: l10n_es_bank_statement | ||
3794 | 250 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:108 | ||
3795 | 251 | #, python-format | ||
3797 | 252 | msgid "Timbre/Corretaje/Póliza" | 208 | msgid "Timbre/Corretaje/Póliza" |
3798 | 253 | msgstr "" | 209 | msgstr "" |
3799 | 254 | 210 | ||
3800 | 255 | #. module: l10n_es_bank_statement | 211 | #. module: l10n_es_bank_statement |
3803 | 256 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:111 | 212 | #: selection:account.bank.statement.line,c43_concept:0 |
3802 | 257 | #, python-format | ||
3804 | 258 | msgid "Varios" | 213 | msgid "Varios" |
3805 | 259 | msgstr "" | 214 | msgstr "" |
3806 | 260 | 215 | ||
3807 | 261 | #. module: l10n_es_bank_statement | 216 | #. module: l10n_es_bank_statement |
4037 | 262 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:121 | 217 | #: code:_description:0 |
4038 | 263 | #, python-format | 218 | #: model:ir.model,name:l10n_es_bank_statement.model_account_statement_completion_rule |
4039 | 264 | msgid "Could not import concept %(concept)s because no matching account was found for expression %(expression)s." | 219 | #, python-format |
4040 | 265 | msgstr "" | 220 | msgid "account.statement.completion.rule" |
3812 | 266 | |||
3813 | 267 | #. module: l10n_es_bank_statement | ||
3814 | 268 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_rules:0 | ||
3815 | 269 | msgid "Statement Line Rules" | ||
3816 | 270 | msgstr "" | ||
3817 | 271 | |||
3818 | 272 | #. module: l10n_es_bank_statement | ||
3819 | 273 | #: help:l10n.es.extractos.concepto,code:0 | ||
3820 | 274 | msgid "2 digits code of the concept defined in the file of C43 bank statements" | ||
3821 | 275 | msgstr "" | ||
3822 | 276 | |||
3823 | 277 | #. module: l10n_es_bank_statement | ||
3824 | 278 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:199 | ||
3825 | 279 | #, python-format | ||
3826 | 280 | msgid "Debit amount does not agree with the defined in the last record of account." | ||
3827 | 281 | msgstr "" | ||
3828 | 282 | |||
3829 | 283 | #. module: l10n_es_bank_statement | ||
3830 | 284 | #: field:l10n.es.extractos.concepto,code:0 | ||
3831 | 285 | msgid "Concept code" | ||
3832 | 286 | msgstr "" | ||
3833 | 287 | |||
3834 | 288 | #. module: l10n_es_bank_statement | ||
3835 | 289 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:231 | ||
3836 | 290 | #, python-format | ||
3837 | 291 | msgid "Number of records does not agree with the defined in the last record." | ||
3838 | 292 | msgstr "" | ||
3839 | 293 | |||
3840 | 294 | #. module: l10n_es_bank_statement | ||
3841 | 295 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:157 | ||
3842 | 296 | #, python-format | ||
3843 | 297 | msgid "Beware!" | ||
3844 | 298 | msgstr "" | ||
3845 | 299 | |||
3846 | 300 | #. module: l10n_es_bank_statement | ||
3847 | 301 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:80 | ||
3848 | 302 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:139 | ||
3849 | 303 | #, python-format | ||
3850 | 304 | msgid "C43 Created Concepts" | ||
3851 | 305 | msgstr "" | ||
3852 | 306 | |||
3853 | 307 | #. module: l10n_es_bank_statement | ||
3854 | 308 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:344 | ||
3855 | 309 | #, python-format | ||
3856 | 310 | msgid "Error!" | ||
3857 | 311 | msgstr "" | ||
3858 | 312 | |||
3859 | 313 | #. module: l10n_es_bank_statement | ||
3860 | 314 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:105 | ||
3861 | 315 | #, python-format | ||
3862 | 316 | msgid "Operaciones extranjero" | ||
3863 | 317 | msgstr "" | ||
3864 | 318 | |||
3865 | 319 | #. module: l10n_es_bank_statement | ||
3866 | 320 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:344 | ||
3867 | 321 | #, python-format | ||
3868 | 322 | msgid "The bank statement is alredy confirmed. It can not be imported from file." | ||
3869 | 323 | msgstr "" | ||
3870 | 324 | |||
3871 | 325 | #. module: l10n_es_bank_statement | ||
3872 | 326 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:419 | ||
3873 | 327 | #, python-format | ||
3874 | 328 | msgid "Error" | ||
3875 | 329 | msgstr "" | ||
3876 | 330 | |||
3877 | 331 | #. module: l10n_es_bank_statement | ||
3878 | 332 | #: code:addons/l10n_es_bank_statement/account_bank_statement.py:168 | ||
3879 | 333 | #, python-format | ||
3880 | 334 | msgid "You cannot search by reference because it seems this line has not been imported from a bank statement file. The system expected \"conceptos\" and \"referencia2\" keys in line of amount %(amount).2f in statement %(statement)s." | ||
3881 | 335 | msgstr "" | ||
3882 | 336 | |||
3883 | 337 | #. module: l10n_es_bank_statement | ||
3884 | 338 | #: field:l10n.es.extractos.concepto,name:0 | ||
3885 | 339 | msgid "Concept name" | ||
3886 | 340 | msgstr "" | ||
3887 | 341 | |||
3888 | 342 | #. module: l10n_es_bank_statement | ||
3889 | 343 | #: constraint:account.bank.statement.line:0 | ||
3890 | 344 | msgid "The amount of the voucher must be the same amount as the one on the statement line" | ||
3891 | 345 | msgstr "" | ||
3892 | 346 | |||
3893 | 347 | #. module: l10n_es_bank_statement | ||
3894 | 348 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:103 | ||
3895 | 349 | #, python-format | ||
3896 | 350 | msgid "Cajero automático" | ||
3897 | 351 | msgstr "" | ||
3898 | 352 | |||
3899 | 353 | #. module: l10n_es_bank_statement | ||
3900 | 354 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:95 | ||
3901 | 355 | #, python-format | ||
3902 | 356 | msgid "Recibo/Letra domiciliado" | ||
3903 | 357 | msgstr "" | ||
3904 | 358 | |||
3905 | 359 | #. module: l10n_es_bank_statement | ||
3906 | 360 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:201 | ||
3907 | 361 | #, python-format | ||
3908 | 362 | msgid "Credit amount does not agree with the defined in the last record of account." | ||
3909 | 363 | msgstr "" | ||
3910 | 364 | |||
3911 | 365 | #. module: l10n_es_bank_statement | ||
3912 | 366 | #: view:l10n.es.extractos.import.wizard:0 | ||
3913 | 367 | msgid "This wizard will import default concepts related to standard accounts of spanish charts." | ||
3914 | 368 | msgstr "" | ||
3915 | 369 | |||
3916 | 370 | #. module: l10n_es_bank_statement | ||
3917 | 371 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:121 | ||
3918 | 372 | #, python-format | ||
3919 | 373 | msgid "Import Error" | ||
3920 | 374 | msgstr "" | ||
3921 | 375 | |||
3922 | 376 | #. module: l10n_es_bank_statement | ||
3923 | 377 | #: model:ir.model,name:l10n_es_bank_statement.model_account_bank_statement_line | ||
3924 | 378 | msgid "Bank Statement Line" | ||
3925 | 379 | msgstr "" | ||
3926 | 380 | |||
3927 | 381 | #. module: l10n_es_bank_statement | ||
3928 | 382 | #: model:ir.actions.act_window,name:l10n_es_bank_statement.action_extractos_import_wizard | ||
3929 | 383 | #: model:ir.ui.menu,name:l10n_es_bank_statement.menu_import_wizard | ||
3930 | 384 | msgid "Import Statement Concepts Wizard" | ||
3931 | 385 | msgstr "" | ||
3932 | 386 | |||
3933 | 387 | #. module: l10n_es_bank_statement | ||
3934 | 388 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_payment_order:0 | ||
3935 | 389 | msgid "Reconcile payment orders by total amount" | ||
3936 | 390 | msgstr "" | ||
3937 | 391 | |||
3938 | 392 | #. module: l10n_es_bank_statement | ||
3939 | 393 | #: model:ir.module.module,description:l10n_es_bank_statement.module_meta_information | ||
3940 | 394 | msgid "\n" | ||
3941 | 395 | "Module for the importation of Spanish bank statements following the C43 normative of the 'Asociación Española de la Banca'.\n" | ||
3942 | 396 | " \n" | ||
3943 | 397 | " Adds a wizard to the bank statements to perform the importation. The imported file gets attached to the given bank statement.\n" | ||
3944 | 398 | " It allows to define default accounting codes for the concepts defined in the C43 bank statement file.\n" | ||
3945 | 399 | "\n" | ||
3946 | 400 | " The search of the entries to reconcile (and partner) is done like this:\n" | ||
3947 | 401 | " 1) Unreconciled entries with the given reference and amount. The reference is taken from the 'conceptos' or 'referencia2' fields of the statement.\n" | ||
3948 | 402 | " 2) Unreconciled entries with (a partner with) the given VAT number and amount.\n" | ||
3949 | 403 | " These fields are tested to find a valid spanish VAT:\n" | ||
3950 | 404 | " - First 9 characters of 'referencia1' (Banc Sabadell)\n" | ||
3951 | 405 | " - First 9 characters of 'conceptos' (La Caixa)\n" | ||
3952 | 406 | " - Characters [21:30] of 'conceptos' (Caja Rural del Jalón)\n" | ||
3953 | 407 | " 3) Unreconciled entries with the given amount.\n" | ||
3954 | 408 | "\n" | ||
3955 | 409 | " If no partner is found, the default account defined for the concept is used.\n" | ||
3956 | 410 | "\n" | ||
3957 | 411 | " The module also adds a wizard in Financial Management/Configuration/C43 bank statements to import the default statement concepts, that must be run after creating the spanish chart of accounts (l10n_es module).\n" | ||
3958 | 412 | " " | ||
3959 | 413 | msgstr "" | ||
3960 | 414 | "Module for the importation of Spanish bank statements following the C43 normative of the 'Asociación Española de la Banca'.\n" | ||
3961 | 415 | " \n" | ||
3962 | 416 | " Adds a wizard to the bank statements to perform the importation. The imported file gets attached to the given bank statement.\n" | ||
3963 | 417 | " It allows to define default accounting codes for the concepts defined in the C43 bank statement file.\n" | ||
3964 | 418 | "\n" | ||
3965 | 419 | " The search of the entries to reconcile (and partner) is done like this:\n" | ||
3966 | 420 | " 1) Unreconciled entries with the given reference and amount. The reference is taken from the 'conceptos' or 'referencia2' fields of the statement.\n" | ||
3967 | 421 | " 2) Unreconciled entries with (a partner with) the given VAT number and amount.\n" | ||
3968 | 422 | " These fields are tested to find a valid spanish VAT:\n" | ||
3969 | 423 | " - First 9 characters of 'referencia1' (Banc Sabadell)\n" | ||
3970 | 424 | " - First 9 characters of 'conceptos' (La Caixa)\n" | ||
3971 | 425 | " - Characters [21:30] of 'conceptos' (Caja Rural del Jalón)\n" | ||
3972 | 426 | " 3) Unreconciled entries with the given amount.\n" | ||
3973 | 427 | "\n" | ||
3974 | 428 | " If no partner is found, the default account defined for the concept is used.\n" | ||
3975 | 429 | "\n" | ||
3976 | 430 | " The module also adds a wizard in Financial Management/Configuration/C43 bank statements to import the default statement concepts, that must be run after creating the spanish chart of accounts (l10n_es module).\n" | ||
3977 | 431 | " " | ||
3978 | 432 | |||
3979 | 433 | #. module: l10n_es_bank_statement | ||
3980 | 434 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:110 | ||
3981 | 435 | #, python-format | ||
3982 | 436 | msgid "Anulación/Corrección" | ||
3983 | 437 | msgstr "" | ||
3984 | 438 | |||
3985 | 439 | #. module: l10n_es_bank_statement | ||
3986 | 440 | #: code:addons/l10n_es_bank_statement/import_c43_file.py:469 | ||
3987 | 441 | #, python-format | ||
3988 | 442 | msgid "Bank Statement" | ||
3989 | 443 | msgstr "" | ||
3990 | 444 | |||
3991 | 445 | #. module: l10n_es_bank_statement | ||
3992 | 446 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:102 | ||
3993 | 447 | #, python-format | ||
3994 | 448 | msgid "Cheque gasolina" | ||
3995 | 449 | msgstr "" | ||
3996 | 450 | |||
3997 | 451 | #. module: l10n_es_bank_statement | ||
3998 | 452 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:60 | ||
3999 | 453 | #, python-format | ||
4000 | 454 | msgid "Info:" | ||
4001 | 455 | msgstr "" | ||
4002 | 456 | |||
4003 | 457 | #. module: l10n_es_bank_statement | ||
4004 | 458 | #: field:l10n.es.bank.statement.import.c43.wizard,reco_reference_and_amount:0 | ||
4005 | 459 | msgid "Reconcile by reference and amount" | ||
4006 | 460 | msgstr "" | ||
4007 | 461 | |||
4008 | 462 | #. module: l10n_es_bank_statement | ||
4009 | 463 | #: view:l10n.es.extractos.import.wizard:0 | ||
4010 | 464 | msgid "Import Wizard" | ||
4011 | 465 | msgstr "" | ||
4012 | 466 | |||
4013 | 467 | #. module: l10n_es_bank_statement | ||
4014 | 468 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:98 | ||
4015 | 469 | #, python-format | ||
4016 | 470 | msgid "Remesa efectos" | ||
4017 | 471 | msgstr "" | ||
4018 | 472 | |||
4019 | 473 | #. module: l10n_es_bank_statement | ||
4020 | 474 | #: model:ir.actions.act_window,name:l10n_es_bank_statement.action_extractos_concepto | ||
4021 | 475 | #: view:l10n.es.extractos.concepto:0 | ||
4022 | 476 | msgid "C43 default accounts" | ||
4023 | 477 | msgstr "" | ||
4024 | 478 | |||
4025 | 479 | #. module: l10n_es_bank_statement | ||
4026 | 480 | #: view:l10n.es.bank.statement.import.c43.wizard:0 | ||
4027 | 481 | #: view:l10n.es.extractos.import.wizard:0 | ||
4028 | 482 | msgid "Cancel" | ||
4029 | 483 | msgstr "" | ||
4030 | 484 | |||
4031 | 485 | #. module: l10n_es_bank_statement | ||
4032 | 486 | #: code:addons/l10n_es_bank_statement/import_conceptos.py:152 | ||
4033 | 487 | #: field:l10n.es.extractos.concepto,company_id:0 | ||
4034 | 488 | #: field:l10n.es.extractos.import.wizard,company_id:0 | ||
4035 | 489 | #, python-format | ||
4036 | 490 | msgid "Company" | ||
4041 | 491 | msgstr "" | 221 | msgstr "" |
4042 | 492 | 222 | ||
4043 | 493 | 223 | ||
4044 | === added directory 'l10n_es_bank_statement/models' | |||
4045 | === added file 'l10n_es_bank_statement/models/__init__.py' | |||
4046 | --- l10n_es_bank_statement/models/__init__.py 1970-01-01 00:00:00 +0000 | |||
4047 | +++ l10n_es_bank_statement/models/__init__.py 2014-06-11 10:49:43 +0000 | |||
4048 | @@ -0,0 +1,26 @@ | |||
4049 | 1 | # -*- coding: utf-8 -*- | ||
4050 | 2 | ############################################################################## | ||
4051 | 3 | # | ||
4052 | 4 | # Copyright (c) All rights reserved: | ||
4053 | 5 | # 2013-2014 Servicios Tecnológicos Avanzados (http://serviciosbaeza.com) | ||
4054 | 6 | # Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com> | ||
4055 | 7 | # | ||
4056 | 8 | # This program is free software: you can redistribute it and/or modify | ||
4057 | 9 | # it under the terms of the GNU Affero General Public License as published | ||
4058 | 10 | # by the Free Software Foundation, either version 3 of the License, or | ||
4059 | 11 | # (at your option) any later version. | ||
4060 | 12 | # | ||
4061 | 13 | # This program is distributed in the hope that it will be useful, | ||
4062 | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
4063 | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
4064 | 16 | # GNU Affero General Public License for more details. | ||
4065 | 17 | # | ||
4066 | 18 | # You should have received a copy of the GNU Affero General Public License | ||
4067 | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
4068 | 20 | # | ||
4069 | 21 | ############################################################################## | ||
4070 | 22 | from . import account_bank_statement | ||
4071 | 23 | from . import account_statement_profile | ||
4072 | 24 | from . import account_statement_completion_rule | ||
4073 | 25 | from . import c43_parser | ||
4074 | 26 | from . import c43_account_statement_profile | ||
4075 | 0 | 27 | ||
4076 | === added file 'l10n_es_bank_statement/models/account_bank_statement.py' | |||
4077 | --- l10n_es_bank_statement/models/account_bank_statement.py 1970-01-01 00:00:00 +0000 | |||
4078 | +++ l10n_es_bank_statement/models/account_bank_statement.py 2014-06-11 10:49:43 +0000 | |||
4079 | @@ -0,0 +1,53 @@ | |||
4080 | 1 | # -*- coding: utf-8 -*- | ||
4081 | 2 | ############################################################################## | ||
4082 | 3 | # | ||
4083 | 4 | # Copyright (c) All rights reserved: | ||
4084 | 5 | # 2013-2014 Servicios Tecnológicos Avanzados (http://serviciosbaeza.com) | ||
4085 | 6 | # Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com> | ||
4086 | 7 | # | ||
4087 | 8 | # This program is free software: you can redistribute it and/or modify | ||
4088 | 9 | # it under the terms of the GNU Affero General Public License as published | ||
4089 | 10 | # by the Free Software Foundation, either version 3 of the License, or | ||
4090 | 11 | # (at your option) any later version. | ||
4091 | 12 | # | ||
4092 | 13 | # This program is distributed in the hope that it will be useful, | ||
4093 | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
4094 | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
4095 | 16 | # GNU Affero General Public License for more details. | ||
4096 | 17 | # | ||
4097 | 18 | # You should have received a copy of the GNU Affero General Public License | ||
4098 | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
4099 | 20 | # | ||
4100 | 21 | ############################################################################## | ||
4101 | 22 | from openerp.osv import orm, fields | ||
4102 | 23 | |||
4103 | 24 | class AccountBankStatementLine(orm.Model): | ||
4104 | 25 | _inherit = "account.bank.statement.line" | ||
4105 | 26 | |||
4106 | 27 | _columns = { | ||
4107 | 28 | 'c43_concept': fields.selection( | ||
4108 | 29 | [('01', 'Reintegro/Talón'), | ||
4109 | 30 | ('02', 'Ingreso/Entrega/Abonaré'), | ||
4110 | 31 | ('03', 'Docimiliado/Recibo/Letra/Pago por su cta.'), | ||
4111 | 32 | ('04', 'Giro/Transferencia/Traspaso/Cheque'), | ||
4112 | 33 | ('05', 'Amortización préstamo'), | ||
4113 | 34 | ('06', 'Remesa efectos'), | ||
4114 | 35 | ('07', 'Subscripción/Div. pasivos/Canje'), | ||
4115 | 36 | ('08', 'Div. cupones/Prima junta/Amortización'), | ||
4116 | 37 | ('09', 'Compra/Venta valores'), | ||
4117 | 38 | ('10', 'Cheque gasolina'), | ||
4118 | 39 | ('11', 'Cajero automático'), | ||
4119 | 40 | ('12', 'Tarjeta crédito/débito'), | ||
4120 | 41 | ('13', 'Operaciones extranjero'), | ||
4121 | 42 | ('14', 'Devolución/Impagado'), | ||
4122 | 43 | ('15', 'Nómina/Seguro social'), | ||
4123 | 44 | ('16', 'Timbre/Corretaje/Póliza'), | ||
4124 | 45 | ('17', 'Intereses/Comisión/Custodia/Gastos/Impuestos'), | ||
4125 | 46 | ('98', 'Anulación/Corrección'), | ||
4126 | 47 | ('99', 'Varios')], | ||
4127 | 48 | 'C43 concept', readonly=True), | ||
4128 | 49 | } | ||
4129 | 50 | |||
4130 | 51 | _defaults = { | ||
4131 | 52 | 'c43_concept': '99', | ||
4132 | 53 | } | ||
4133 | 0 | \ No newline at end of file | 54 | \ No newline at end of file |
4134 | 1 | 55 | ||
4135 | === added file 'l10n_es_bank_statement/models/account_statement_completion_rule.py' | |||
4136 | --- l10n_es_bank_statement/models/account_statement_completion_rule.py 1970-01-01 00:00:00 +0000 | |||
4137 | +++ l10n_es_bank_statement/models/account_statement_completion_rule.py 2014-06-11 10:49:43 +0000 | |||
4138 | @@ -0,0 +1,136 @@ | |||
4139 | 1 | # -*- coding: utf-8 -*- | ||
4140 | 2 | ############################################################################## | ||
4141 | 3 | # | ||
4142 | 4 | # Copyright (c) All rights reserved: | ||
4143 | 5 | # 2013-2014 Servicios Tecnológicos Avanzados (http://serviciosbaeza.com) | ||
4144 | 6 | # Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com> | ||
4145 | 7 | # | ||
4146 | 8 | # This program is free software: you can redistribute it and/or modify | ||
4147 | 9 | # it under the terms of the GNU Affero General Public License as published | ||
4148 | 10 | # by the Free Software Foundation, either version 3 of the License, or | ||
4149 | 11 | # (at your option) any later version. | ||
4150 | 12 | # | ||
4151 | 13 | # This program is distributed in the hope that it will be useful, | ||
4152 | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
4153 | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
4154 | 16 | # GNU Affero General Public License for more details. | ||
4155 | 17 | # | ||
4156 | 18 | # You should have received a copy of the GNU Affero General Public License | ||
4157 | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
4158 | 20 | # | ||
4159 | 21 | ############################################################################## | ||
4160 | 22 | from openerp.osv import orm, fields | ||
4161 | 23 | from openerp.addons.account_statement_base_completion.statement import ErrorTooManyPartner | ||
4162 | 24 | from openerp.tools.translate import _ | ||
4163 | 25 | |||
4164 | 26 | |||
4165 | 27 | class AccountStatementCompletionRule(orm.Model): | ||
4166 | 28 | _inherit = "account.statement.completion.rule" | ||
4167 | 29 | |||
4168 | 30 | def _get_functions(self, cr, uid, context=None): | ||
4169 | 31 | res = super(AccountStatementCompletionRule, self)._get_functions( | ||
4170 | 32 | cr, uid, context=context) | ||
4171 | 33 | res.append(('get_from_caixabank_rules', _('From CaixaBank C43 rules'))) | ||
4172 | 34 | res.append(('get_from_generic_c43_rules', _('From generic C43 rules'))) | ||
4173 | 35 | return res | ||
4174 | 36 | |||
4175 | 37 | _columns = { | ||
4176 | 38 | 'function_to_call': fields.selection(_get_functions, 'Method'), | ||
4177 | 39 | } | ||
4178 | 40 | |||
4179 | 41 | def get_from_caixabank_rules(self, cr, uid, st_line, context=None): | ||
4180 | 42 | """ | ||
4181 | 43 | Match the partner based on several criteria extracted from reverse | ||
4182 | 44 | engineer of CaixaBank C43 files. | ||
4183 | 45 | |||
4184 | 46 | If more than one partner is matched, raise the ErrorTooManyPartner | ||
4185 | 47 | error. | ||
4186 | 48 | :param dict st_line: read of the concerned account.bank.statement.line | ||
4187 | 49 | :return: | ||
4188 | 50 | A dict of value that can be passed directly to the write method of | ||
4189 | 51 | the statement line or {} | ||
4190 | 52 | {'partner_id': value, | ||
4191 | 53 | 'account_id' : value, | ||
4192 | 54 | ...} | ||
4193 | 55 | """ | ||
4194 | 56 | partner_obj = self.pool['res.partner'] | ||
4195 | 57 | st_line_obj = self.pool['account.bank.statement.line'] | ||
4196 | 58 | conceptos = eval(st_line['name']) | ||
4197 | 59 | ids = [] | ||
4198 | 60 | res = {} | ||
4199 | 61 | # Try to match from VAT included in concept complementary record #02 | ||
4200 | 62 | if conceptos.get('02'): | ||
4201 | 63 | vat = conceptos['02'][0][:2] + conceptos['02'][0][7:] | ||
4202 | 64 | ids = partner_obj.search(cr, uid, [('vat', '=', vat)], | ||
4203 | 65 | context=context) | ||
4204 | 66 | if len(ids) > 1: | ||
4205 | 67 | raise ErrorTooManyPartner( | ||
4206 | 68 | _('Line named "%s" (Ref: %s) was matched by more than ' | ||
4207 | 69 | 'one partner for VAT number "%s".') % \ | ||
4208 | 70 | (st_line['name'], st_line['ref'], vat)) | ||
4209 | 71 | if not ids: | ||
4210 | 72 | # Try to match from partner name | ||
4211 | 73 | if conceptos.get('01'): | ||
4212 | 74 | name = conceptos['01'][0][4:] + conceptos['01'][1] | ||
4213 | 75 | ids = partner_obj.search(cr, uid, [('name', 'ilike', name)], | ||
4214 | 76 | context=context) | ||
4215 | 77 | if ids: | ||
4216 | 78 | res['partner_id'] = ids[0] | ||
4217 | 79 | st_vals = st_line_obj.get_values_for_line( | ||
4218 | 80 | cr, uid, profile_id=st_line['profile_id'], | ||
4219 | 81 | master_account_id=st_line['master_account_id'], | ||
4220 | 82 | partner_id=res.get('partner_id', False), | ||
4221 | 83 | line_type=st_line['type'], | ||
4222 | 84 | amount=st_line['amount'] or 0.0, | ||
4223 | 85 | context=context) | ||
4224 | 86 | res.update(st_vals) | ||
4225 | 87 | return res | ||
4226 | 88 | |||
4227 | 89 | def get_from_generic_c43_rules(self, cr, uid, st_line, context=None): | ||
4228 | 90 | """ | ||
4229 | 91 | Match the partner based on invoice amount.. | ||
4230 | 92 | |||
4231 | 93 | If more than one partner is matched, raise the ErrorTooManyPartner | ||
4232 | 94 | error. | ||
4233 | 95 | :param dict st_line: read of the concerned account.bank.statement.line | ||
4234 | 96 | :return: | ||
4235 | 97 | A dict of value that can be passed directly to the write method of | ||
4236 | 98 | the statement line or {} | ||
4237 | 99 | {'partner_id': value, | ||
4238 | 100 | 'account_id' : value, | ||
4239 | 101 | ...} | ||
4240 | 102 | """ | ||
4241 | 103 | st_line_obj = self.pool['account.bank.statement.line'] | ||
4242 | 104 | invoice_obj = self.pool['account.invoice'] | ||
4243 | 105 | ids = [] | ||
4244 | 106 | res = {} | ||
4245 | 107 | # Finally, try to match from invoice amount | ||
4246 | 108 | if st_line['amount'] > 0.0: | ||
4247 | 109 | domain = [('type', 'in', ['out_invoice', 'in_refund'])] | ||
4248 | 110 | else: | ||
4249 | 111 | domain = [('type', 'in', ['in_invoice', 'out_refund'])] | ||
4250 | 112 | domain.append(('amount_total', '=', abs(st_line['amount']))) | ||
4251 | 113 | domain.append(('state', '=', 'open')) | ||
4252 | 114 | invoice_ids = invoice_obj.search(cr, uid, domain, | ||
4253 | 115 | context=context) | ||
4254 | 116 | if invoice_ids: | ||
4255 | 117 | invoices = invoice_obj.read(cr, uid, invoice_ids, | ||
4256 | 118 | ['partner_id'], context=context) | ||
4257 | 119 | ids = [x['partner_id'][0] for x in invoices] | ||
4258 | 120 | ids = list(set(ids)) | ||
4259 | 121 | if len(ids) > 1: | ||
4260 | 122 | raise ErrorTooManyPartner( | ||
4261 | 123 | _('Line named "%s" (Ref: %s) was matched by more than ' | ||
4262 | 124 | 'one partner for invoice amount "%s".') % \ | ||
4263 | 125 | (st_line['name'], st_line['ref'], st_line['amount'])) | ||
4264 | 126 | if ids: | ||
4265 | 127 | res['partner_id'] = ids[0] | ||
4266 | 128 | st_vals = st_line_obj.get_values_for_line( | ||
4267 | 129 | cr, uid, profile_id=st_line['profile_id'], | ||
4268 | 130 | master_account_id=st_line['master_account_id'], | ||
4269 | 131 | partner_id=res.get('partner_id', False), | ||
4270 | 132 | line_type=st_line['type'], | ||
4271 | 133 | amount=st_line['amount'] or 0.0, | ||
4272 | 134 | context=context) | ||
4273 | 135 | res.update(st_vals) | ||
4274 | 136 | return res | ||
4275 | 0 | 137 | ||
4276 | === added file 'l10n_es_bank_statement/models/account_statement_profile.py' | |||
4277 | --- l10n_es_bank_statement/models/account_statement_profile.py 1970-01-01 00:00:00 +0000 | |||
4278 | +++ l10n_es_bank_statement/models/account_statement_profile.py 2014-06-11 10:49:43 +0000 | |||
4279 | @@ -0,0 +1,68 @@ | |||
4280 | 1 | # -*- coding: utf-8 -*- | ||
4281 | 2 | ############################################################################## | ||
4282 | 3 | # | ||
4283 | 4 | # Copyright (c) All rights reserved: | ||
4284 | 5 | # 2013-2014 Servicios Tecnológicos Avanzados (http://serviciosbaeza.com) | ||
4285 | 6 | # Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com> | ||
4286 | 7 | # | ||
4287 | 8 | # This program is free software: you can redistribute it and/or modify | ||
4288 | 9 | # it under the terms of the GNU Affero General Public License as published | ||
4289 | 10 | # by the Free Software Foundation, either version 3 of the License, or | ||
4290 | 11 | # (at your option) any later version. | ||
4291 | 12 | # | ||
4292 | 13 | # This program is distributed in the hope that it will be useful, | ||
4293 | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
4294 | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
4295 | 16 | # GNU Affero General Public License for more details. | ||
4296 | 17 | # | ||
4297 | 18 | # You should have received a copy of the GNU Affero General Public License | ||
4298 | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
4299 | 20 | # | ||
4300 | 21 | ############################################################################## | ||
4301 | 22 | from openerp.osv import orm | ||
4302 | 23 | |||
4303 | 24 | |||
4304 | 25 | account_concept_mapping = { | ||
4305 | 26 | '01': '4300%00', | ||
4306 | 27 | '02': '4100%00', | ||
4307 | 28 | '03': '4100%00', | ||
4308 | 29 | '04': '4300%00', | ||
4309 | 30 | '05': '6800%00', | ||
4310 | 31 | '06': '4010%00', | ||
4311 | 32 | '07': '5700%00', | ||
4312 | 33 | '08': '6800%00', | ||
4313 | 34 | '09': '2510%00', | ||
4314 | 35 | '10': '5700%00', | ||
4315 | 36 | '11': '5700%00', | ||
4316 | 37 | '12': '5700%00', | ||
4317 | 38 | '13': '5730%00', | ||
4318 | 39 | '14': '4300%00', | ||
4319 | 40 | '15': '6400%00', | ||
4320 | 41 | '16': '6690%00', | ||
4321 | 42 | '17': '6690%00', | ||
4322 | 43 | '98': '5720%00', | ||
4323 | 44 | '99': '5720%00', | ||
4324 | 45 | } | ||
4325 | 46 | |||
4326 | 47 | |||
4327 | 48 | class AccountStatementProfile(orm.Model): | ||
4328 | 49 | _inherit = "account.statement.profile" | ||
4329 | 50 | |||
4330 | 51 | def prepare_statement_lines_vals(self, cr, uid, parser_vals, statement_id, | ||
4331 | 52 | context): | ||
4332 | 53 | """Complete values filling default account for each type of C43 | ||
4333 | 54 | operation. | ||
4334 | 55 | """ | ||
4335 | 56 | vals = super(AccountStatementProfile, self | ||
4336 | 57 | ).prepare_statement_lines_vals( | ||
4337 | 58 | cr, uid, parser_vals, statement_id, context) | ||
4338 | 59 | if vals.get('c43_concept'): | ||
4339 | 60 | account_obj = self.pool['account.account'] | ||
4340 | 61 | account_ids = account_obj.search( | ||
4341 | 62 | cr, uid, | ||
4342 | 63 | [('code', 'like', | ||
4343 | 64 | account_concept_mapping[vals['c43_concept']])], | ||
4344 | 65 | context=context) | ||
4345 | 66 | if account_ids: | ||
4346 | 67 | vals['account_id'] = account_ids[0] | ||
4347 | 68 | return vals | ||
4348 | 0 | \ No newline at end of file | 69 | \ No newline at end of file |
4349 | 1 | 70 | ||
4350 | === added file 'l10n_es_bank_statement/models/c43_account_statement_profile.py' | |||
4351 | --- l10n_es_bank_statement/models/c43_account_statement_profile.py 1970-01-01 00:00:00 +0000 | |||
4352 | +++ l10n_es_bank_statement/models/c43_account_statement_profile.py 2014-06-11 10:49:43 +0000 | |||
4353 | @@ -0,0 +1,35 @@ | |||
4354 | 1 | # -*- coding: utf-8 -*- | ||
4355 | 2 | ############################################################################## | ||
4356 | 3 | # | ||
4357 | 4 | # Copyright (c) All rights reserved: | ||
4358 | 5 | # 2013-2014 Servicios Tecnológicos Avanzados (http://serviciosbaeza.com) | ||
4359 | 6 | # Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com> | ||
4360 | 7 | # | ||
4361 | 8 | # This program is free software: you can redistribute it and/or modify | ||
4362 | 9 | # it under the terms of the GNU Affero General Public License as published | ||
4363 | 10 | # by the Free Software Foundation, either version 3 of the License, or | ||
4364 | 11 | # (at your option) any later version. | ||
4365 | 12 | # | ||
4366 | 13 | # This program is distributed in the hope that it will be useful, | ||
4367 | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
4368 | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
4369 | 16 | # GNU Affero General Public License for more details. | ||
4370 | 17 | # | ||
4371 | 18 | # You should have received a copy of the GNU Affero General Public License | ||
4372 | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
4373 | 20 | # | ||
4374 | 21 | ############################################################################## | ||
4375 | 22 | from openerp.tools.translate import _ | ||
4376 | 23 | from openerp.osv import fields, orm | ||
4377 | 24 | |||
4378 | 25 | class AccountStatementProfil(orm.Model): | ||
4379 | 26 | _inherit = "account.statement.profile" | ||
4380 | 27 | |||
4381 | 28 | def get_import_type_selection(self, cr, uid, context=None): | ||
4382 | 29 | """Inherited from parent to add parser.""" | ||
4383 | 30 | selection = super(AccountStatementProfil, self | ||
4384 | 31 | ).get_import_type_selection(cr, uid, | ||
4385 | 32 | context=context) | ||
4386 | 33 | selection.append(('aeb_c43', _('AEB C43 standard'))) | ||
4387 | 34 | return selection | ||
4388 | 35 | |||
4389 | 0 | 36 | ||
4390 | === added file 'l10n_es_bank_statement/models/c43_parser.py' | |||
4391 | --- l10n_es_bank_statement/models/c43_parser.py 1970-01-01 00:00:00 +0000 | |||
4392 | +++ l10n_es_bank_statement/models/c43_parser.py 2014-06-11 10:49:43 +0000 | |||
4393 | @@ -0,0 +1,241 @@ | |||
4394 | 1 | # -*- coding: utf-8 -*- | ||
4395 | 2 | ############################################################################## | ||
4396 | 3 | # | ||
4397 | 4 | # Copyright (c) All rights reserved: | ||
4398 | 5 | # 2009 Zikzakmedia S.L. (http://zikzakmedia.com) | ||
4399 | 6 | # Jordi Esteve <jesteve@zikzakmedia.com> | ||
4400 | 7 | # 2010 Pexego Sistemas Informáticos | ||
4401 | 8 | # Borja López Soilán <borjals@pexego.es> | ||
4402 | 9 | # Alberto Luengo Cabanillas <alberto@pexego.es> | ||
4403 | 10 | # 2013-2014 Servicios Tecnológicos Avanzados (http://serviciosbaeza.com) | ||
4404 | 11 | # Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com> | ||
4405 | 12 | # | ||
4406 | 13 | # This program is free software: you can redistribute it and/or modify | ||
4407 | 14 | # it under the terms of the GNU Affero General Public License as published | ||
4408 | 15 | # by the Free Software Foundation, either version 3 of the License, or | ||
4409 | 16 | # (at your option) any later version. | ||
4410 | 17 | # | ||
4411 | 18 | # This program is distributed in the hope that it will be useful, | ||
4412 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
4413 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
4414 | 21 | # GNU Affero General Public License for more details. | ||
4415 | 22 | # | ||
4416 | 23 | # You should have received a copy of the GNU Affero General Public License | ||
4417 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
4418 | 25 | # | ||
4419 | 26 | ############################################################################## | ||
4420 | 27 | from openerp.osv import orm | ||
4421 | 28 | from openerp.tools.translate import _ | ||
4422 | 29 | from account_statement_base_import.parser import BankStatementImportParser | ||
4423 | 30 | from datetime import datetime | ||
4424 | 31 | |||
4425 | 32 | |||
4426 | 33 | class c43_parser(BankStatementImportParser): | ||
4427 | 34 | """Class for defining parser for AEB C43 file format.""" | ||
4428 | 35 | |||
4429 | 36 | def _process_record_11(self, line): | ||
4430 | 37 | """11 - Registro cabecera de cuenta (obligatorio)""" | ||
4431 | 38 | st_group = { | ||
4432 | 39 | 'entidad':line[2:6], | ||
4433 | 40 | 'oficina': line[6:10], | ||
4434 | 41 | 'cuenta': line[10:20], | ||
4435 | 42 | 'fecha_ini': datetime.strptime(line[20:26], '%y%m%d'), | ||
4436 | 43 | 'fecha_fin': datetime.strptime(line[26:32], '%y%m%d'), | ||
4437 | 44 | 'divisa': line[47:50], | ||
4438 | 45 | 'modalidad': line[50:51], # 1,2 o 3 | ||
4439 | 46 | 'nombre_propietario': line[51:77], | ||
4440 | 47 | 'saldo_ini': float(line[33:45]) + (float(line[45:47]) / 100), | ||
4441 | 48 | 'saldo_fin': 0, | ||
4442 | 49 | 'num_debe': 0, | ||
4443 | 50 | 'debe': 0, | ||
4444 | 51 | 'num_haber': 0, | ||
4445 | 52 | 'haber': 0, | ||
4446 | 53 | 'lines': [], | ||
4447 | 54 | } | ||
4448 | 55 | if line[32:33] == '1': | ||
4449 | 56 | st_group['saldo_ini'] *= -1 | ||
4450 | 57 | return st_group | ||
4451 | 58 | |||
4452 | 59 | def _process_record_22(self, line): | ||
4453 | 60 | """22 - Registro principal de movimiento (obligatorio)""" | ||
4454 | 61 | st_line = { | ||
4455 | 62 | 'of_origen': line[6:10], | ||
4456 | 63 | 'fecha_operación': datetime.strptime(line[10:16], '%y%m%d'), | ||
4457 | 64 | 'fecha_valor': datetime.strptime(line[16:22], '%y%m%d'), | ||
4458 | 65 | 'concepto_c': line[22:24], | ||
4459 | 66 | 'concepto_p': line[24:27], | ||
4460 | 67 | 'importe': (float(line[28:40]) + (float(line[40:42]) / 100)), | ||
4461 | 68 | 'num_documento': line[41:52], | ||
4462 | 69 | 'referencia1': line[52:64].strip(), | ||
4463 | 70 | 'referencia2': line[64:].strip(), | ||
4464 | 71 | 'conceptos': '', | ||
4465 | 72 | } | ||
4466 | 73 | if line[27:28] == '1': | ||
4467 | 74 | st_line['importe'] *= -1 | ||
4468 | 75 | return st_line | ||
4469 | 76 | |||
4470 | 77 | def _process_record_23(self, st_line, line): | ||
4471 | 78 | """23 - Registros complementarios de concepto (opcionales y hasta un | ||
4472 | 79 | máximo de 5)""" | ||
4473 | 80 | if not st_line.get('conceptos'): | ||
4474 | 81 | st_line['conceptos'] = {} | ||
4475 | 82 | st_line['conceptos'][line[2:4]] = (line[4:39].strip(), | ||
4476 | 83 | line[39:].strip()) | ||
4477 | 84 | return st_line | ||
4478 | 85 | |||
4479 | 86 | def _process_record_24(self, st_line, line): | ||
4480 | 87 | """24 - Registro complementario de información de equivalencia del | ||
4481 | 88 | importe (opcional y sin valor contable)""" | ||
4482 | 89 | st_line['divisa_eq'] = line[4:7] | ||
4483 | 90 | st_line['importe_eq'] = float(line[7:19]) + (float(line[19:21]) / 100) | ||
4484 | 91 | return st_line | ||
4485 | 92 | |||
4486 | 93 | def _process_record_33(self, st_group, line): | ||
4487 | 94 | """33 - Registro final de cuenta""" | ||
4488 | 95 | st_group['num_debe'] += int(line[20:25]) | ||
4489 | 96 | st_group['debe'] += float(line[25:37]) + float(line[37:39]) / 100 | ||
4490 | 97 | st_group['num_haber'] += int(line[39:44]) | ||
4491 | 98 | st_group['haber'] += float(line[44:56]) + float(line[56:58]) / 100 | ||
4492 | 99 | st_group['saldo_fin'] += float(line[59:71]) + float(line[71:73]) / 100 | ||
4493 | 100 | if line[58:59] == '1': | ||
4494 | 101 | st_group['saldo_fin'] *= -1 | ||
4495 | 102 | # Group level checks | ||
4496 | 103 | debit_count = 0 | ||
4497 | 104 | debit = 0.0 | ||
4498 | 105 | credit_count = 0 | ||
4499 | 106 | credit = 0.0 | ||
4500 | 107 | for st_line in st_group['lines']: | ||
4501 | 108 | if st_line['importe'] < 0: | ||
4502 | 109 | debit_count += 1 | ||
4503 | 110 | debit -= st_line['importe'] | ||
4504 | 111 | else: | ||
4505 | 112 | credit_count += 1 | ||
4506 | 113 | credit += st_line['importe'] | ||
4507 | 114 | if st_group['num_debe'] != debit_count: | ||
4508 | 115 | raise orm.except_orm(_('Error in C43 file'), | ||
4509 | 116 | _("Number of debit records doesn't match with the defined in " | ||
4510 | 117 | "the last record of account.")) | ||
4511 | 118 | if st_group['num_haber'] != credit_count: | ||
4512 | 119 | raise orm.except_orm(_('Error in C43 file'), | ||
4513 | 120 | _("Number of credit records doesn't match with the defined " | ||
4514 | 121 | "in the last record of account.")) | ||
4515 | 122 | if abs(st_group['debe'] - debit) > 0.005: | ||
4516 | 123 | raise orm.except_orm(_('Error in C43 file'), | ||
4517 | 124 | _("Debit amount doesn't match with the defined in the last " | ||
4518 | 125 | "record of account.")) | ||
4519 | 126 | if abs(st_group['haber'] - credit) > 0.005: | ||
4520 | 127 | raise orm.except_orm(_('Error in C43 file'), | ||
4521 | 128 | _("Credit amount doesn't match with the defined in the last " | ||
4522 | 129 | "record of account.")) | ||
4523 | 130 | # Note: Only perform this check if the balance is defined on the file | ||
4524 | 131 | # record, as some banks may leave it empty (zero) on some circumstances | ||
4525 | 132 | # (like CaixaNova extracts for VISA credit cards). | ||
4526 | 133 | if st_group['saldo_fin']: | ||
4527 | 134 | balance = st_group['saldo_ini'] + credit - debit | ||
4528 | 135 | if abs(st_group['saldo_fin'] - balance) > 0.005: | ||
4529 | 136 | raise orm.except_orm(_('Error in C43 file'), | ||
4530 | 137 | _("Final balance amount = (initial balance + credit " | ||
4531 | 138 | "- debit) doesn't match with the defined in the last " | ||
4532 | 139 | "record of account.")) | ||
4533 | 140 | return st_group | ||
4534 | 141 | |||
4535 | 142 | def _process_record_88(self, st_data, line): | ||
4536 | 143 | """88 - Registro de fin de archivo""" | ||
4537 | 144 | st_data['num_registros'] = int(line[20:26]) | ||
4538 | 145 | # File level checks | ||
4539 | 146 | if st_data['num_registros'] != st_data['_num_records']: | ||
4540 | 147 | raise orm.except_orm(_('Error in C43 file'), | ||
4541 | 148 | _("Number of records doesn't match with the defined in the " | ||
4542 | 149 | "last record.")) | ||
4543 | 150 | return st_data | ||
4544 | 151 | |||
4545 | 152 | @classmethod | ||
4546 | 153 | def parser_for(cls, parser_name): | ||
4547 | 154 | """ | ||
4548 | 155 | Used by the new_bank_statement_parser class factory. | ||
4549 | 156 | @return: True if the providen name is 'aeb_c43'. | ||
4550 | 157 | """ | ||
4551 | 158 | return parser_name == 'aeb_c43' | ||
4552 | 159 | |||
4553 | 160 | def _pre(self, *args, **kwargs): | ||
4554 | 161 | """Decode and re-encode to avoid pg errors on string codification.""" | ||
4555 | 162 | self.filebuffer = self.filebuffer.decode('iso-8859-1').encode('utf-8') | ||
4556 | 163 | |||
4557 | 164 | def _parse(self, *args, **kwargs): | ||
4558 | 165 | """Launch the parsing itself.""" | ||
4559 | 166 | # st_data will contain data read from the file | ||
4560 | 167 | st_data = { | ||
4561 | 168 | '_num_records': 0, # Number of records really counted | ||
4562 | 169 | 'groups': [], # Info about each of the groups (account groups) | ||
4563 | 170 | } | ||
4564 | 171 | for raw_line in self.filebuffer.split("\n"): | ||
4565 | 172 | if not raw_line: | ||
4566 | 173 | continue | ||
4567 | 174 | code = raw_line[0:2] | ||
4568 | 175 | if code == '11': | ||
4569 | 176 | st_group = self._process_record_11(raw_line) | ||
4570 | 177 | st_data['groups'].append(st_group) | ||
4571 | 178 | elif code == '22': | ||
4572 | 179 | st_line = self._process_record_22(raw_line) | ||
4573 | 180 | st_group['lines'].append(st_line) | ||
4574 | 181 | elif code == '23': | ||
4575 | 182 | self._process_record_23(st_line, raw_line) | ||
4576 | 183 | elif code == '24': | ||
4577 | 184 | self._process_record_24(st_line, raw_line) | ||
4578 | 185 | elif code == '33': | ||
4579 | 186 | self._process_record_33(st_group, raw_line) | ||
4580 | 187 | elif code == '88': | ||
4581 | 188 | self._process_record_88(st_data, raw_line) | ||
4582 | 189 | elif ord(raw_line[0]) == 26: | ||
4583 | 190 | # CTRL-Z (^Z), is often used as an end-of-file marker in DOS | ||
4584 | 191 | continue | ||
4585 | 192 | else: | ||
4586 | 193 | raise orm.except_orm( | ||
4587 | 194 | _('Error in C43 file'), | ||
4588 | 195 | _('Record type %s is not valid.') % raw_line[0:2]) | ||
4589 | 196 | # Update the record counter | ||
4590 | 197 | st_data['_num_records'] += 1 | ||
4591 | 198 | self.result_row_list = [] | ||
4592 | 199 | for st_group in st_data['groups']: | ||
4593 | 200 | self.result_row_list += st_group['lines'] | ||
4594 | 201 | return True | ||
4595 | 202 | |||
4596 | 203 | def _validate(self, *args, **kwargs): | ||
4597 | 204 | """Nothing to do here.""" | ||
4598 | 205 | return True | ||
4599 | 206 | |||
4600 | 207 | def get_st_line_vals(self, line, *args, **kwargs): | ||
4601 | 208 | """ | ||
4602 | 209 | This method must return a dict of vals that can be passed to create | ||
4603 | 210 | method of statement line in order to record it. It is the | ||
4604 | 211 | responsibility of every parser to give this dict of vals, so each one | ||
4605 | 212 | can implement his own way of recording the lines. | ||
4606 | 213 | :param: line: a dict of vals that represent a line of | ||
4607 | 214 | result_row_list | ||
4608 | 215 | :return: dict of values to give to the create method of statement | ||
4609 | 216 | line | ||
4610 | 217 | """ | ||
4611 | 218 | vals = { | ||
4612 | 219 | 'name': line['conceptos'], | ||
4613 | 220 | 'date': line['fecha_operación'], | ||
4614 | 221 | 'amount': line['importe'], | ||
4615 | 222 | 'label': line['concepto_p'], | ||
4616 | 223 | 'c43_concept': line['concepto_c'], | ||
4617 | 224 | } | ||
4618 | 225 | # Discard references like '00000000' | ||
4619 | 226 | try: | ||
4620 | 227 | ref1 = int(line['referencia1']) | ||
4621 | 228 | except: | ||
4622 | 229 | ref1 = line['referencia1'] | ||
4623 | 230 | try: | ||
4624 | 231 | ref2 = int(line['referencia2']) | ||
4625 | 232 | except: | ||
4626 | 233 | ref2 = line['referencia2'] | ||
4627 | 234 | if not ref1: | ||
4628 | 235 | vals['ref'] = line['referencia2'] or '/' | ||
4629 | 236 | elif not ref2: | ||
4630 | 237 | vals['ref'] = line['referencia1'] or '/' | ||
4631 | 238 | else: | ||
4632 | 239 | vals['ref'] = "%s / %s" % (line['referencia1'], | ||
4633 | 240 | line['referencia2']) | ||
4634 | 241 | return vals | ||
4635 | 0 | 242 | ||
4636 | === added directory 'l10n_es_bank_statement/static' | |||
4637 | === added symlink 'l10n_es_bank_statement/static/description' | |||
4638 | === target is u'src/img' | |||
4639 | === added directory 'l10n_es_bank_statement/static/src' | |||
4640 | === added directory 'l10n_es_bank_statement/static/src/img' | |||
4641 | === added file 'l10n_es_bank_statement/static/src/img/icon.png' | |||
4642 | 1 | Binary files l10n_es_bank_statement/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and l10n_es_bank_statement/static/src/img/icon.png 2014-06-11 10:49:43 +0000 differ | 243 | Binary files l10n_es_bank_statement/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and l10n_es_bank_statement/static/src/img/icon.png 2014-06-11 10:49:43 +0000 differ |
4643 | === added file 'l10n_es_bank_statement/static/src/img/icon.svg' | |||
4644 | --- l10n_es_bank_statement/static/src/img/icon.svg 1970-01-01 00:00:00 +0000 | |||
4645 | +++ l10n_es_bank_statement/static/src/img/icon.svg 2014-06-11 10:49:43 +0000 | |||
4646 | @@ -0,0 +1,111 @@ | |||
4647 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
4648 | 2 | <!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
4649 | 3 | |||
4650 | 4 | <svg | ||
4651 | 5 | xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
4652 | 6 | xmlns:cc="http://creativecommons.org/ns#" | ||
4653 | 7 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
4654 | 8 | xmlns:svg="http://www.w3.org/2000/svg" | ||
4655 | 9 | xmlns="http://www.w3.org/2000/svg" | ||
4656 | 10 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
4657 | 11 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
4658 | 12 | height="128" | ||
4659 | 13 | id="svg1" | ||
4660 | 14 | inkscape:export-filename="icon.png" | ||
4661 | 15 | inkscape:export-xdpi="90" | ||
4662 | 16 | inkscape:export-ydpi="90" | ||
4663 | 17 | inkscape:version="0.48.4 r9939" | ||
4664 | 18 | sodipodi:docname="icon.svg" | ||
4665 | 19 | sodipodi:version="0.32" | ||
4666 | 20 | width="128" | ||
4667 | 21 | version="1.1"> | ||
4668 | 22 | <metadata | ||
4669 | 23 | id="metadata3"> | ||
4670 | 24 | <rdf:RDF> | ||
4671 | 25 | <cc:Work | ||
4672 | 26 | rdf:about=""> | ||
4673 | 27 | <dc:title>spain_provinces</dc:title> | ||
4674 | 28 | <dc:description /> | ||
4675 | 29 | <dc:subject> | ||
4676 | 30 | <rdf:Bag> | ||
4677 | 31 | <rdf:li>spain</rdf:li> | ||
4678 | 32 | <rdf:li>geography</rdf:li> | ||
4679 | 33 | </rdf:Bag> | ||
4680 | 34 | </dc:subject> | ||
4681 | 35 | <dc:publisher> | ||
4682 | 36 | <cc:Agent | ||
4683 | 37 | rdf:about="http://www.openclipart.org"> | ||
4684 | 38 | <dc:title>sherrera</dc:title> | ||
4685 | 39 | </cc:Agent> | ||
4686 | 40 | </dc:publisher> | ||
4687 | 41 | <dc:creator> | ||
4688 | 42 | <cc:Agent> | ||
4689 | 43 | <dc:title>sherrera</dc:title> | ||
4690 | 44 | </cc:Agent> | ||
4691 | 45 | </dc:creator> | ||
4692 | 46 | <dc:rights> | ||
4693 | 47 | <cc:Agent> | ||
4694 | 48 | <dc:title>sherrera</dc:title> | ||
4695 | 49 | </cc:Agent> | ||
4696 | 50 | </dc:rights> | ||
4697 | 51 | <dc:date /> | ||
4698 | 52 | <dc:format>image/svg+xml</dc:format> | ||
4699 | 53 | <dc:type | ||
4700 | 54 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
4701 | 55 | <cc:license | ||
4702 | 56 | rdf:resource="http://web.resource.org/cc/PublicDomain" /> | ||
4703 | 57 | <dc:language>en</dc:language> | ||
4704 | 58 | </cc:Work> | ||
4705 | 59 | <cc:License | ||
4706 | 60 | rdf:about="http://web.resource.org/cc/PublicDomain"> | ||
4707 | 61 | <cc:permits | ||
4708 | 62 | rdf:resource="http://web.resource.org/cc/Reproduction" /> | ||
4709 | 63 | <cc:permits | ||
4710 | 64 | rdf:resource="http://web.resource.org/cc/Distribution" /> | ||
4711 | 65 | <cc:permits | ||
4712 | 66 | rdf:resource="http://web.resource.org/cc/DerivativeWorks" /> | ||
4713 | 67 | </cc:License> | ||
4714 | 68 | </rdf:RDF> | ||
4715 | 69 | </metadata> | ||
4716 | 70 | <defs | ||
4717 | 71 | id="defs3" /> | ||
4718 | 72 | <sodipodi:namedview | ||
4719 | 73 | bordercolor="#666666" | ||
4720 | 74 | borderopacity="1.0" | ||
4721 | 75 | id="base" | ||
4722 | 76 | inkscape:current-layer="svg1" | ||
4723 | 77 | inkscape:cx="52.620802" | ||
4724 | 78 | inkscape:cy="47.628061" | ||
4725 | 79 | inkscape:pageopacity="0.0" | ||
4726 | 80 | inkscape:pageshadow="2" | ||
4727 | 81 | inkscape:window-height="1176" | ||
4728 | 82 | inkscape:window-width="1861" | ||
4729 | 83 | inkscape:window-x="59" | ||
4730 | 84 | inkscape:window-y="24" | ||
4731 | 85 | inkscape:zoom="3.6235294" | ||
4732 | 86 | pagecolor="#ffffff" | ||
4733 | 87 | showgrid="false" | ||
4734 | 88 | inkscape:window-maximized="1" | ||
4735 | 89 | fit-margin-top="0" | ||
4736 | 90 | fit-margin-left="0" | ||
4737 | 91 | fit-margin-right="0" | ||
4738 | 92 | fit-margin-bottom="0" /> | ||
4739 | 93 | <g | ||
4740 | 94 | id="layer1" | ||
4741 | 95 | inkscape:groupmode="layer" | ||
4742 | 96 | inkscape:label="Layer 1" | ||
4743 | 97 | transform="translate(-14.567953,-599.45664)" /> | ||
4744 | 98 | <g | ||
4745 | 99 | id="layer1-9" | ||
4746 | 100 | inkscape:label="Layer 1" | ||
4747 | 101 | transform="translate(1400.7975,748.89372)" /> | ||
4748 | 102 | <path | ||
4749 | 103 | style="fill:#015f2d" | ||
4750 | 104 | d="M 0.6788306,66.922259 C 5.3078975,56.177513 22.745306,15.805061 23.477272,14.137528 l 0.970595,-2.211169 6.373007,0.08829 c 4.127513,0.05719 6.449421,0.164701 6.589878,0.305158 0.274057,0.274057 1.025013,-1.533275 -12.465917,30.001848 l -11.198371,26.176264 -6.8732298,0 -6.8732320232942,0 L 0.6788306,66.922259 z M 42.834019,57.061685 42.781502,45.625453 35.767279,45.511875 c -3.85782,-0.06246 -7.037093,-0.131083 -7.065048,-0.152482 -0.02796,-0.0214 -0.05082,-0.136872 -0.05082,-0.256607 0,-0.285615 4.020337,-9.711356 4.393186,-10.299892 0.282176,-0.445406 0.373855,-0.454703 5.012173,-0.508276 l 4.724741,-0.05456 0.05256,-11.131265 0.05256,-11.131263 18.579449,0 c 16.754475,0 18.59157,0.03158 18.702855,0.321595 0.06787,0.176875 0.123408,2.502383 0.123408,5.167794 0,2.66541 -0.05553,4.990918 -0.123408,5.167795 -0.110665,0.288392 -1.417308,0.321917 -12.656096,0.324707 -6.892977,0.0016 -12.648576,0.07668 -12.790217,0.166578 -0.199654,0.12673 -0.245344,1.393916 -0.203311,5.638761 l 0.05422,5.475298 12.695886,0.05238 c 9.846774,0.04062 12.731884,0.109066 12.856293,0.304966 0.2094,0.32973 0.2094,10.340981 0,10.67071 -0.124409,0.195901 -3.009519,0.264338 -12.856293,0.304968 l -12.695886,0.05238 0,5.794358 0,5.794357 12.695886,0.05238 c 9.84466,0.04061 12.732637,0.109105 12.859529,0.304965 0.09,0.138922 0.158008,2.654194 0.151126,5.589494 l -0.01252,5.336907 -18.690507,0 -18.690506,0 -0.05252,-11.436231 z m 42.13447,5.846725 0,-5.589508 12.656096,-0.05237 12.656105,-0.05237 0,-5.794358 0,-5.794358 -12.60528,-0.10165 -12.605267,-0.10165 -0.05409,-5.538677 -0.0541,-5.53868 12.659357,-0.05237 12.65937,-0.05237 0.0541,-5.540218 c 0.0297,-3.04712 0.0297,-5.561383 0,-5.587253 -0.0297,-0.02587 -5.8637,-0.09449 -12.964332,-0.152483 l -12.910227,-0.105435 -0.05414,-5.56539 -0.05414,-5.565388 14.184239,0.111887 c 8.74753,0.069 14.80766,0.199351 15.81072,0.340076 1.3103,0.183831 2.07187,0.453521 3.91754,1.38729 3.17342,1.605498 5.13692,3.100576 6.49225,4.943418 1.91255,2.600451 2.73344,4.537589 3.13287,7.392894 0.39574,2.828888 -0.41856,6.564089 -1.95448,8.965119 -0.81424,1.272859 -3.44577,4.089749 -4.47641,4.791701 -0.38745,0.263895 -0.68227,0.546219 -0.65514,0.627384 0.0272,0.08117 0.77778,0.752839 1.66812,1.492614 0.89034,0.739776 1.88811,1.725501 2.21728,2.190503 0.32916,0.465004 0.85624,1.180135 1.17128,1.589186 0.75798,0.984143 1.11984,2.017167 1.7336,4.948974 0.57632,2.752933 0.54679,4.253167 -0.13624,6.923803 -0.5854,2.288884 -1.63822,4.107331 -3.55485,6.139955 -1.86054,1.973151 -4.13896,3.484131 -6.27841,4.163672 -1.67187,0.53102 -7.86576,0.744686 -21.931163,0.75654 l -10.724647,0.0091 0,-5.589506 z" | ||
4751 | 105 | id="path2996" | ||
4752 | 106 | inkscape:connector-curvature="0" /> | ||
4753 | 107 | <path | ||
4754 | 108 | style="font-size:45.37296295px;font-style:normal;font-weight:bold;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold" | ||
4755 | 109 | d="M 97.0625 81.96875 C 95.467344 81.968784 93.841712 82.076216 92.1875 82.3125 C 90.53327 82.548851 88.871256 82.902398 87.1875 83.375 L 87.1875 89.625 C 88.575859 89.019463 89.971857 88.560194 91.375 88.25 C 92.778125 87.939861 94.157643 87.781277 95.53125 87.78125 C 97.392236 87.781277 98.824615 88.118344 99.84375 88.8125 C 100.86286 89.506709 101.37498 90.511068 101.375 91.78125 C 101.37498 93.154868 100.86114 94.164359 99.8125 94.84375 C 98.763825 95.508413 97.172863 95.84377 95.03125 95.84375 L 91.4375 95.84375 L 91.4375 101.34375 L 94.84375 101.34375 C 97.25122 101.34377 99.055336 101.74846 100.28125 102.53125 C 101.5219 103.29929 102.15623 104.43099 102.15625 105.9375 C 102.15623 107.39972 101.55486 108.5297 100.34375 109.3125 C 99.147375 110.0953 97.416021 110.46875 95.15625 110.46875 C 93.634945 110.46875 92.080364 110.27379 90.5 109.875 C 88.93439 109.46145 87.345138 108.86008 85.75 108.0625 L 85.75 114.625 C 87.418987 115.17149 89.113962 115.57789 90.8125 115.84375 C 92.525793 116.12437 94.238956 116.28125 95.9375 116.28125 C 100.75245 116.28125 104.39535 115.41728 106.90625 113.71875 C 109.41709 112.00545 110.68747 109.52891 110.6875 106.25 C 110.68747 104.0493 110.10429 102.23042 108.9375 100.8125 C 107.78543 99.379841 106.07397 98.388542 103.84375 97.8125 C 105.83765 97.310344 107.35586 96.444666 108.375 95.21875 C 109.39409 93.978104 109.90622 92.372373 109.90625 90.4375 C 109.90622 87.601718 108.8291 85.496915 106.6875 84.09375 C 104.56062 82.675877 101.36051 81.968784 97.0625 81.96875 z M 17.3125 82.5625 L 17.3125 115.625 L 25.40625 115.625 L 25.40625 92.9375 L 37.4375 115.625 L 46.96875 115.625 L 46.96875 82.5625 L 38.875 82.5625 L 38.875 105.25 L 26.84375 82.5625 L 17.3125 82.5625 z M 66.46875 82.5625 L 53.21875 102.28125 L 53.21875 109.59375 L 67.875 109.59375 L 67.875 115.625 L 75.9375 115.625 L 75.9375 109.59375 L 80.65625 109.59375 L 80.65625 103.4375 L 75.9375 103.4375 L 75.9375 82.5625 L 66.46875 82.5625 z M 67.875 89.59375 L 67.875 103.4375 L 58.53125 103.4375 L 67.875 89.59375 z " | ||
4756 | 110 | id="path3058" /> | ||
4757 | 111 | </svg> | ||
4758 | 0 | 112 | ||
4759 | === added directory 'l10n_es_bank_statement/views' | |||
4760 | === added file 'l10n_es_bank_statement/views/account_bank_statement_view.xml' | |||
4761 | --- l10n_es_bank_statement/views/account_bank_statement_view.xml 1970-01-01 00:00:00 +0000 | |||
4762 | +++ l10n_es_bank_statement/views/account_bank_statement_view.xml 2014-06-11 10:49:43 +0000 | |||
4763 | @@ -0,0 +1,20 @@ | |||
4764 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
4765 | 2 | <openerp> | ||
4766 | 3 | <data> | ||
4767 | 4 | |||
4768 | 5 | <record id="view_bank_statement_form_c43" model="ir.ui.view"> | ||
4769 | 6 | <field name="name">account.bank.statement.c43.form</field> | ||
4770 | 7 | <field name="model">account.bank.statement</field> | ||
4771 | 8 | <field name="inherit_id" ref="account.view_bank_statement_form"/> | ||
4772 | 9 | <field name="arch" type="xml"> | ||
4773 | 10 | <xpath expr="//field[@name='line_ids']/tree//field[@name='date']" position="after"> | ||
4774 | 11 | <field name="c43_concept"/> | ||
4775 | 12 | </xpath> | ||
4776 | 13 | <xpath expr="//field[@name='line_ids']/form//field[@name='date']" position="after"> | ||
4777 | 14 | <field name="c43_concept"/> | ||
4778 | 15 | </xpath> | ||
4779 | 16 | </field> | ||
4780 | 17 | </record> | ||
4781 | 18 | |||
4782 | 19 | </data> | ||
4783 | 20 | </openerp> |
Ya he completado el módulo, por lo que se puede pasar a revisar.
Un saludo.