Merge lp:~otherway/sepa-tools/sepa-tools into lp:sepa-tools
- sepa-tools
- Merge into 7.0
Status: | Merged |
---|---|
Merged at revision: | 7 |
Proposed branch: | lp:~otherway/sepa-tools/sepa-tools |
Merge into: | lp:sepa-tools |
Diff against target: |
2188 lines (+1136/-405) 27 files modified
account_payment_export/__openerp__.py (+0/-1) account_payment_export/model/account_payment.py (+1/-0) account_payment_export/view/payment_mode.xml (+0/-31) account_payment_pain_base/banking_export_pain.py (+19/-10) account_payment_pain_base/company.py (+5/-2) account_payment_pain_base/i18n/es.po (+1/-1) account_payment_sepa_credit_transfer/__init__.py (+2/-0) account_payment_sepa_credit_transfer/__openerp__.py (+2/-0) account_payment_sepa_credit_transfer/company.py (+74/-0) account_payment_sepa_credit_transfer/company_view.xml (+22/-0) account_payment_sepa_credit_transfer/i18n/account_banking_sepa_credit_transfer.pot (+0/-207) account_payment_sepa_credit_transfer/i18n/account_payment_sepa_credit_transfer.pot (+335/-0) account_payment_sepa_credit_transfer/i18n/es.po (+134/-24) account_payment_sepa_credit_transfer/payment_type.py (+59/-0) account_payment_sepa_credit_transfer/payment_type.xml (+17/-0) account_payment_sepa_credit_transfer/wizard/export_sepa.py (+9/-2) account_payment_sepa_direct_debit/__init__.py (+1/-0) account_payment_sepa_direct_debit/__openerp__.py (+1/-0) account_payment_sepa_direct_debit/account_banking_sdd.py (+9/-3) account_payment_sepa_direct_debit/company.py (+1/-1) account_payment_sepa_direct_debit/i18n/es.po (+126/-120) account_payment_sepa_direct_debit/report/__init__.py (+24/-0) account_payment_sepa_direct_debit/report/sdd_mandate_report.py (+48/-0) account_payment_sepa_direct_debit/report/sdd_mandate_report.rml (+213/-0) account_payment_sepa_direct_debit/res_partner_bank_view.xml (+11/-0) account_payment_sepa_direct_debit/sdd_report.xml (+14/-0) account_payment_sepa_direct_debit/wizard/export_sdd.py (+8/-3) |
To merge this branch: | bzr merge lp:~otherway/sepa-tools/sepa-tools |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ignacio Ibeas (www.acysos.com) | Approve | ||
Review via email: mp+208136@code.launchpad.net |
Commit message
[FIX]Eliminada vista 'payment_mode.xml' del modulo account_
Description of the change
Eliminada vista que modifica el formulario account_
- 8. By Pedro Rodríguez Gil (Otherway)
-
Added call to set_done method which creates payment account moves
Pedro Rodríguez Gil (Otherway) (pedro-q) wrote : | # |
- 9. By Pedro Rodríguez Gil (Otherway)
-
Added call from direct debit and credit transfer wizards to method "set_done" from payment.order in order to make the neccesary payment account moves when direct payment mode is selected in the payment order
Pedro Rodríguez Gil (Otherway) (pedro-q) wrote : | # |
Removed call to method 'set_done' in 'account_
- 10. By Pedro Rodríguez Gil (Otherway)
-
[FIX]El campo Initiating party issuer no es necesario que este relleno para que se añada a los fiecheros el identificador SEPA del acreedor. Quitada validacion del formato Identificador SEPA del acreedor porque hay bancos como el Sabadell que no admiten el formato al que se obliga.
- 11. By Pedro Rodríguez Gil (Otherway)
-
Actualizacion de traducciones
- 12. By Pedro Rodríguez Gil (Otherway)
-
[FIX]Added search view to res.partner.
bank.tree, missing in res.partner.bank - 13. By Pedro Rodríguez Gil (Otherway)
-
[FIX]Remove default value from sequence for field "unique_
mandate_ reference" in SDD madates, it was getting a new sequence each time you start adding a mandate and loosing it if discard or getting a new one on save. - 14. By Pedro Rodríguez Gil (Otherway)
-
Actualizacion de traducciones
- 15. By Pedro Rodríguez Gil (Otherway)
-
[FIX]Correct sequence generation when creating SDD mandates
- 16. By Pedro Rodríguez Gil (Otherway)
-
Actualizacion de traducciones
Ignacio Ibeas (www.acysos.com) (ignacio-acysos) wrote : | # |
Hello,
What is the reason to remove the mandate sequence?
Greetings
Pedro Rodríguez Gil (Otherway) (pedro-q) wrote : | # |
I didn't removed the mandate sequence, just replaced the default value for mandate_unique field with a slash and added the sequence on create because if set on default value it is getting a new sequence each time you enter the creation form and if discard the sequence is lost, moreover, if you save it is getting a new sequence again, i.e., if the next sequence is RUM00001 when you enter the creation it is got for default value but on save it takes a new sequence again and the mandate is saved with sequence RUM00002. Next one will be saved with RUM00004 and so on.
Hope this explains your answer.
Greetings.
Atentamente,
Pedro Rodríguez Gil
Otherway Creatives, S.L.
<email address hidden>
(+34) 957 000 433
(+34)682 622 967
-------
Este correo y sus archivos asociados son privados y confidenciales, y va dirigido exclusivamente a su destinatario. Si recibe este correo sin ser el destinatario del mismo, le rogamos proceda a su eliminación y lo ponga en conocimiento del emisor. La difusión por cualquier medio del contenido de este correo podría ser sancionada conforme lo previsto a las leyes españolas. No se autoriza la utilización con fines comerciales o para su incorporación a ficheros automatizados de las direcciones del emisor o del destinatario.
El 28/02/2014, a las 10:54, "Ignacio Ibeas \(www.acysos.com\)" <email address hidden> escribió:
Review: Needs Information
Hello,
What is the reason to remove the mandate sequence?
Greetings
--
https:/
You are the owner of lp:~pedro-q/sepa-tools/sepa-tools.
- 17. By Pedro Rodríguez Gil (Otherway)
-
[FIX]Different communication strings for SDD and SCT
- 18. By Pedro Rodríguez Gil (Otherway)
-
[ADDED]Field to store the InitiatingParty ID for SEPA Credit Transfers. In Spain the value for this ID must be a 12 characters string (NIF-suffix), and is not the same as the ID for SDD
- 19. By Pedro Rodríguez Gil (Otherway)
-
[ADDED]Field to store the InitiatingParty ID for SEPA Credit Transfers. In Spain the value for this ID must be a 12 characters string (NIF-suffix), and is not the same as the ID for SDD
- 20. By Pedro Rodríguez Gil (Otherway)
-
Language updates
- 21. By Pedro Rodríguez Gil (Otherway)
-
Language updates
- 22. By Pedro Rodríguez Gil (Otherway)
-
[ADDED]Support for SEPA Category Purpose in Credit Transfers liked to Payment Type.
- 23. By Juan A. Pérez Ruiz (Otherway)
-
Incluido report pdf para el mandato de adeudo directo SEPA
- 24. By Juan A. Pérez Ruiz (Otherway)
-
Incluido report pdf para el mandato de adeudo directo SEPA
Ignacio Ibeas (www.acysos.com) (ignacio-acysos) wrote : | # |
Puedes quitar el bzrignore, antes de aprobar el merge.
Este cambio nos va a provocar separarnos de banking-addons, las mejoras son muy útiles.
Saludos
- 25. By Pedro Rodríguez Gil (Otherway)
-
Removed .brzignore file
- 26. By Pedro Rodríguez Gil (Otherway)
-
Main branch changes
Pedro Rodríguez Gil (Otherway) (pedro-q) wrote : | # |
Ya está quitado el .bzrignore en la rev. 25.
Saludos.
Ignacio Ibeas (www.acysos.com) (ignacio-acysos) : | # |
Preview Diff
1 | === modified file 'account_payment_export/__openerp__.py' |
2 | --- account_payment_export/__openerp__.py 2014-02-09 12:20:04 +0000 |
3 | +++ account_payment_export/__openerp__.py 2014-03-13 16:55:50 +0000 |
4 | @@ -40,7 +40,6 @@ |
5 | 'data': [ |
6 | 'view/account_payment.xml', |
7 | 'view/bank_payment_manual.xml', |
8 | - 'view/payment_mode.xml', |
9 | 'data/payment_type.xml', |
10 | ], |
11 | 'description': ''' |
12 | |
13 | === modified file 'account_payment_export/model/account_payment.py' |
14 | --- account_payment_export/model/account_payment.py 2014-02-09 12:20:04 +0000 |
15 | +++ account_payment_export/model/account_payment.py 2014-03-13 16:55:50 +0000 |
16 | @@ -39,6 +39,7 @@ |
17 | """ |
18 | if context == None: |
19 | context = {} |
20 | + |
21 | result = {} |
22 | orders = self.browse(cr, uid, ids, context) |
23 | order = orders[0] |
24 | |
25 | === removed file 'account_payment_export/view/payment_mode.xml' |
26 | --- account_payment_export/view/payment_mode.xml 2014-02-09 12:20:04 +0000 |
27 | +++ account_payment_export/view/payment_mode.xml 1970-01-01 00:00:00 +0000 |
28 | @@ -1,31 +0,0 @@ |
29 | -<?xml version="1.0" encoding="utf-8"?> |
30 | -<openerp> |
31 | - <data> |
32 | - |
33 | - <!-- |
34 | - Add the payment mode type and transfer settings |
35 | - --> |
36 | - <record id="view_payment_mode_form_inherit" model="ir.ui.view"> |
37 | - <field name="name">payment.mode.form.inherit</field> |
38 | - <field name="model">payment.mode</field> |
39 | - <field name="inherit_id" ref="account_payment.view_payment_mode_form"/> |
40 | - <field name="arch" type="xml"> |
41 | - <field name="company_id" position="after"> |
42 | - <field name="type"/> |
43 | - </field> |
44 | - </field> |
45 | - </record> |
46 | - |
47 | - <record id="view_payment_mode_tree_inherit" model="ir.ui.view"> |
48 | - <field name="name">payment.mode.tree.inherit</field> |
49 | - <field name="model">payment.mode</field> |
50 | - <field name="inherit_id" ref="account_payment.view_payment_mode_tree"/> |
51 | - <field name="arch" type="xml"> |
52 | - <field name="company_id" position="after"> |
53 | - <field name="type"/> |
54 | - </field> |
55 | - </field> |
56 | - </record> |
57 | - |
58 | - </data> |
59 | -</openerp> |
60 | |
61 | === modified file 'account_payment_pain_base/banking_export_pain.py' |
62 | --- account_payment_pain_base/banking_export_pain.py 2014-02-09 12:20:04 +0000 |
63 | +++ account_payment_pain_base/banking_export_pain.py 2014-03-13 16:55:50 +0000 |
64 | @@ -241,7 +241,13 @@ |
65 | sequence_type_2_14 = etree.SubElement( |
66 | payment_type_info_2_6, 'SeqTp') |
67 | sequence_type_2_14.text = sequence_type |
68 | - |
69 | + # Set CtgyPurp for pain.001.001.002 and pain.001.001.003 |
70 | + if gen_args.get('pain_flavor') == 'pain.001.001.02' or gen_args.get('pain_flavor') == 'pain.001.001.03' or gen_args.get('pain_flavor') == 'pain.001.001.04' or gen_args.get('pain_flavor') == 'pain.001.001.05': |
71 | + category_purpose_2_14 = etree.SubElement( |
72 | + payment_type_info_2_6, 'CtgyPurp') |
73 | + category_purpose_code_2_14 = etree.SubElement( |
74 | + category_purpose_2_14, 'Cd') |
75 | + category_purpose_code_2_14.text = gen_args.get('category_purpose_code') |
76 | if gen_args['payment_method'] == 'DD': |
77 | request_date_tag = 'ReqdColltnDt' |
78 | else: |
79 | @@ -265,18 +271,21 @@ |
80 | _get_initiating_party_identifier( |
81 | cr, uid, |
82 | gen_args['sepa_export'].payment_order_ids[0].company_id.id, |
83 | + gen_args['sepa_export'].payment_order_ids[0], |
84 | context=context) |
85 | initiating_party_issuer = gen_args['sepa_export'].\ |
86 | payment_order_ids[0].company_id.initiating_party_issuer |
87 | - if initiating_party_identifier and initiating_party_issuer: |
88 | + if initiating_party_identifier or initiating_party_issuer: |
89 | iniparty_id = etree.SubElement(initiating_party_1_8, 'Id') |
90 | iniparty_org_id = etree.SubElement(iniparty_id, 'OrgId') |
91 | iniparty_org_other = etree.SubElement(iniparty_org_id, 'Othr') |
92 | - iniparty_org_other_id = etree.SubElement(iniparty_org_other, 'Id') |
93 | - iniparty_org_other_id.text = initiating_party_identifier |
94 | - iniparty_org_other_issuer = etree.SubElement( |
95 | - iniparty_org_other, 'Issr') |
96 | - iniparty_org_other_issuer.text = initiating_party_issuer |
97 | + if initiating_party_identifier: |
98 | + iniparty_org_other_id = etree.SubElement(iniparty_org_other, 'Id') |
99 | + iniparty_org_other_id.text = initiating_party_identifier |
100 | + if initiating_party_issuer: |
101 | + iniparty_org_other_issuer = etree.SubElement( |
102 | + iniparty_org_other, 'Issr') |
103 | + iniparty_org_other_issuer.text = initiating_party_issuer |
104 | return True |
105 | |
106 | def generate_party_agent( |
107 | @@ -365,7 +374,7 @@ |
108 | return True |
109 | |
110 | def generate_remittance_info_block( |
111 | - self, cr, uid, parent_node, line, gen_args, context=None): |
112 | + self, cr, uid, parent_node, line, communication_str, gen_args, context=None): |
113 | |
114 | remittance_info_2_91 = etree.SubElement( |
115 | parent_node, 'RmtInf') |
116 | @@ -375,7 +384,7 @@ |
117 | remittance_info_unstructured_2_99.text = \ |
118 | self._prepare_field( |
119 | cr, uid, 'Remittance Unstructured Information', |
120 | - 'line.communication', {'line': line}, 140, |
121 | + communication_str, {'line': line}, 140, |
122 | gen_args=gen_args, |
123 | context=context) |
124 | else: |
125 | @@ -416,7 +425,7 @@ |
126 | creditor_reference_2_126.text = \ |
127 | self._prepare_field( |
128 | cr, uid, 'Creditor Structured Reference', |
129 | - 'line.communication', {'line': line}, 35, |
130 | + communication_str, {'line': line}, 35, |
131 | gen_args=gen_args, |
132 | context=context) |
133 | return True |
134 | |
135 | === modified file 'account_payment_pain_base/company.py' |
136 | --- account_payment_pain_base/company.py 2014-02-13 16:14:14 +0000 |
137 | +++ account_payment_pain_base/company.py 2014-03-13 16:55:50 +0000 |
138 | @@ -36,7 +36,7 @@ |
139 | } |
140 | |
141 | def _get_initiating_party_identifier( |
142 | - self, cr, uid, company_id, context=None): |
143 | + self, cr, uid, company_id, payment_order, context=None): |
144 | '''The code here may be different from one country to another. |
145 | If you need to add support for an additionnal country, you can |
146 | contribute your code here or inherit this function in the |
147 | @@ -48,7 +48,10 @@ |
148 | if company_vat and company_vat[0:2].upper() in ['BE']: |
149 | party_identifier = company_vat[2:].replace(' ', '') |
150 | if company_vat and company_vat[0:2].upper() in ['ES']: |
151 | - party_identifier = company.sepa_creditor_identifier |
152 | + if payment_order.type == 'receivable': |
153 | + party_identifier = company.sepa_creditor_identifier |
154 | + elif payment_order.type == 'payable': |
155 | + party_identifier = company.sepa_debtor_identifier |
156 | return party_identifier |
157 | |
158 | def _initiating_party_issuer_default(self, cr, uid, context=None): |
159 | |
160 | === modified file 'account_payment_pain_base/i18n/es.po' |
161 | --- account_payment_pain_base/i18n/es.po 2014-02-09 12:20:04 +0000 |
162 | +++ account_payment_pain_base/i18n/es.po 2014-03-13 16:55:50 +0000 |
163 | @@ -50,7 +50,7 @@ |
164 | #. module: account_payment_pain_base |
165 | #: help:res.company,initiating_party_issuer:0 |
166 | msgid "This will be used as the 'Initiating Party Issuer' in the PAIN files generated by OpenERP." |
167 | -msgstr "This will be used as the 'Initiating Party Issuer' in the PAIN files generated by OpenERP." |
168 | +msgstr "Se usará para el campo 'Initiating Party Issuer' de los ficheros PAIN generados." |
169 | |
170 | #. module: account_payment_pain_base |
171 | #: selection:payment.line,priority:0 |
172 | |
173 | === modified file 'account_payment_sepa_credit_transfer/__init__.py' |
174 | --- account_payment_sepa_credit_transfer/__init__.py 2014-02-09 12:20:04 +0000 |
175 | +++ account_payment_sepa_credit_transfer/__init__.py 2014-03-13 16:55:50 +0000 |
176 | @@ -20,5 +20,7 @@ |
177 | # |
178 | ############################################################################## |
179 | |
180 | +from . import company |
181 | from . import wizard |
182 | from . import account_banking_sepa |
183 | +from . import payment_type |
184 | |
185 | === modified file 'account_payment_sepa_credit_transfer/__openerp__.py' |
186 | --- account_payment_sepa_credit_transfer/__openerp__.py 2014-02-17 22:46:23 +0000 |
187 | +++ account_payment_sepa_credit_transfer/__openerp__.py 2014-03-13 16:55:50 +0000 |
188 | @@ -34,6 +34,8 @@ |
189 | # }, |
190 | 'data': [ |
191 | 'account_banking_sepa_view.xml', |
192 | + 'company_view.xml', |
193 | + 'payment_type.xml', |
194 | 'wizard/export_sepa_view.xml', |
195 | 'data/payment_type_sepa_sct.xml', |
196 | 'security/ir.model.access.csv', |
197 | |
198 | === added file 'account_payment_sepa_credit_transfer/company.py' |
199 | --- account_payment_sepa_credit_transfer/company.py 1970-01-01 00:00:00 +0000 |
200 | +++ account_payment_sepa_credit_transfer/company.py 2014-03-13 16:55:50 +0000 |
201 | @@ -0,0 +1,74 @@ |
202 | +############################################################################## |
203 | +# |
204 | +# SEPA Direct Debit module for OpenERP |
205 | +# Copyright (C) 2013 Akretion (http://www.akretion.com) |
206 | +# @author: Alexis de Lattre <alexis.delattre@akretion.com> |
207 | +# |
208 | +# This program is free software: you can redistribute it and/or modify |
209 | +# it under the terms of the GNU Affero General Public License as |
210 | +# published by the Free Software Foundation, either version 3 of the |
211 | +# License, or (at your option) any later version. |
212 | +# |
213 | +# This program is distributed in the hope that it will be useful, |
214 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
215 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
216 | +# GNU Affero General Public License for more details. |
217 | +# |
218 | +# You should have received a copy of the GNU Affero General Public License |
219 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
220 | +# |
221 | +############################################################################## |
222 | + |
223 | +from openerp.osv import orm, fields |
224 | +import logging |
225 | + |
226 | +logger = logging.getLogger(__name__) |
227 | + |
228 | + |
229 | +class res_company(orm.Model): |
230 | + _inherit = 'res.company' |
231 | + |
232 | + _columns = { |
233 | + 'sepa_debtor_identifier': fields.char( |
234 | + 'SEPA Credit Transfer Identifier', size=12, |
235 | + help="Enter the Identifier that has been attributed " |
236 | + "to your company to make SEPA Credit Transfers. This identifier " |
237 | + "is composed of :\n- your VAT (9 digits)\n- a " |
238 | + "3-digits subfix (commonly is 000)"), |
239 | + } |
240 | + |
241 | + def is_sepa_debtor_identifier_valid( |
242 | + self, cr, uid, sepa_debtor_identifier, context=None): |
243 | + """Check if SEPA Credit Transfer Identifier is valid |
244 | + @param sepa_debtor_identifier: SEPA Credit Transfer Identifier as str |
245 | + or unicode |
246 | + @return: True if valid, False otherwise |
247 | + """ |
248 | + if not isinstance(sepa_debtor_identifier, (str, unicode)): |
249 | + return False |
250 | + try: |
251 | + sci_str = str(sepa_debtor_identifier) |
252 | + except: |
253 | + logger.warning( |
254 | + "SEPA Credit Transfer ID should contain only ASCII caracters.") |
255 | + return False |
256 | + sci = sci_str.lower() |
257 | + if len(sci) == 12: |
258 | + return True |
259 | + else: |
260 | + return False |
261 | + |
262 | + |
263 | + def _check_sepa_debtor_identifier(self, cr, uid, ids): |
264 | + for company in self.browse(cr, uid, ids): |
265 | + if company.sepa_debtor_identifier: |
266 | + if not self.is_sepa_debtor_identifier_valid( |
267 | + cr, uid, company.sepa_debtor_identifier): |
268 | + return False |
269 | + return True |
270 | + |
271 | + _constraints = [ |
272 | + (_check_sepa_debtor_identifier, |
273 | + "Invalid SEPA Credit Transfer Identifier.", |
274 | + ['sepa_debtor_identifier']), |
275 | + ] |
276 | |
277 | === added file 'account_payment_sepa_credit_transfer/company_view.xml' |
278 | --- account_payment_sepa_credit_transfer/company_view.xml 1970-01-01 00:00:00 +0000 |
279 | +++ account_payment_sepa_credit_transfer/company_view.xml 2014-03-13 16:55:50 +0000 |
280 | @@ -0,0 +1,22 @@ |
281 | +<?xml version="1.0" encoding="utf-8"?> |
282 | +<!-- |
283 | + Copyright (C) 2013 Akretion (http://www.akretion.com) |
284 | + @author: Alexis de Lattre <alexis.delattre@akretion.com> |
285 | + The licence is in the file __openerp__.py |
286 | +--> |
287 | +<openerp> |
288 | +<data> |
289 | + |
290 | +<record id="sct_res_company_form" model="ir.ui.view"> |
291 | + <field name="name">sepa_credit_transfer.res.company.form</field> |
292 | + <field name="model">res.company</field> |
293 | + <field name="inherit_id" ref="account_payment_pain_base.view_company_form"/> |
294 | + <field name="arch" type="xml"> |
295 | + <group name="pain" position="inside"> |
296 | + <field name="sepa_debtor_identifier"/> |
297 | + </group> |
298 | + </field> |
299 | +</record> |
300 | + |
301 | +</data> |
302 | +</openerp> |
303 | |
304 | === removed file 'account_payment_sepa_credit_transfer/i18n/account_banking_sepa_credit_transfer.pot' |
305 | --- account_payment_sepa_credit_transfer/i18n/account_banking_sepa_credit_transfer.pot 2014-02-09 12:20:04 +0000 |
306 | +++ account_payment_sepa_credit_transfer/i18n/account_banking_sepa_credit_transfer.pot 1970-01-01 00:00:00 +0000 |
307 | @@ -1,207 +0,0 @@ |
308 | -# Translation of OpenERP Server. |
309 | -# This file contains the translation of the following modules: |
310 | -# * account_banking_sepa_credit_transfer |
311 | -# |
312 | -msgid "" |
313 | -msgstr "" |
314 | -"Project-Id-Version: OpenERP Server 7.0\n" |
315 | -"Report-Msgid-Bugs-To: \n" |
316 | -"POT-Creation-Date: 2013-12-23 22:49+0000\n" |
317 | -"PO-Revision-Date: 2013-12-23 22:49+0000\n" |
318 | -"Last-Translator: <>\n" |
319 | -"Language-Team: \n" |
320 | -"MIME-Version: 1.0\n" |
321 | -"Content-Type: text/plain; charset=UTF-8\n" |
322 | -"Content-Transfer-Encoding: \n" |
323 | -"Plural-Forms: \n" |
324 | - |
325 | -#. module: account_banking_sepa_credit_transfer |
326 | -#: selection:banking.export.sepa.wizard,state:0 |
327 | -msgid "Create" |
328 | -msgstr "" |
329 | - |
330 | -#. module: account_banking_sepa_credit_transfer |
331 | -#: field:banking.export.sepa,nb_transactions:0 |
332 | -#: field:banking.export.sepa.wizard,nb_transactions:0 |
333 | -msgid "Number of Transactions" |
334 | -msgstr "" |
335 | - |
336 | -#. module: account_banking_sepa_credit_transfer |
337 | -#: field:banking.export.sepa,filename:0 |
338 | -#: field:banking.export.sepa.wizard,filename:0 |
339 | -msgid "Filename" |
340 | -msgstr "" |
341 | - |
342 | -#. module: account_banking_sepa_credit_transfer |
343 | -#: field:banking.export.sepa,state:0 |
344 | -#: field:banking.export.sepa.wizard,state:0 |
345 | -msgid "State" |
346 | -msgstr "" |
347 | - |
348 | -#. module: account_banking_sepa_credit_transfer |
349 | -#: selection:banking.export.sepa,state:0 |
350 | -msgid "Draft" |
351 | -msgstr "" |
352 | - |
353 | -#. module: account_banking_sepa_credit_transfer |
354 | -#: help:banking.export.sepa.wizard,charge_bearer:0 |
355 | -msgid "Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the debtor side are to be borne by the debtor, transaction charges on the creditor side are to be borne by the creditor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor." |
356 | -msgstr "" |
357 | - |
358 | -#. module: account_banking_sepa_credit_transfer |
359 | -#: selection:banking.export.sepa,charge_bearer:0 |
360 | -#: selection:banking.export.sepa.wizard,charge_bearer:0 |
361 | -msgid "Shared" |
362 | -msgstr "" |
363 | - |
364 | -#. module: account_banking_sepa_credit_transfer |
365 | -#: field:banking.export.sepa,batch_booking:0 |
366 | -#: field:banking.export.sepa.wizard,batch_booking:0 |
367 | -msgid "Batch Booking" |
368 | -msgstr "" |
369 | - |
370 | -#. module: account_banking_sepa_credit_transfer |
371 | -#: selection:banking.export.sepa,state:0 |
372 | -msgid "Sent" |
373 | -msgstr "" |
374 | - |
375 | -#. module: account_banking_sepa_credit_transfer |
376 | -#: model:ir.model,name:account_banking_sepa_credit_transfer.model_banking_export_sepa_wizard |
377 | -msgid "Export SEPA Credit Transfer File" |
378 | -msgstr "" |
379 | - |
380 | -#. module: account_banking_sepa_credit_transfer |
381 | -#: view:banking.export.sepa:0 |
382 | -msgid "SEPA Credit Transfer" |
383 | -msgstr "" |
384 | - |
385 | -#. module: account_banking_sepa_credit_transfer |
386 | -#: selection:banking.export.sepa.wizard,state:0 |
387 | -msgid "Finish" |
388 | -msgstr "" |
389 | - |
390 | -#. module: account_banking_sepa_credit_transfer |
391 | -#: selection:banking.export.sepa,state:0 |
392 | -msgid "Reconciled" |
393 | -msgstr "" |
394 | - |
395 | -#. module: account_banking_sepa_credit_transfer |
396 | -#: selection:banking.export.sepa,charge_bearer:0 |
397 | -#: selection:banking.export.sepa.wizard,charge_bearer:0 |
398 | -msgid "Following Service Level" |
399 | -msgstr "" |
400 | - |
401 | -#. module: account_banking_sepa_credit_transfer |
402 | -#: selection:banking.export.sepa,charge_bearer:0 |
403 | -#: selection:banking.export.sepa.wizard,charge_bearer:0 |
404 | -msgid "Borne by Creditor" |
405 | -msgstr "" |
406 | - |
407 | -#. module: account_banking_sepa_credit_transfer |
408 | -#: view:banking.export.sepa.wizard:0 |
409 | -msgid "Validate" |
410 | -msgstr "" |
411 | - |
412 | -#. module: account_banking_sepa_credit_transfer |
413 | -#: view:banking.export.sepa.wizard:0 |
414 | -msgid "Generate" |
415 | -msgstr "" |
416 | - |
417 | -#. module: account_banking_sepa_credit_transfer |
418 | -#: selection:banking.export.sepa,charge_bearer:0 |
419 | -#: selection:banking.export.sepa.wizard,charge_bearer:0 |
420 | -msgid "Borne by Debtor" |
421 | -msgstr "" |
422 | - |
423 | -#. module: account_banking_sepa_credit_transfer |
424 | -#: code:addons/account_banking_sepa_credit_transfer/wizard/export_sepa.py:128 |
425 | -#: code:addons/account_banking_sepa_credit_transfer/wizard/export_sepa.py:245 |
426 | -#, python-format |
427 | -msgid "Error:" |
428 | -msgstr "" |
429 | - |
430 | -#. module: account_banking_sepa_credit_transfer |
431 | -#: field:banking.export.sepa,total_amount:0 |
432 | -#: field:banking.export.sepa.wizard,total_amount:0 |
433 | -msgid "Total Amount" |
434 | -msgstr "" |
435 | - |
436 | -#. module: account_banking_sepa_credit_transfer |
437 | -#: field:banking.export.sepa,charge_bearer:0 |
438 | -#: field:banking.export.sepa.wizard,charge_bearer:0 |
439 | -msgid "Charge Bearer" |
440 | -msgstr "" |
441 | - |
442 | -#. module: account_banking_sepa_credit_transfer |
443 | -#: view:banking.export.sepa.wizard:0 |
444 | -msgid "SEPA File Generation" |
445 | -msgstr "" |
446 | - |
447 | -#. module: account_banking_sepa_credit_transfer |
448 | -#: model:ir.model,name:account_banking_sepa_credit_transfer.model_banking_export_sepa |
449 | -msgid "SEPA export" |
450 | -msgstr "" |
451 | - |
452 | -#. module: account_banking_sepa_credit_transfer |
453 | -#: code:addons/account_banking_sepa_credit_transfer/wizard/export_sepa.py:246 |
454 | -#, python-format |
455 | -msgid "Missing Bank Account on invoice '%s' (payment order line reference '%s')." |
456 | -msgstr "" |
457 | - |
458 | -#. module: account_banking_sepa_credit_transfer |
459 | -#: field:banking.export.sepa,file:0 |
460 | -#: field:banking.export.sepa.wizard,file_id:0 |
461 | -msgid "SEPA XML File" |
462 | -msgstr "" |
463 | - |
464 | -#. module: account_banking_sepa_credit_transfer |
465 | -#: help:banking.export.sepa,charge_bearer:0 |
466 | -msgid "Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the creditor side are to be borne by the creditor, transaction charges on the debtor side are to be borne by the debtor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor." |
467 | -msgstr "" |
468 | - |
469 | -#. module: account_banking_sepa_credit_transfer |
470 | -#: code:addons/account_banking_sepa_credit_transfer/wizard/export_sepa.py:129 |
471 | -#, python-format |
472 | -msgid "Payment Type Code '%s' is not supported. The only Payment Type Codes supported for SEPA Credit Transfers are 'pain.001.001.02', 'pain.001.001.03', 'pain.001.001.04' and 'pain.001.001.05'." |
473 | -msgstr "" |
474 | - |
475 | -#. module: account_banking_sepa_credit_transfer |
476 | -#: view:banking.export.sepa:0 |
477 | -#: field:banking.export.sepa,payment_order_ids:0 |
478 | -#: field:banking.export.sepa.wizard,payment_order_ids:0 |
479 | -msgid "Payment Orders" |
480 | -msgstr "" |
481 | - |
482 | -#. module: account_banking_sepa_credit_transfer |
483 | -#: view:banking.export.sepa:0 |
484 | -msgid "General Information" |
485 | -msgstr "" |
486 | - |
487 | -#. module: account_banking_sepa_credit_transfer |
488 | -#: model:ir.actions.act_window,name:account_banking_sepa_credit_transfer.act_banking_export_sepa_payment_order |
489 | -#: model:ir.actions.act_window,name:account_banking_sepa_credit_transfer.action_account_banking_sepa |
490 | -#: model:ir.ui.menu,name:account_banking_sepa_credit_transfer.menu_account_banking_sepa |
491 | -msgid "SEPA Credit Transfer Files" |
492 | -msgstr "" |
493 | - |
494 | -#. module: account_banking_sepa_credit_transfer |
495 | -#: help:banking.export.sepa,batch_booking:0 |
496 | -#: help:banking.export.sepa.wizard,batch_booking:0 |
497 | -msgid "If true, the bank statement will display only one debit line for all the wire transfers of the SEPA XML file ; if false, the bank statement will display one debit line per wire transfer of the SEPA XML file." |
498 | -msgstr "" |
499 | - |
500 | -#. module: account_banking_sepa_credit_transfer |
501 | -#: field:banking.export.sepa.wizard,file:0 |
502 | -msgid "File" |
503 | -msgstr "" |
504 | - |
505 | -#. module: account_banking_sepa_credit_transfer |
506 | -#: view:banking.export.sepa.wizard:0 |
507 | -msgid "Cancel" |
508 | -msgstr "" |
509 | - |
510 | -#. module: account_banking_sepa_credit_transfer |
511 | -#: field:banking.export.sepa,create_date:0 |
512 | -msgid "Generation Date" |
513 | -msgstr "" |
514 | - |
515 | |
516 | === added file 'account_payment_sepa_credit_transfer/i18n/account_payment_sepa_credit_transfer.pot' |
517 | --- account_payment_sepa_credit_transfer/i18n/account_payment_sepa_credit_transfer.pot 1970-01-01 00:00:00 +0000 |
518 | +++ account_payment_sepa_credit_transfer/i18n/account_payment_sepa_credit_transfer.pot 2014-03-13 16:55:50 +0000 |
519 | @@ -0,0 +1,335 @@ |
520 | +# Translation of OpenERP Server. |
521 | +# This file contains the translation of the following modules: |
522 | +# * account_payment_sepa_credit_transfer |
523 | +# |
524 | +msgid "" |
525 | +msgstr "" |
526 | +"Project-Id-Version: OpenERP Server 7.0\n" |
527 | +"Report-Msgid-Bugs-To: \n" |
528 | +"POT-Creation-Date: 2014-03-03 17:08+0000\n" |
529 | +"PO-Revision-Date: 2014-03-03 17:08+0000\n" |
530 | +"Last-Translator: <>\n" |
531 | +"Language-Team: \n" |
532 | +"MIME-Version: 1.0\n" |
533 | +"Content-Type: text/plain; charset=UTF-8\n" |
534 | +"Content-Transfer-Encoding: \n" |
535 | +"Plural-Forms: \n" |
536 | + |
537 | +#. module: account_payment_sepa_credit_transfer |
538 | +#: help:payment.type,sepa_category_purpose:0 |
539 | +msgid "Select the appropiate SEPA category for transactions made under this payment type. Only appplicable for SEPA Credit Transfers." |
540 | +msgstr "" |
541 | + |
542 | +#. module: account_payment_sepa_credit_transfer |
543 | +#: selection:payment.type,sepa_category_purpose:0 |
544 | +msgid "[CASH] Transaction is a general cash management instruction." |
545 | +msgstr "" |
546 | + |
547 | +#. module: account_payment_sepa_credit_transfer |
548 | +#: selection:banking.export.sepa.wizard,state:0 |
549 | +msgid "Create" |
550 | +msgstr "" |
551 | + |
552 | +#. module: account_payment_sepa_credit_transfer |
553 | +#: field:banking.export.sepa,nb_transactions:0 |
554 | +#: field:banking.export.sepa.wizard,nb_transactions:0 |
555 | +msgid "Number of Transactions" |
556 | +msgstr "" |
557 | + |
558 | +#. module: account_payment_sepa_credit_transfer |
559 | +#: field:banking.export.sepa,filename:0 |
560 | +#: field:banking.export.sepa.wizard,filename:0 |
561 | +msgid "Filename" |
562 | +msgstr "" |
563 | + |
564 | +#. module: account_payment_sepa_credit_transfer |
565 | +#: field:banking.export.sepa,state:0 |
566 | +#: field:banking.export.sepa.wizard,state:0 |
567 | +msgid "State" |
568 | +msgstr "" |
569 | + |
570 | +#. module: account_payment_sepa_credit_transfer |
571 | +#: selection:banking.export.sepa,state:0 |
572 | +msgid "Draft" |
573 | +msgstr "" |
574 | + |
575 | +#. module: account_payment_sepa_credit_transfer |
576 | +#: help:banking.export.sepa.wizard,charge_bearer:0 |
577 | +msgid "Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the debtor side are to be borne by the debtor, transaction charges on the creditor side are to be borne by the creditor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor." |
578 | +msgstr "" |
579 | + |
580 | +#. module: account_payment_sepa_credit_transfer |
581 | +#: selection:banking.export.sepa,charge_bearer:0 |
582 | +#: selection:banking.export.sepa.wizard,charge_bearer:0 |
583 | +msgid "Shared" |
584 | +msgstr "" |
585 | + |
586 | +#. module: account_payment_sepa_credit_transfer |
587 | +#: field:banking.export.sepa,batch_booking:0 |
588 | +#: field:banking.export.sepa.wizard,batch_booking:0 |
589 | +msgid "Batch Booking" |
590 | +msgstr "" |
591 | + |
592 | +#. module: account_payment_sepa_credit_transfer |
593 | +#: selection:payment.type,sepa_category_purpose:0 |
594 | +msgid "[INTC] Transaction is an intra-company payment, ie, a payment between two companies belonging to the same group." |
595 | +msgstr "" |
596 | + |
597 | +#. module: account_payment_sepa_credit_transfer |
598 | +#: selection:banking.export.sepa,state:0 |
599 | +msgid "Sent" |
600 | +msgstr "" |
601 | + |
602 | +#. module: account_payment_sepa_credit_transfer |
603 | +#: model:ir.model,name:account_payment_sepa_credit_transfer.model_banking_export_sepa_wizard |
604 | +msgid "Export SEPA Credit Transfer File" |
605 | +msgstr "" |
606 | + |
607 | +#. module: account_payment_sepa_credit_transfer |
608 | +#: view:banking.export.sepa:0 |
609 | +msgid "SEPA Credit Transfer" |
610 | +msgstr "" |
611 | + |
612 | +#. module: account_payment_sepa_credit_transfer |
613 | +#: selection:banking.export.sepa.wizard,state:0 |
614 | +msgid "Finish" |
615 | +msgstr "" |
616 | + |
617 | +#. module: account_payment_sepa_credit_transfer |
618 | +#: selection:payment.type,sepa_category_purpose:0 |
619 | +msgid "[TRAD] Transaction is related to the payment of a trade finance transaction." |
620 | +msgstr "" |
621 | + |
622 | +#. module: account_payment_sepa_credit_transfer |
623 | +#: selection:banking.export.sepa,state:0 |
624 | +msgid "Reconciled" |
625 | +msgstr "" |
626 | + |
627 | +#. module: account_payment_sepa_credit_transfer |
628 | +#: selection:banking.export.sepa,charge_bearer:0 |
629 | +#: selection:banking.export.sepa.wizard,charge_bearer:0 |
630 | +msgid "Following Service Level" |
631 | +msgstr "" |
632 | + |
633 | +#. module: account_payment_sepa_credit_transfer |
634 | +#: selection:banking.export.sepa,charge_bearer:0 |
635 | +#: selection:banking.export.sepa.wizard,charge_bearer:0 |
636 | +msgid "Borne by Creditor" |
637 | +msgstr "" |
638 | + |
639 | +#. module: account_payment_sepa_credit_transfer |
640 | +#: selection:payment.type,sepa_category_purpose:0 |
641 | +msgid "[TREA] Transaction is related to treasury operations. E.g. financial contract settlement." |
642 | +msgstr "" |
643 | + |
644 | +#. module: account_payment_sepa_credit_transfer |
645 | +#: selection:payment.type,sepa_category_purpose:0 |
646 | +msgid "[PENS] Transaction is the payment of pension." |
647 | +msgstr "" |
648 | + |
649 | +#. module: account_payment_sepa_credit_transfer |
650 | +#: selection:payment.type,sepa_category_purpose:0 |
651 | +msgid "[CORT] Transaction is related to settlement of a trade, eg a foreign exchange deal or a securities transaction." |
652 | +msgstr "" |
653 | + |
654 | +#. module: account_payment_sepa_credit_transfer |
655 | +#: selection:payment.type,sepa_category_purpose:0 |
656 | +msgid "[WHLD] Transaction is the payment of withholding tax." |
657 | +msgstr "" |
658 | + |
659 | +#. module: account_payment_sepa_credit_transfer |
660 | +#: constraint:res.company:0 |
661 | +msgid "Invalid SEPA Credit Transfer Identifier." |
662 | +msgstr "" |
663 | + |
664 | +#. module: account_payment_sepa_credit_transfer |
665 | +#: selection:payment.type,sepa_category_purpose:0 |
666 | +msgid "[GOVT] Transaction is a payment to or from a government department." |
667 | +msgstr "" |
668 | + |
669 | +#. module: account_payment_sepa_credit_transfer |
670 | +#: selection:payment.type,sepa_category_purpose:0 |
671 | +msgid "[TAXS] Transaction is the payment of taxes." |
672 | +msgstr "" |
673 | + |
674 | +#. module: account_payment_sepa_credit_transfer |
675 | +#: view:banking.export.sepa.wizard:0 |
676 | +msgid "Validate" |
677 | +msgstr "" |
678 | + |
679 | +#. module: account_payment_sepa_credit_transfer |
680 | +#: model:payment.type,name:account_payment_sepa_credit_transfer.export_sepa_sct_001_001_03 |
681 | +msgid "SEPA Credit Transfer v03 (recommended)" |
682 | +msgstr "" |
683 | + |
684 | +#. module: account_payment_sepa_credit_transfer |
685 | +#: view:banking.export.sepa.wizard:0 |
686 | +msgid "Generate" |
687 | +msgstr "" |
688 | + |
689 | +#. module: account_payment_sepa_credit_transfer |
690 | +#: field:payment.type,sepa_category_purpose:0 |
691 | +msgid "SEPA Category Purpose Type" |
692 | +msgstr "" |
693 | + |
694 | +#. module: account_payment_sepa_credit_transfer |
695 | +#: selection:payment.type,sepa_category_purpose:0 |
696 | +msgid "[DIVI] Transaction is the payment of dividends." |
697 | +msgstr "" |
698 | + |
699 | +#. module: account_payment_sepa_credit_transfer |
700 | +#: selection:banking.export.sepa,charge_bearer:0 |
701 | +#: selection:banking.export.sepa.wizard,charge_bearer:0 |
702 | +msgid "Borne by Debtor" |
703 | +msgstr "" |
704 | + |
705 | +#. module: account_payment_sepa_credit_transfer |
706 | +#: model:ir.model,name:account_payment_sepa_credit_transfer.model_res_company |
707 | +msgid "Companies" |
708 | +msgstr "" |
709 | + |
710 | +#. module: account_payment_sepa_credit_transfer |
711 | +#: field:banking.export.sepa,total_amount:0 |
712 | +#: field:banking.export.sepa.wizard,total_amount:0 |
713 | +msgid "Total Amount" |
714 | +msgstr "" |
715 | + |
716 | +#. module: account_payment_sepa_credit_transfer |
717 | +#: selection:payment.type,sepa_category_purpose:0 |
718 | +msgid "[SUPP] Transaction is related to a payment to a supplier." |
719 | +msgstr "" |
720 | + |
721 | +#. module: account_payment_sepa_credit_transfer |
722 | +#: field:banking.export.sepa,charge_bearer:0 |
723 | +#: field:banking.export.sepa.wizard,charge_bearer:0 |
724 | +msgid "Charge Bearer" |
725 | +msgstr "" |
726 | + |
727 | +#. module: account_payment_sepa_credit_transfer |
728 | +#: view:banking.export.sepa.wizard:0 |
729 | +msgid "SEPA File Generation" |
730 | +msgstr "" |
731 | + |
732 | +#. module: account_payment_sepa_credit_transfer |
733 | +#: selection:payment.type,sepa_category_purpose:0 |
734 | +msgid "[HEDG] Transaction is related to the payment of a hedging operation." |
735 | +msgstr "" |
736 | + |
737 | +#. module: account_payment_sepa_credit_transfer |
738 | +#: model:payment.type,name:account_payment_sepa_credit_transfer.export_sepa_sct_001_001_02 |
739 | +msgid "SEPA Credit Transfer v02" |
740 | +msgstr "" |
741 | + |
742 | +#. module: account_payment_sepa_credit_transfer |
743 | +#: model:ir.model,name:account_payment_sepa_credit_transfer.model_banking_export_sepa |
744 | +msgid "SEPA export" |
745 | +msgstr "" |
746 | + |
747 | +#. module: account_payment_sepa_credit_transfer |
748 | +#: selection:payment.type,sepa_category_purpose:0 |
749 | +msgid "Not Applicable" |
750 | +msgstr "" |
751 | + |
752 | +#. module: account_payment_sepa_credit_transfer |
753 | +#: model:payment.type,name:account_payment_sepa_credit_transfer.export_sepa_sct_001_001_05 |
754 | +msgid "SEPA Credit Transfer v05" |
755 | +msgstr "" |
756 | + |
757 | +#. module: account_payment_sepa_credit_transfer |
758 | +#: model:payment.type,name:account_payment_sepa_credit_transfer.export_sepa_sct_001_001_04 |
759 | +msgid "SEPA Credit Transfer v04" |
760 | +msgstr "" |
761 | + |
762 | +#. module: account_payment_sepa_credit_transfer |
763 | +#: selection:payment.type,sepa_category_purpose:0 |
764 | +msgid "[LOAN] Transaction is related to the transfer of a loan to a borrower." |
765 | +msgstr "" |
766 | + |
767 | +#. module: account_payment_sepa_credit_transfer |
768 | +#: field:banking.export.sepa,file:0 |
769 | +#: field:banking.export.sepa.wizard,file_id:0 |
770 | +msgid "SEPA XML File" |
771 | +msgstr "" |
772 | + |
773 | +#. module: account_payment_sepa_credit_transfer |
774 | +#: model:ir.model,name:account_payment_sepa_credit_transfer.model_payment_type |
775 | +msgid "Payment type" |
776 | +msgstr "" |
777 | + |
778 | +#. module: account_payment_sepa_credit_transfer |
779 | +#: help:res.company,sepa_debtor_identifier:0 |
780 | +msgid "Enter the Identifier that has been attributed to your company to make SEPA Credit Transfers. This identifier is composed of :\n" |
781 | +"- your VAT (9 digits)\n" |
782 | +"- a 3-digits subfix (commonly is 000)" |
783 | +msgstr "" |
784 | + |
785 | +#. module: account_payment_sepa_credit_transfer |
786 | +#: help:banking.export.sepa,charge_bearer:0 |
787 | +msgid "Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the creditor side are to be borne by the creditor, transaction charges on the debtor side are to be borne by the debtor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor." |
788 | +msgstr "" |
789 | + |
790 | +#. module: account_payment_sepa_credit_transfer |
791 | +#: selection:payment.type,sepa_category_purpose:0 |
792 | +msgid "[VATX] Transaction is the payment of value added tax." |
793 | +msgstr "" |
794 | + |
795 | +#. module: account_payment_sepa_credit_transfer |
796 | +#: field:res.company,sepa_debtor_identifier:0 |
797 | +msgid "SEPA Credit Transfer Identifier" |
798 | +msgstr "" |
799 | + |
800 | +#. module: account_payment_sepa_credit_transfer |
801 | +#: selection:payment.type,sepa_category_purpose:0 |
802 | +msgid "[SECU] Transaction is the payment of securities." |
803 | +msgstr "" |
804 | + |
805 | +#. module: account_payment_sepa_credit_transfer |
806 | +#: view:banking.export.sepa:0 |
807 | +#: field:banking.export.sepa,payment_order_ids:0 |
808 | +#: field:banking.export.sepa.wizard,payment_order_ids:0 |
809 | +msgid "Payment Orders" |
810 | +msgstr "" |
811 | + |
812 | +#. module: account_payment_sepa_credit_transfer |
813 | +#: view:banking.export.sepa:0 |
814 | +msgid "General Information" |
815 | +msgstr "" |
816 | + |
817 | +#. module: account_payment_sepa_credit_transfer |
818 | +#: model:ir.actions.act_window,name:account_payment_sepa_credit_transfer.act_banking_export_sepa_payment_order |
819 | +#: model:ir.actions.act_window,name:account_payment_sepa_credit_transfer.action_account_banking_sepa |
820 | +#: model:ir.ui.menu,name:account_payment_sepa_credit_transfer.menu_account_banking_sepa |
821 | +msgid "SEPA Credit Transfer Files" |
822 | +msgstr "" |
823 | + |
824 | +#. module: account_payment_sepa_credit_transfer |
825 | +#: help:banking.export.sepa,batch_booking:0 |
826 | +#: help:banking.export.sepa.wizard,batch_booking:0 |
827 | +msgid "If true, the bank statement will display only one debit line for all the wire transfers of the SEPA XML file ; if false, the bank statement will display one debit line per wire transfer of the SEPA XML file." |
828 | +msgstr "" |
829 | + |
830 | +#. module: account_payment_sepa_credit_transfer |
831 | +#: field:banking.export.sepa.wizard,file:0 |
832 | +msgid "File" |
833 | +msgstr "" |
834 | + |
835 | +#. module: account_payment_sepa_credit_transfer |
836 | +#: view:banking.export.sepa.wizard:0 |
837 | +msgid "Cancel" |
838 | +msgstr "" |
839 | + |
840 | +#. module: account_payment_sepa_credit_transfer |
841 | +#: selection:payment.type,sepa_category_purpose:0 |
842 | +msgid "[INTE] Transaction is the payment of interest." |
843 | +msgstr "" |
844 | + |
845 | +#. module: account_payment_sepa_credit_transfer |
846 | +#: field:banking.export.sepa,create_date:0 |
847 | +msgid "Generation Date" |
848 | +msgstr "" |
849 | + |
850 | +#. module: account_payment_sepa_credit_transfer |
851 | +#: selection:payment.type,sepa_category_purpose:0 |
852 | +msgid "[SALA] Transaction is the payment of salaries." |
853 | +msgstr "" |
854 | + |
855 | |
856 | === modified file 'account_payment_sepa_credit_transfer/i18n/es.po' |
857 | --- account_payment_sepa_credit_transfer/i18n/es.po 2014-02-09 12:20:04 +0000 |
858 | +++ account_payment_sepa_credit_transfer/i18n/es.po 2014-03-13 16:55:50 +0000 |
859 | @@ -4,10 +4,10 @@ |
860 | # |
861 | msgid "" |
862 | msgstr "" |
863 | -"Project-Id-Version: OpenERP Server 7.0-20131224-002412\n" |
864 | +"Project-Id-Version: OpenERP Server 7.0\n" |
865 | "Report-Msgid-Bugs-To: \n" |
866 | -"POT-Creation-Date: 2014-01-25 11:29+0000\n" |
867 | -"PO-Revision-Date: 2014-01-25 11:29+0000\n" |
868 | +"POT-Creation-Date: 2014-03-03 17:09+0000\n" |
869 | +"PO-Revision-Date: 2014-03-03 17:09+0000\n" |
870 | "Last-Translator: <>\n" |
871 | "Language-Team: \n" |
872 | "MIME-Version: 1.0\n" |
873 | @@ -16,6 +16,16 @@ |
874 | "Plural-Forms: \n" |
875 | |
876 | #. module: account_payment_sepa_credit_transfer |
877 | +#: help:payment.type,sepa_category_purpose:0 |
878 | +msgid "Select the appropiate SEPA category for transactions made under this payment type. Only appplicable for SEPA Credit Transfers." |
879 | +msgstr "Seleccione la categoría SEPA adecuada para las trasacciones realizadas mediante este tipo de pago. Sólo aplicable a Transferencias de Créditos SEPA." |
880 | + |
881 | +#. module: account_payment_sepa_credit_transfer |
882 | +#: selection:payment.type,sepa_category_purpose:0 |
883 | +msgid "[CASH] Transaction is a general cash management instruction." |
884 | +msgstr "[CASH] Instrucción general de gestión de efectivo." |
885 | + |
886 | +#. module: account_payment_sepa_credit_transfer |
887 | #: selection:banking.export.sepa.wizard,state:0 |
888 | msgid "Create" |
889 | msgstr "Crear" |
890 | @@ -46,7 +56,7 @@ |
891 | #. module: account_payment_sepa_credit_transfer |
892 | #: help:banking.export.sepa.wizard,charge_bearer:0 |
893 | msgid "Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the debtor side are to be borne by the debtor, transaction charges on the creditor side are to be borne by the creditor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor." |
894 | -msgstr "Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the debtor side are to be borne by the debtor, transaction charges on the creditor side are to be borne by the creditor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor." |
895 | +msgstr "Acuerdo de nivel de servicio : los costes de la transacción se aplican siguiendo las reglas acordadas en el nivel de servicio (los mensajes Core de SEPA deben usar esta opción). Compartido : los costes cargados en la parte deudora deben ser sufragados por el deudor, los costes cargados en la parte acreedora deben ser sufragados por el acreedor. Sufragados por el acreedor : todos los costes son sufragados por el acreedor. Sufragados por el deudor : todos los costes son sufragados por el deudor." |
896 | |
897 | #. module: account_payment_sepa_credit_transfer |
898 | #: selection:banking.export.sepa,charge_bearer:0 |
899 | @@ -61,6 +71,11 @@ |
900 | msgstr "Procesamiento en lotes" |
901 | |
902 | #. module: account_payment_sepa_credit_transfer |
903 | +#: selection:payment.type,sepa_category_purpose:0 |
904 | +msgid "[INTC] Transaction is an intra-company payment, ie, a payment between two companies belonging to the same group." |
905 | +msgstr "[INTC] Pago intra-empresa, ie, un pago entre dos empresas del mismo grupo." |
906 | + |
907 | +#. module: account_payment_sepa_credit_transfer |
908 | #: selection:banking.export.sepa,state:0 |
909 | msgid "Sent" |
910 | msgstr "Enviado" |
911 | @@ -81,6 +96,11 @@ |
912 | msgstr "Finalizar" |
913 | |
914 | #. module: account_payment_sepa_credit_transfer |
915 | +#: selection:payment.type,sepa_category_purpose:0 |
916 | +msgid "[TRAD] Transaction is related to the payment of a trade finance transaction." |
917 | +msgstr "[TRAD] Relacionada con el pago de una operación de financiación." |
918 | + |
919 | +#. module: account_payment_sepa_credit_transfer |
920 | #: selection:banking.export.sepa,state:0 |
921 | msgid "Reconciled" |
922 | msgstr "Conciliado" |
923 | @@ -98,9 +118,39 @@ |
924 | msgstr "Sufragados por el acreedor" |
925 | |
926 | #. module: account_payment_sepa_credit_transfer |
927 | -#: model:payment.type,name:account_payment_sepa_credit_transfer.export_sepa_sct_001_001_05 |
928 | -msgid "SEPA Credit Transfer v05" |
929 | -msgstr "Transferencia de créditos SEPA v05" |
930 | +#: selection:payment.type,sepa_category_purpose:0 |
931 | +msgid "[TREA] Transaction is related to treasury operations. E.g. financial contract settlement." |
932 | +msgstr "[TREA] Relacianda con operaciones de tesorería. E.g. liquidación de un contrato financiero." |
933 | + |
934 | +#. module: account_payment_sepa_credit_transfer |
935 | +#: selection:payment.type,sepa_category_purpose:0 |
936 | +msgid "[PENS] Transaction is the payment of pension." |
937 | +msgstr "[PENS] Pago de pensiones." |
938 | + |
939 | +#. module: account_payment_sepa_credit_transfer |
940 | +#: selection:payment.type,sepa_category_purpose:0 |
941 | +msgid "[CORT] Transaction is related to settlement of a trade, eg a foreign exchange deal or a securities transaction." |
942 | +msgstr "[CORT] Relacionada con la liquidación de una operación, eg. un acuerdo de intercambio de divisa o una trasacción de valores." |
943 | + |
944 | +#. module: account_payment_sepa_credit_transfer |
945 | +#: selection:payment.type,sepa_category_purpose:0 |
946 | +msgid "[WHLD] Transaction is the payment of withholding tax." |
947 | +msgstr "[WHLD] Pago de una retención de impuestos." |
948 | + |
949 | +#. module: account_payment_sepa_credit_transfer |
950 | +#: constraint:res.company:0 |
951 | +msgid "Invalid SEPA Credit Transfer Identifier." |
952 | +msgstr "Identificador de Transferencia de Créditos SEPA inválido." |
953 | + |
954 | +#. module: account_payment_sepa_credit_transfer |
955 | +#: selection:payment.type,sepa_category_purpose:0 |
956 | +msgid "[GOVT] Transaction is a payment to or from a government department." |
957 | +msgstr "[GOVT] Pago hacia o desde un departamento gubernamental." |
958 | + |
959 | +#. module: account_payment_sepa_credit_transfer |
960 | +#: selection:payment.type,sepa_category_purpose:0 |
961 | +msgid "[TAXS] Transaction is the payment of taxes." |
962 | +msgstr "[TAXS] Pago de impuestos." |
963 | |
964 | #. module: account_payment_sepa_credit_transfer |
965 | #: view:banking.export.sepa.wizard:0 |
966 | @@ -118,17 +168,25 @@ |
967 | msgstr "Generar" |
968 | |
969 | #. module: account_payment_sepa_credit_transfer |
970 | +#: field:payment.type,sepa_category_purpose:0 |
971 | +msgid "SEPA Category Purpose Type" |
972 | +msgstr "Propósito de la transferencia SEPA" |
973 | + |
974 | +#. module: account_payment_sepa_credit_transfer |
975 | +#: selection:payment.type,sepa_category_purpose:0 |
976 | +msgid "[DIVI] Transaction is the payment of dividends." |
977 | +msgstr "[DIVI] Pago de dividendos." |
978 | + |
979 | +#. module: account_payment_sepa_credit_transfer |
980 | #: selection:banking.export.sepa,charge_bearer:0 |
981 | #: selection:banking.export.sepa.wizard,charge_bearer:0 |
982 | msgid "Borne by Debtor" |
983 | msgstr "Sufragados por el deudor" |
984 | |
985 | #. module: account_payment_sepa_credit_transfer |
986 | -#: code:addons/account_payment_sepa_credit_transfer/wizard/export_sepa.py:128 |
987 | -#: code:addons/account_payment_sepa_credit_transfer/wizard/export_sepa.py:246 |
988 | -#, python-format |
989 | -msgid "Error:" |
990 | -msgstr "Error:" |
991 | +#: model:ir.model,name:account_payment_sepa_credit_transfer.model_res_company |
992 | +msgid "Companies" |
993 | +msgstr "Compañías" |
994 | |
995 | #. module: account_payment_sepa_credit_transfer |
996 | #: field:banking.export.sepa,total_amount:0 |
997 | @@ -137,6 +195,11 @@ |
998 | msgstr "Total" |
999 | |
1000 | #. module: account_payment_sepa_credit_transfer |
1001 | +#: selection:payment.type,sepa_category_purpose:0 |
1002 | +msgid "[SUPP] Transaction is related to a payment to a supplier." |
1003 | +msgstr "[SUPP] Pago a proveedores." |
1004 | + |
1005 | +#. module: account_payment_sepa_credit_transfer |
1006 | #: field:banking.export.sepa,charge_bearer:0 |
1007 | #: field:banking.export.sepa.wizard,charge_bearer:0 |
1008 | msgid "Charge Bearer" |
1009 | @@ -148,6 +211,11 @@ |
1010 | msgstr "Creación de Archivo SEPA" |
1011 | |
1012 | #. module: account_payment_sepa_credit_transfer |
1013 | +#: selection:payment.type,sepa_category_purpose:0 |
1014 | +msgid "[HEDG] Transaction is related to the payment of a hedging operation." |
1015 | +msgstr "[HEDG] Pago de una operación de cobertura." |
1016 | + |
1017 | +#. module: account_payment_sepa_credit_transfer |
1018 | #: model:payment.type,name:account_payment_sepa_credit_transfer.export_sepa_sct_001_001_02 |
1019 | msgid "SEPA Credit Transfer v02" |
1020 | msgstr "Transferencia de créditos SEPA v02" |
1021 | @@ -158,10 +226,14 @@ |
1022 | msgstr "Exportar SEPA" |
1023 | |
1024 | #. module: account_payment_sepa_credit_transfer |
1025 | -#: code:addons/account_payment_sepa_credit_transfer/wizard/export_sepa.py:247 |
1026 | -#, python-format |
1027 | -msgid "Missing Bank Account on invoice '%s' (payment order line reference '%s')." |
1028 | -msgstr "Cuenta bancaria no disponible en la factura '%s' (linea de pago '%s')." |
1029 | +#: selection:payment.type,sepa_category_purpose:0 |
1030 | +msgid "Not Applicable" |
1031 | +msgstr "No aplicable" |
1032 | + |
1033 | +#. module: account_payment_sepa_credit_transfer |
1034 | +#: model:payment.type,name:account_payment_sepa_credit_transfer.export_sepa_sct_001_001_05 |
1035 | +msgid "SEPA Credit Transfer v05" |
1036 | +msgstr "Transferencia de créditos SEPA v05" |
1037 | |
1038 | #. module: account_payment_sepa_credit_transfer |
1039 | #: model:payment.type,name:account_payment_sepa_credit_transfer.export_sepa_sct_001_001_04 |
1040 | @@ -169,21 +241,49 @@ |
1041 | msgstr "Transferencia de créditos SEPA v04" |
1042 | |
1043 | #. module: account_payment_sepa_credit_transfer |
1044 | +#: selection:payment.type,sepa_category_purpose:0 |
1045 | +msgid "[LOAN] Transaction is related to the transfer of a loan to a borrower." |
1046 | +msgstr "[LOAN] Transferencia de un préstamo a un prestatario." |
1047 | + |
1048 | +#. module: account_payment_sepa_credit_transfer |
1049 | #: field:banking.export.sepa,file:0 |
1050 | #: field:banking.export.sepa.wizard,file_id:0 |
1051 | msgid "SEPA XML File" |
1052 | msgstr "Archivo XML SEPA" |
1053 | |
1054 | #. module: account_payment_sepa_credit_transfer |
1055 | +#: model:ir.model,name:account_payment_sepa_credit_transfer.model_payment_type |
1056 | +msgid "Payment type" |
1057 | +msgstr "Tipo de pago" |
1058 | + |
1059 | +#. module: account_payment_sepa_credit_transfer |
1060 | +#: help:res.company,sepa_debtor_identifier:0 |
1061 | +msgid "Enter the Identifier that has been attributed to your company to make SEPA Credit Transfers. This identifier is composed of :\n" |
1062 | +"- your VAT (9 digits)\n" |
1063 | +"- a 3-digits subfix (commonly is 000)" |
1064 | +msgstr "Introduzca el identificador que ha sido atribuído a su empresa para hacer Transferencias de Créditos SEPA. Debe estar compuesto de :\n" |
1065 | +"- Su NIF (9 caracteres)\n" |
1066 | +"- un sufijo de 3 caracteres (habitualmente es 000 si no ha pactado otro con su banco)" |
1067 | + |
1068 | +#. module: account_payment_sepa_credit_transfer |
1069 | #: help:banking.export.sepa,charge_bearer:0 |
1070 | msgid "Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the creditor side are to be borne by the creditor, transaction charges on the debtor side are to be borne by the debtor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor." |
1071 | -msgstr "Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the creditor side are to be borne by the creditor, transaction charges on the debtor side are to be borne by the debtor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor." |
1072 | - |
1073 | -#. module: account_payment_sepa_credit_transfer |
1074 | -#: code:addons/account_payment_sepa_credit_transfer/wizard/export_sepa.py:129 |
1075 | -#, python-format |
1076 | -msgid "Payment Type Code '%s' is not supported. The only Payment Type Codes supported for SEPA Credit Transfers are 'pain.001.001.02', 'pain.001.001.03', 'pain.001.001.04' and 'pain.001.001.05'." |
1077 | -msgstr "El código del tipo de pago '%s' no esta soportado. Los códigos para las Transferencia de créditos soportados son 'pain.001.001.02', 'pain.001.001.03', 'pain.001.001.04' and 'pain.001.001.05'." |
1078 | +msgstr "Acuerdo de nivel de servicio : los costes de la transacción se aplican siguiendo las reglas acordadas en el nivel de servicio (los mensajes Core de SEPA deben usar esta opción). Compartido : los costes cargados en la parte deudora deben ser sufragados por el deudor, los costes cargados en la parte acreedora deben ser sufragados por el acreedor. Sufragados por el acreedor : todos los costes son sufragados por el acreedor. Sufragados por el deudor : todos los costes son sufragados por el deudor." |
1079 | + |
1080 | +#. module: account_payment_sepa_credit_transfer |
1081 | +#: selection:payment.type,sepa_category_purpose:0 |
1082 | +msgid "[VATX] Transaction is the payment of value added tax." |
1083 | +msgstr "[VATX] Pago del IVA." |
1084 | + |
1085 | +#. module: account_payment_sepa_credit_transfer |
1086 | +#: field:res.company,sepa_debtor_identifier:0 |
1087 | +msgid "SEPA Credit Transfer Identifier" |
1088 | +msgstr "Identificador SEPA para Transferencias de Créditos" |
1089 | + |
1090 | +#. module: account_payment_sepa_credit_transfer |
1091 | +#: selection:payment.type,sepa_category_purpose:0 |
1092 | +msgid "[SECU] Transaction is the payment of securities." |
1093 | +msgstr "[SECU] Pago de seguros." |
1094 | |
1095 | #. module: account_payment_sepa_credit_transfer |
1096 | #: view:banking.export.sepa:0 |
1097 | @@ -208,7 +308,7 @@ |
1098 | #: help:banking.export.sepa,batch_booking:0 |
1099 | #: help:banking.export.sepa.wizard,batch_booking:0 |
1100 | msgid "If true, the bank statement will display only one debit line for all the wire transfers of the SEPA XML file ; if false, the bank statement will display one debit line per wire transfer of the SEPA XML file." |
1101 | -msgstr "If true, the bank statement will display only one debit line for all the wire transfers of the SEPA XML file ; if false, the bank statement will display one debit line per wire transfer of the SEPA XML file." |
1102 | +msgstr "Si se marca, el estracto bancario sólo mostrará una línea de débito para todas las transferencias del archivo SEPA; en caso contrario, el estracto bancario mostrará una línea por cada transferencia del archivo SEPA." |
1103 | |
1104 | #. module: account_payment_sepa_credit_transfer |
1105 | #: field:banking.export.sepa.wizard,file:0 |
1106 | @@ -221,7 +321,17 @@ |
1107 | msgstr "Cancelar" |
1108 | |
1109 | #. module: account_payment_sepa_credit_transfer |
1110 | +#: selection:payment.type,sepa_category_purpose:0 |
1111 | +msgid "[INTE] Transaction is the payment of interest." |
1112 | +msgstr "[INTE] Pago de intereses." |
1113 | + |
1114 | +#. module: account_payment_sepa_credit_transfer |
1115 | #: field:banking.export.sepa,create_date:0 |
1116 | msgid "Generation Date" |
1117 | msgstr "Fecha de creación" |
1118 | |
1119 | +#. module: account_payment_sepa_credit_transfer |
1120 | +#: selection:payment.type,sepa_category_purpose:0 |
1121 | +msgid "[SALA] Transaction is the payment of salaries." |
1122 | +msgstr "[SALA] Pago de nóminas." |
1123 | + |
1124 | |
1125 | === added file 'account_payment_sepa_credit_transfer/payment_type.py' |
1126 | --- account_payment_sepa_credit_transfer/payment_type.py 1970-01-01 00:00:00 +0000 |
1127 | +++ account_payment_sepa_credit_transfer/payment_type.py 2014-03-13 16:55:50 +0000 |
1128 | @@ -0,0 +1,59 @@ |
1129 | +# -*- coding: utf-8 -*- |
1130 | +############################################################################## |
1131 | +# |
1132 | +# Copyright (C) 2009 EduSense BV (<http://www.edusense.nl>). |
1133 | +# (C) 2011 - 2013 Therp BV (<http://therp.nl>). |
1134 | +# |
1135 | +# All other contributions are (C) by their respective contributors |
1136 | +# |
1137 | +# All Rights Reserved |
1138 | +# |
1139 | +# This program is free software: you can redistribute it and/or modify |
1140 | +# it under the terms of the GNU Affero General Public License as |
1141 | +# published by the Free Software Foundation, either version 3 of the |
1142 | +# License, or (at your option) any later version. |
1143 | +# |
1144 | +# This program is distributed in the hope that it will be useful, |
1145 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1146 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1147 | +# GNU Affero General Public License for more details. |
1148 | +# |
1149 | +# You should have received a copy of the GNU Affero General Public License |
1150 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1151 | +# |
1152 | +############################################################################## |
1153 | + |
1154 | +from openerp.osv import orm, fields |
1155 | + |
1156 | + |
1157 | +class payment_type(orm.Model): |
1158 | + _inherit = 'payment.type' |
1159 | + _columns = { |
1160 | + 'sepa_category_purpose': fields.selection( |
1161 | + [('CORT', '[CORT] Transaction is related to settlement of a trade, eg a foreign exchange deal or a securities transaction.'), |
1162 | + ('SALA', '[SALA] Transaction is the payment of salaries.'), |
1163 | + ('TREA', '[TREA] Transaction is related to treasury operations. E.g. financial contract settlement.'), |
1164 | + ('CASH', '[CASH] Transaction is a general cash management instruction.'), |
1165 | + ('DIVI', '[DIVI] Transaction is the payment of dividends.'), |
1166 | + ('GOVT', '[GOVT] Transaction is a payment to or from a government department.'), |
1167 | + ('INTE', '[INTE] Transaction is the payment of interest.'), |
1168 | + ('LOAN', '[LOAN] Transaction is related to the transfer of a loan to a borrower.'), |
1169 | + ('PENS', '[PENS] Transaction is the payment of pension.'), |
1170 | + ('SECU', '[SECU] Transaction is the payment of securities.'), |
1171 | + ('SUPP', '[SUPP] Transaction is related to a payment to a supplier.'), |
1172 | + ('TAXS', '[TAXS] Transaction is the payment of taxes.'), |
1173 | + ('TRAD', '[TRAD] Transaction is related to the payment of a trade finance transaction.'), |
1174 | + ('VATX', '[VATX] Transaction is the payment of value added tax.'), |
1175 | + ('HEDG', '[HEDG] Transaction is related to the payment of a hedging operation.'), |
1176 | + ('INTC', '[INTC] Transaction is an intra-company payment, ie, a payment between two companies belonging to the same group.'), |
1177 | + ('WHLD', '[WHLD] Transaction is the payment of withholding tax.'), |
1178 | + ], |
1179 | + 'SEPA Category Purpose Type', required=False, size=4, |
1180 | + help="Select the appropiate SEPA category for transactions made under this payment type." |
1181 | + " Only appplicable for SEPA Credit Transfers." |
1182 | + ), |
1183 | + } |
1184 | + |
1185 | + _defaults = { |
1186 | + 'sepa_category_purpose': 'SUPP', |
1187 | + } |
1188 | |
1189 | === added file 'account_payment_sepa_credit_transfer/payment_type.xml' |
1190 | --- account_payment_sepa_credit_transfer/payment_type.xml 1970-01-01 00:00:00 +0000 |
1191 | +++ account_payment_sepa_credit_transfer/payment_type.xml 2014-03-13 16:55:50 +0000 |
1192 | @@ -0,0 +1,17 @@ |
1193 | +<?xml version="1.0" encoding="utf-8"?> |
1194 | +<openerp> |
1195 | + <data> |
1196 | + |
1197 | + <record model="ir.ui.view" id="account_payment_sepa_credit_transfer.view_payment_type_form_inherit"> |
1198 | + <field name="name">view.payment.type.form</field> |
1199 | + <field name="model">payment.type</field> |
1200 | + <field name="inherit_id" ref="account_payment_extension.view_payment_type_form"/> |
1201 | + <field name="arch" type="xml"> |
1202 | + <field name="code" position="after"> |
1203 | + <field name="sepa_category_purpose" attrs="{'invisible': [('code', 'not in',['pain.001.001.02','pain.001.001.03','pain.001.001.04','pain.001.001.05'])]}"/> |
1204 | + </field> |
1205 | + </field> |
1206 | + </record> |
1207 | + |
1208 | + </data> |
1209 | +</openerp> |
1210 | |
1211 | === modified file 'account_payment_sepa_credit_transfer/wizard/export_sepa.py' |
1212 | --- account_payment_sepa_credit_transfer/wizard/export_sepa.py 2014-02-09 12:20:04 +0000 |
1213 | +++ account_payment_sepa_credit_transfer/wizard/export_sepa.py 2014-03-13 16:55:50 +0000 |
1214 | @@ -96,6 +96,7 @@ |
1215 | context = {} |
1216 | sepa_export = self.browse(cr, uid, ids[0], context=context) |
1217 | pain_flavor = sepa_export.payment_order_ids[0].mode.type.code |
1218 | + category_purpose_code = sepa_export.payment_order_ids[0].mode.type.sepa_category_purpose |
1219 | convert_to_ascii = \ |
1220 | sepa_export.payment_order_ids[0].mode.convert_to_ascii |
1221 | if pain_flavor == 'pain.001.001.02': |
1222 | @@ -143,6 +144,7 @@ |
1223 | 'pain_xsd_file': |
1224 | 'account_payment_sepa_credit_transfer/data/%s.xsd' |
1225 | % pain_flavor, |
1226 | + 'category_purpose_code': category_purpose_code |
1227 | } |
1228 | |
1229 | pain_ns = { |
1230 | @@ -255,7 +257,7 @@ |
1231 | |
1232 | self.generate_remittance_info_block( |
1233 | cr, uid, credit_transfer_transaction_info_2_27, |
1234 | - line, gen_args, context=context) |
1235 | + line, 'line.communication', gen_args, context=context) |
1236 | |
1237 | if pain_flavor in pain_03_to_05: |
1238 | nb_of_transactions_2_4.text = str(transactions_count_2_4) |
1239 | @@ -267,7 +269,12 @@ |
1240 | else: |
1241 | nb_of_transactions_1_6.text = str(transactions_count_1_6) |
1242 | control_sum_1_7.text = '%.2f' % amount_control_sum_1_7 |
1243 | - |
1244 | + |
1245 | + # Call set_done in payment.order to make payment account moves when |
1246 | + # create_account_moves = 'direct-payment' |
1247 | + payment_order_ids = context.get('active_ids', []) |
1248 | + self.pool.get('payment.order').set_done(cr, uid, payment_order_ids, context) |
1249 | + |
1250 | return self.finalize_sepa_file_creation( |
1251 | cr, uid, ids, xml_root, total_amount, transactions_count_1_6, |
1252 | gen_args, context=context) |
1253 | |
1254 | === modified file 'account_payment_sepa_direct_debit/__init__.py' |
1255 | --- account_payment_sepa_direct_debit/__init__.py 2014-02-09 12:20:04 +0000 |
1256 | +++ account_payment_sepa_direct_debit/__init__.py 2014-03-13 16:55:50 +0000 |
1257 | @@ -23,3 +23,4 @@ |
1258 | from . import company |
1259 | from . import wizard |
1260 | from . import account_banking_sdd |
1261 | +import report |
1262 | \ No newline at end of file |
1263 | |
1264 | === modified file 'account_payment_sepa_direct_debit/__openerp__.py' |
1265 | --- account_payment_sepa_direct_debit/__openerp__.py 2014-02-17 22:46:23 +0000 |
1266 | +++ account_payment_sepa_direct_debit/__openerp__.py 2014-03-13 16:55:50 +0000 |
1267 | @@ -45,6 +45,7 @@ |
1268 | 'data/payment_type_sdd.xml', |
1269 | 'data/mandate_reference_sequence.xml', |
1270 | 'security/ir.model.access.csv', |
1271 | + 'sdd_report.xml', |
1272 | ], |
1273 | 'description': ''' |
1274 | Module to export direct debit payment orders in SEPA XML file format. |
1275 | |
1276 | === modified file 'account_payment_sepa_direct_debit/account_banking_sdd.py' |
1277 | --- account_payment_sepa_direct_debit/account_banking_sdd.py 2014-02-09 12:20:04 +0000 |
1278 | +++ account_payment_sepa_direct_debit/account_banking_sdd.py 2014-03-13 16:55:50 +0000 |
1279 | @@ -191,8 +191,7 @@ |
1280 | 'company_id': lambda self, cr, uid, context: |
1281 | self.pool['res.company']._company_default_get( |
1282 | cr, uid, 'sdd.mandate', context=context), |
1283 | - 'unique_mandate_reference': lambda self, cr, uid, ctx: |
1284 | - self.pool['ir.sequence'].get(cr, uid, 'sdd.mandate.reference'), |
1285 | + 'unique_mandate_reference': '/', |
1286 | 'state': 'draft', |
1287 | 'sepa_migrated': True, |
1288 | } |
1289 | @@ -202,7 +201,14 @@ |
1290 | 'unique(unique_mandate_reference, company_id)', |
1291 | 'A Mandate with the same reference already exists for this company !' |
1292 | )] |
1293 | - |
1294 | + |
1295 | + def create(self, cr, uid, vals, context=None): |
1296 | + |
1297 | + if vals.get('unique_mandate_reference','/')=='/': |
1298 | + vals['unique_mandate_reference'] = self.pool.get('ir.sequence').get(cr, uid, 'sdd.mandate.reference') or 'Nuevo Mandato' |
1299 | + |
1300 | + return super(sdd_mandate, self).create(cr, uid, vals, context=context) |
1301 | + |
1302 | def _check_sdd_mandate(self, cr, uid, ids): |
1303 | for mandate in self.browse(cr, uid, ids): |
1304 | if (mandate.signature_date and |
1305 | |
1306 | === modified file 'account_payment_sepa_direct_debit/company.py' |
1307 | --- account_payment_sepa_direct_debit/company.py 2014-02-09 12:20:04 +0000 |
1308 | +++ account_payment_sepa_direct_debit/company.py 2014-03-13 16:55:50 +0000 |
1309 | @@ -86,4 +86,4 @@ |
1310 | (_check_sepa_creditor_identifier, |
1311 | "Invalid SEPA Creditor Identifier.", |
1312 | ['sepa_creditor_identifier']), |
1313 | - ] |
1314 | + ] |
1315 | \ No newline at end of file |
1316 | |
1317 | === modified file 'account_payment_sepa_direct_debit/i18n/es.po' |
1318 | --- account_payment_sepa_direct_debit/i18n/es.po 2014-02-09 12:20:04 +0000 |
1319 | +++ account_payment_sepa_direct_debit/i18n/es.po 2014-03-13 16:55:50 +0000 |
1320 | @@ -4,10 +4,10 @@ |
1321 | # |
1322 | msgid "" |
1323 | msgstr "" |
1324 | -"Project-Id-Version: OpenERP Server 7.0-20131224-002412\n" |
1325 | +"Project-Id-Version: OpenERP Server 7.0\n" |
1326 | "Report-Msgid-Bugs-To: \n" |
1327 | -"POT-Creation-Date: 2014-01-25 11:29+0000\n" |
1328 | -"PO-Revision-Date: 2014-01-25 11:29+0000\n" |
1329 | +"POT-Creation-Date: 2014-03-05 06:51+0000\n" |
1330 | +"PO-Revision-Date: 2014-03-05 06:51+0000\n" |
1331 | "Last-Translator: <>\n" |
1332 | "Language-Team: \n" |
1333 | "MIME-Version: 1.0\n" |
1334 | @@ -16,6 +16,11 @@ |
1335 | "Plural-Forms: \n" |
1336 | |
1337 | #. module: account_payment_sepa_direct_debit |
1338 | +#: report:sdd.mandate:0 |
1339 | +msgid "Tipo de pago:" |
1340 | +msgstr "Tipo de pago:" |
1341 | + |
1342 | +#. module: account_payment_sepa_direct_debit |
1343 | #: model:mail.message.subtype,description:account_payment_sepa_direct_debit.mandate_valid |
1344 | msgid "SEPA Direct Debit Mandate Validated" |
1345 | msgstr "Mandato de aduedo directo SEPA validado" |
1346 | @@ -27,16 +32,9 @@ |
1347 | msgstr "Nombre de archivo" |
1348 | |
1349 | #. module: account_payment_sepa_direct_debit |
1350 | -#: code:addons/account_payment_sepa_direct_debit/wizard/export_sdd.py:201 |
1351 | -#, python-format |
1352 | -msgid "The SEPA Direct Debit mandate with reference '%s' for partner '%s' has expired." |
1353 | -msgstr "El mandato de adeudo directo SEPA con referencia '%s' del cliente '%s' ha expirado." |
1354 | - |
1355 | -#. module: account_payment_sepa_direct_debit |
1356 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:219 |
1357 | -#, python-format |
1358 | -msgid "Cannot validate the mandate '%s' without a date of signature." |
1359 | -msgstr "No se puede validar el mandato '%s' sin la fecha de la firma." |
1360 | +#: report:sdd.mandate:0 |
1361 | +msgid "Por favor devolver firmado a su comercial asignado para uso exclusivo del Acreedor. Puede obtener información adicional sobre sus derechos en su entidad financiera." |
1362 | +msgstr "Por favor devolver firmado a su comercial asignado para uso exclusivo del Acreedor. Puede obtener información adicional sobre sus derechos en su entidad financiera." |
1363 | |
1364 | #. module: account_payment_sepa_direct_debit |
1365 | #: selection:sdd.mandate,recurrent_sequence_type:0 |
1366 | @@ -55,10 +53,9 @@ |
1367 | msgstr "Mandatos SDD" |
1368 | |
1369 | #. module: account_payment_sepa_direct_debit |
1370 | -#: constraint:payment.line:0 |
1371 | -#: constraint:sdd.mandate:0 |
1372 | -msgid "Error msg in raise" |
1373 | -msgstr "Error msg in raise" |
1374 | +#: report:sdd.mandate:0 |
1375 | +msgid "Referen" |
1376 | +msgstr "Referen" |
1377 | |
1378 | #. module: account_payment_sepa_direct_debit |
1379 | #: selection:banking.export.sdd,state:0 |
1380 | @@ -68,7 +65,7 @@ |
1381 | #. module: account_payment_sepa_direct_debit |
1382 | #: field:sdd.mandate,recurrent_sequence_type:0 |
1383 | msgid "Sequence Type for Next Debit" |
1384 | -msgstr "Tipo de secuanda para el siguiente adeudo" |
1385 | +msgstr "Tipo de secuencia para el siguiente adeudo" |
1386 | |
1387 | #. module: account_payment_sepa_direct_debit |
1388 | #: selection:banking.export.sdd,charge_bearer:0 |
1389 | @@ -113,23 +110,6 @@ |
1390 | msgstr "Sufragados por el deudor" |
1391 | |
1392 | #. module: account_payment_sepa_direct_debit |
1393 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:212 |
1394 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:218 |
1395 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:224 |
1396 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:232 |
1397 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:239 |
1398 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:245 |
1399 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:253 |
1400 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:395 |
1401 | -#: code:addons/account_payment_sepa_direct_debit/wizard/export_sdd.py:140 |
1402 | -#: code:addons/account_payment_sepa_direct_debit/wizard/export_sdd.py:193 |
1403 | -#: code:addons/account_payment_sepa_direct_debit/wizard/export_sdd.py:200 |
1404 | -#: code:addons/account_payment_sepa_direct_debit/wizard/export_sdd.py:210 |
1405 | -#, python-format |
1406 | -msgid "Error:" |
1407 | -msgstr "Error:" |
1408 | - |
1409 | -#. module: account_payment_sepa_direct_debit |
1410 | #: field:sdd.mandate,message_ids:0 |
1411 | msgid "Messages" |
1412 | msgstr "Mensajes" |
1413 | @@ -146,12 +126,6 @@ |
1414 | msgstr "Cancelado" |
1415 | |
1416 | #. module: account_payment_sepa_direct_debit |
1417 | -#: code:addons/account_payment_sepa_direct_debit/wizard/export_sdd.py:141 |
1418 | -#, python-format |
1419 | -msgid "Payment Type Code '%s' is not supported. The only Payment Type Code supported for SEPA Direct Debit are 'pain.008.001.02', 'pain.008.001.03' and 'pain.008.001.04'." |
1420 | -msgstr "El código para el tipo de pago '%s' no esta soportado. Los códigos para los Adeudos Directos SEPA soportados son 'pain.008.001.02', 'pain.008.001.03' and 'pain.008.001.04'." |
1421 | - |
1422 | -#. module: account_payment_sepa_direct_debit |
1423 | #: help:sdd.mandate,message_unread:0 |
1424 | msgid "If checked new messages require your attention." |
1425 | msgstr "Hay nuevos mensajes que requieren su atención." |
1426 | @@ -167,16 +141,15 @@ |
1427 | msgstr "El mandato de Adeudo Directo SEPA ha expirado" |
1428 | |
1429 | #. module: account_payment_sepa_direct_debit |
1430 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:246 |
1431 | -#, python-format |
1432 | -msgid "The recurrent mandate '%s' which is not marked as 'Migrated to SEPA' must have its recurrent sequence type set to 'First'." |
1433 | -msgstr "El mandato recurrente '%s' que no ha sido marcado como 'Migrado a SEPA' debe tener el tipo de secuencia recurre como 'Inicial'." |
1434 | +#: report:sdd.mandate:0 |
1435 | +msgid "El titular de la cuenta autoriza al Acreedor al tratamiento informatizado de sus datos personales para la finalidad del Mandato SEPA, así como la cesión de los mismos, que se producirá para la gestión del adeudo, informándole que podrá acceder, rectificar, cancelar y oponerse al contenido de sus datos mediante comunicación dirigida al Responsable del fichero de datos personales," |
1436 | +msgstr "El titular de la cuenta autoriza al Acreedor al tratamiento informatizado de sus datos personales para la finalidad del Mandato SEPA, así como la cesión de los mismos, que se producirá para la gestión del adeudo, informándole que podrá acceder, rectificar, cancelar y oponerse al contenido de sus datos mediante comunicación dirigida al Responsable del fichero de datos personales," |
1437 | |
1438 | #. module: account_payment_sepa_direct_debit |
1439 | #: help:banking.export.sdd,charge_bearer:0 |
1440 | #: help:banking.export.sdd.wizard,charge_bearer:0 |
1441 | msgid "Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the creditor side are to be borne by the creditor, transaction charges on the debtor side are to be borne by the debtor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor." |
1442 | -msgstr "Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the creditor side are to be borne by the creditor, transaction charges on the debtor side are to be borne by the debtor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor." |
1443 | +msgstr "Acuerdo de nivel de servicio : los costes de la transacción se aplican siguiendo las reglas acordadas en el nivel de servicio (los mensajes Core de SEPA deben usar esta opción). Compartido : los costes cargados en la parte deudora deben ser sufragados por el deudor, los costes cargados en la parte acreedora deben ser sufragados por el acreedor. Sufragados por el acreedor : todos los costes son sufragados por el acreedor. Sufragados por el deudor : todos los costes son sufragados por el deudor." |
1444 | |
1445 | #. module: account_payment_sepa_direct_debit |
1446 | #: view:sdd.mandate:0 |
1447 | @@ -196,7 +169,7 @@ |
1448 | #. module: account_payment_sepa_direct_debit |
1449 | #: help:sdd.mandate,message_summary:0 |
1450 | msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views." |
1451 | -msgstr "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views." |
1452 | +msgstr "Almacena el resumen de mensajes número de mensajes, ...). Este resumen está en formato html para que pueda ser incrustado en las vistas kanban." |
1453 | |
1454 | #. module: account_payment_sepa_direct_debit |
1455 | #: model:payment.type,name:account_payment_sepa_direct_debit.export_sdd_008_001_02 |
1456 | @@ -214,12 +187,6 @@ |
1457 | msgstr "Fecha de creación" |
1458 | |
1459 | #. module: account_payment_sepa_direct_debit |
1460 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:396 |
1461 | -#, python-format |
1462 | -msgid "The payment line with reference '%s' has the bank account '%s' which is not attached to the mandate '%s' (this mandate is attached to the bank account '%s')." |
1463 | -msgstr "La lína de pago '%s' tiene la cuenta bancaria '%s' no tiene tiene adjuntado el mandato '%s' (el mandato debe estar adjuntado a la cuenta bancaria '%s')." |
1464 | - |
1465 | -#. module: account_payment_sepa_direct_debit |
1466 | #: selection:banking.export.sdd.wizard,state:0 |
1467 | msgid "Create" |
1468 | msgstr "Crear" |
1469 | @@ -243,10 +210,10 @@ |
1470 | msgstr "Estado" |
1471 | |
1472 | #. module: account_payment_sepa_direct_debit |
1473 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:240 |
1474 | -#, python-format |
1475 | -msgid "The recurrent mandate '%s' must have a sequence type." |
1476 | -msgstr "El mandato recurrente '%s' debe tener un tipo de secuencia." |
1477 | +#: view:sdd.mandate:0 |
1478 | +#: selection:sdd.mandate,state:0 |
1479 | +msgid "Valid" |
1480 | +msgstr "Válido" |
1481 | |
1482 | #. module: account_payment_sepa_direct_debit |
1483 | #: field:sdd.mandate,message_follower_ids:0 |
1484 | @@ -281,22 +248,38 @@ |
1485 | msgstr "Identificar original del acreedor" |
1486 | |
1487 | #. module: account_payment_sepa_direct_debit |
1488 | +#: constraint:payment.line:0 |
1489 | +#: constraint:sdd.mandate:0 |
1490 | +msgid "Error msg in raise" |
1491 | +msgstr "Error msg in raise" |
1492 | + |
1493 | +#. module: account_payment_sepa_direct_debit |
1494 | #: selection:sdd.mandate,recurrent_sequence_type:0 |
1495 | msgid "Recurring" |
1496 | msgstr "Recurrente" |
1497 | |
1498 | #. module: account_payment_sepa_direct_debit |
1499 | +#: report:sdd.mandate:0 |
1500 | +msgid "BIC:" |
1501 | +msgstr "BIC:" |
1502 | + |
1503 | +#. module: account_payment_sepa_direct_debit |
1504 | #: help:res.company,sepa_creditor_identifier:0 |
1505 | msgid "Enter the Creditor Identifier that has been attributed to your company to make SEPA Direct Debits. This identifier is composed of :\n" |
1506 | "- your country ISO code (2 letters)\n" |
1507 | "- a 2-digits checkum\n" |
1508 | "- a 3-letters business code\n" |
1509 | "- a country-specific identifier" |
1510 | -msgstr "Enter the Creditor Identifier that has been attributed to your company to make SEPA Direct Debits. This identifier is composed of :\n" |
1511 | -"- your country ISO code (2 letters)\n" |
1512 | -"- a 2-digits checkum\n" |
1513 | -"- a 3-letters business code\n" |
1514 | -"- a country-specific identifier" |
1515 | +msgstr "Introduzca el identificador SEPA de su empresa para hacer las órdenes de adeudo directo SEPA. Normalmente debe componerse de:\n" |
1516 | +"- código ISO del país (2 letras)\n" |
1517 | +"- un código de control de 2 dígitos\n" |
1518 | +"- un código de empresa de 3 letras\n" |
1519 | +"- un identificar específico del país" |
1520 | + |
1521 | +#. module: account_payment_sepa_direct_debit |
1522 | +#: report:sdd.mandate:0 |
1523 | +msgid "El Deudor (*)" |
1524 | +msgstr "El Deudor (*)" |
1525 | |
1526 | #. module: account_payment_sepa_direct_debit |
1527 | #: sql_constraint:sdd.mandate:0 |
1528 | @@ -306,7 +289,7 @@ |
1529 | #. module: account_payment_sepa_direct_debit |
1530 | #: help:sdd.mandate,state:0 |
1531 | msgid "Only valid mandates can be used in a payment line. A cancelled mandate is a mandate that has been cancelled by the customer. A one-off mandate expires after its first use. A recurrent mandate expires after it's final use or if it hasn't been used for 36 months." |
1532 | -msgstr "Only valid mandates can be used in a payment line. A cancelled mandate is a mandate that has been cancelled by the customer. A one-off mandate expires after its first use. A recurrent mandate expires after it's final use or if it hasn't been used for 36 months." |
1533 | +msgstr "Sólo pueden incluirse líneas de pago con mandatos válidos. Un mandato cancelado es un mandato que ha sido cancelado por el cliente. Un mandato único expira después de su primer uso. Un mandato recurrente expira después de su último uso o si no ha sido usado en 36 meses." |
1534 | |
1535 | #. module: account_payment_sepa_direct_debit |
1536 | #: help:sdd.mandate,recurrent_sequence_type:0 |
1537 | @@ -314,12 +297,6 @@ |
1538 | msgstr "Este campo solo se utiliza en los mandatos recurrentes, no para los mandatos únicos." |
1539 | |
1540 | #. module: account_payment_sepa_direct_debit |
1541 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:213 |
1542 | -#, python-format |
1543 | -msgid "The date of signature of mandate '%s' is in the future !" |
1544 | -msgstr "La fecha de la firma del mandato '%s' es posterior a la fecha actual !" |
1545 | - |
1546 | -#. module: account_payment_sepa_direct_debit |
1547 | #: view:sdd.mandate:0 |
1548 | msgid "Signature Date" |
1549 | msgstr "Fecha de la firma" |
1550 | @@ -346,6 +323,11 @@ |
1551 | msgstr "Fecha de firma del mandato" |
1552 | |
1553 | #. module: account_payment_sepa_direct_debit |
1554 | +#: report:sdd.mandate:0 |
1555 | +msgid "Dirección: _____________________________________________________________" |
1556 | +msgstr "Dirección: _____________________________________________________________" |
1557 | + |
1558 | +#. module: account_payment_sepa_direct_debit |
1559 | #: model:mail.message.subtype,name:account_payment_sepa_direct_debit.mandate_cancel |
1560 | msgid "Mandate Cancelled" |
1561 | msgstr "Mandato cancelado" |
1562 | @@ -358,7 +340,7 @@ |
1563 | #. module: account_payment_sepa_direct_debit |
1564 | #: help:sdd.mandate,sepa_migrated:0 |
1565 | msgid "If this field is not active, the mandate section of the next direct debit file that include this mandate will contain the 'Original Mandate Identification' and the 'Original Creditor Scheme Identification'. This is required in a few countries (Belgium for instance), but not in all countries. If this is not required in your country, you should keep this field always active." |
1566 | -msgstr "If this field is not active, the mandate section of the next direct debit file that include this mandate will contain the 'Original Mandate Identification' and the 'Original Creditor Scheme Identification'. This is required in a few countries (Belgium for instance), but not in all countries. If this is not required in your country, you should keep this field always active." |
1567 | +msgstr "Si este campo no está activo, la sección mandato del siguiente fichero de adeudo directo que incluya este mandato contendrá la 'Identificación Original del Mandato' y la 'Identificación Original del Acreedor'. Esto no es requerido en todos los países. Si en su país no es requerido debería mantener este campo activo." |
1568 | |
1569 | #. module: account_payment_sepa_direct_debit |
1570 | #: field:sdd.mandate,company_id:0 |
1571 | @@ -374,13 +356,7 @@ |
1572 | #: help:banking.export.sdd,batch_booking:0 |
1573 | #: help:banking.export.sdd.wizard,batch_booking:0 |
1574 | msgid "If true, the bank statement will display only one credit line for all the direct debits of the SEPA file ; if false, the bank statement will display one credit line per direct debit of the SEPA file." |
1575 | -msgstr "If true, the bank statement will display only one credit line for all the direct debits of the SEPA file ; if false, the bank statement will display one credit line per direct debit of the SEPA file." |
1576 | - |
1577 | -#. module: account_payment_sepa_direct_debit |
1578 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:225 |
1579 | -#, python-format |
1580 | -msgid "Cannot validate the mandate '%s' because it is not attached to a bank account." |
1581 | -msgstr "No se puede valiar el mandato '%s' porque no esta adjuntado a la cuenta bancaria." |
1582 | +msgstr "Si se marca, el extracto bancario mostrará una sola línea para todas los adeudos del fichero SEPA ; en caso contrario mostrará una línea por línea de adeudo del fichero SEPA." |
1583 | |
1584 | #. module: account_payment_sepa_direct_debit |
1585 | #: selection:banking.export.sdd,state:0 |
1586 | @@ -390,12 +366,6 @@ |
1587 | msgstr "Borrador" |
1588 | |
1589 | #. module: account_payment_sepa_direct_debit |
1590 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:290 |
1591 | -#, python-format |
1592 | -msgid "Mandate update" |
1593 | -msgstr "Actualizar mandato" |
1594 | - |
1595 | -#. module: account_payment_sepa_direct_debit |
1596 | #: selection:banking.export.sdd,charge_bearer:0 |
1597 | #: selection:banking.export.sdd.wizard,charge_bearer:0 |
1598 | msgid "Shared" |
1599 | @@ -446,12 +416,6 @@ |
1600 | msgstr "Adeudo directo SEPA v03" |
1601 | |
1602 | #. module: account_payment_sepa_direct_debit |
1603 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:233 |
1604 | -#, python-format |
1605 | -msgid "The mandate '%s' can't have a date of last debit before the date of signature." |
1606 | -msgstr "El mandato '%s' tiene un adeudo con fecha anterior la fecha de firma." |
1607 | - |
1608 | -#. module: account_payment_sepa_direct_debit |
1609 | #: model:mail.message.subtype,description:account_payment_sepa_direct_debit.recurrent_sequence_type_final |
1610 | #: model:mail.message.subtype,name:account_payment_sepa_direct_debit.recurrent_sequence_type_final |
1611 | msgid "Sequence Type set to Final" |
1612 | @@ -463,11 +427,17 @@ |
1613 | msgstr "Es un seguidor" |
1614 | |
1615 | #. module: account_payment_sepa_direct_debit |
1616 | +#: report:sdd.mandate:0 |
1617 | +msgid "(*) Si el titular de la cuenta fuera distinto al Deudor definido, como deudor completar:" |
1618 | +msgstr "(*) Si el titular de la cuenta fuera distinto al Deudor definido, como deudor completar:" |
1619 | + |
1620 | +#. module: account_payment_sepa_direct_debit |
1621 | #: help:sdd.mandate,original_mandate_identification:0 |
1622 | msgid "When the field 'Migrated to SEPA' is not active, this field will be used as the Original Mandate Identification in the Direct Debit file." |
1623 | -msgstr "When the field 'Migrated to SEPA' is not active, this field will be used as the Original Mandate Identification in the Direct Debit file." |
1624 | +msgstr "Cuando el campo 'Migrado a SEPA' no está activo, este campo se usará como la Identificación de Mandato Original en el archivo de Adeudo Directo." |
1625 | |
1626 | #. module: account_payment_sepa_direct_debit |
1627 | +#: model:ir.actions.report.xml,name:account_payment_sepa_direct_debit.sdd_mandate_report |
1628 | #: view:payment.order:0 |
1629 | msgid "SDD Mandate" |
1630 | msgstr "Mandato SDD" |
1631 | @@ -493,6 +463,11 @@ |
1632 | msgstr "Mandato original requerido (SEPA)" |
1633 | |
1634 | #. module: account_payment_sepa_direct_debit |
1635 | +#: report:sdd.mandate:0 |
1636 | +msgid "Entidad prestadora del servicio/Acreedor:" |
1637 | +msgstr "Entidad prestadora del servicio/Acreedor:" |
1638 | + |
1639 | +#. module: account_payment_sepa_direct_debit |
1640 | #: field:account.invoice,sdd_mandate_id:0 |
1641 | #: model:ir.model,name:account_payment_sepa_direct_debit.model_sdd_mandate |
1642 | #: field:payment.line,sdd_mandate_id:0 |
1643 | @@ -501,18 +476,6 @@ |
1644 | msgstr "Mandato Adeudo directo SEPA" |
1645 | |
1646 | #. module: account_payment_sepa_direct_debit |
1647 | -#: code:addons/account_payment_sepa_direct_debit/wizard/export_sdd.py:194 |
1648 | -#, python-format |
1649 | -msgid "Missing SEPA Direct Debit mandate on the payment line with partner '%s' and Invoice ref '%s'." |
1650 | -msgstr "Missing SEPA Direct Debit mandate on the payment line with partner '%s' and Invoice ref '%s'." |
1651 | - |
1652 | -#. module: account_payment_sepa_direct_debit |
1653 | -#: code:addons/account_payment_sepa_direct_debit/wizard/export_sdd.py:211 |
1654 | -#, python-format |
1655 | -msgid "The mandate with reference '%s' for partner '%s' has type set to 'One-Off' and it has a last debit date set to '%s', so we can't use it." |
1656 | -msgstr "The mandate with reference '%s' for partner '%s' has type set to 'One-Off' and it has a last debit date set to '%s', so we can't use it." |
1657 | - |
1658 | -#. module: account_payment_sepa_direct_debit |
1659 | #: field:sdd.mandate,scan:0 |
1660 | msgid "Scan of the Mandate" |
1661 | msgstr "Mandato escaneado" |
1662 | @@ -528,16 +491,27 @@ |
1663 | msgstr "Mandato expirado" |
1664 | |
1665 | #. module: account_payment_sepa_direct_debit |
1666 | +#: report:sdd.mandate:0 |
1667 | +msgid "Tomador del servicio/Deudor:" |
1668 | +msgstr "Tomador del servicio/Deudor:" |
1669 | + |
1670 | +#. module: account_payment_sepa_direct_debit |
1671 | #: constraint:res.company:0 |
1672 | msgid "Invalid SEPA Creditor Identifier." |
1673 | msgstr "Identificador SEPA del acreedor no válido." |
1674 | |
1675 | #. module: account_payment_sepa_direct_debit |
1676 | +#: model:ir.actions.act_window,name:account_payment_sepa_direct_debit.action_res_partner_bank_account_form_sdd |
1677 | #: model:ir.model,name:account_payment_sepa_direct_debit.model_res_partner_bank |
1678 | msgid "Bank Accounts" |
1679 | msgstr "Cuentas bancarias" |
1680 | |
1681 | #. module: account_payment_sepa_direct_debit |
1682 | +#: report:sdd.mandate:0 |
1683 | +msgid "Domicilio de cobro:" |
1684 | +msgstr "Domicilio de cobro:" |
1685 | + |
1686 | +#. module: account_payment_sepa_direct_debit |
1687 | #: model:ir.actions.act_window,help:account_payment_sepa_direct_debit.sdd_mandate_action |
1688 | msgid "<p class=\"oe_view_nocontent_create\">\n" |
1689 | " Click to create a new SEPA Direct Debit Mandate.\n" |
1690 | @@ -546,9 +520,9 @@ |
1691 | " </p>\n" |
1692 | " " |
1693 | msgstr "<p class=\"oe_view_nocontent_create\">\n" |
1694 | -" Click to create a new SEPA Direct Debit Mandate.\n" |
1695 | +" Pulse para crear un nuevo Mandato de Adeudo Directo SEPA.\n" |
1696 | " </p><p>\n" |
1697 | -" A SEPA Direct Debit Mandate is a document signed by your customer that gives you the autorization to do one or several direct debits on his bank account.\n" |
1698 | +" Un Mandato de Adeudo Directo SEPA es un documento firmado por sus clientes que le da autorización para realizar uno o varios adeudos directos sobre su cuenta bancaria.\n" |
1699 | " </p>\n" |
1700 | " " |
1701 | |
1702 | @@ -558,10 +532,9 @@ |
1703 | msgstr "Información general" |
1704 | |
1705 | #. module: account_payment_sepa_direct_debit |
1706 | -#: view:sdd.mandate:0 |
1707 | -#: selection:sdd.mandate,state:0 |
1708 | -msgid "Valid" |
1709 | -msgstr "Válido" |
1710 | +#: report:sdd.mandate:0 |
1711 | +msgid "Lugar y fecha de la firma: ________________________, a ________ de _____________________ de" |
1712 | +msgstr "Lugar y fecha de la firma: ________________________, a ________ de _____________________ de" |
1713 | |
1714 | #. module: account_payment_sepa_direct_debit |
1715 | #: model:ir.model,name:account_payment_sepa_direct_debit.model_account_invoice |
1716 | @@ -592,14 +565,24 @@ |
1717 | msgstr "Tipo de mandato" |
1718 | |
1719 | #. module: account_payment_sepa_direct_debit |
1720 | +#: field:banking.export.sdd,file:0 |
1721 | +msgid "SEPA File" |
1722 | +msgstr "Archivo SEPA" |
1723 | + |
1724 | +#. module: account_payment_sepa_direct_debit |
1725 | #: model:mail.message.subtype,name:account_payment_sepa_direct_debit.mandate_valid |
1726 | msgid "Mandate Validated" |
1727 | msgstr "Mandato validado" |
1728 | |
1729 | #. module: account_payment_sepa_direct_debit |
1730 | -#: field:banking.export.sdd,file:0 |
1731 | -msgid "SEPA File" |
1732 | -msgstr "Archivo SEPA" |
1733 | +#: report:sdd.mandate:0 |
1734 | +msgid "Mediante la firma de esta orden de domiciliación, el Deudor autoriza a" |
1735 | +msgstr "Mediante la firma de esta orden de domiciliación, el Deudor autoriza a" |
1736 | + |
1737 | +#. module: account_payment_sepa_direct_debit |
1738 | +#: report:sdd.mandate:0 |
1739 | +msgid "Nombre y apellidos o razón social: ____________________________________________________________" |
1740 | +msgstr "Nombre y apellidos o razón social: ____________________________________________________________" |
1741 | |
1742 | #. module: account_payment_sepa_direct_debit |
1743 | #: field:res.company,sepa_creditor_identifier:0 |
1744 | @@ -612,33 +595,41 @@ |
1745 | msgstr "Exportar Adeudo directo SEPA" |
1746 | |
1747 | #. module: account_payment_sepa_direct_debit |
1748 | +#: report:sdd.mandate:0 |
1749 | +msgid "Como parte de sus derechos, el Deudor está legitimado al reembolso por su Entidad en los términos y condiciones del contrato suscrito con la misma. La solicitud de reembolso deberá efectuarse dentro de las ocho semanas que siguen a la fecha de adeudo en cuenta." |
1750 | +msgstr "Como parte de sus derechos, el Deudor está legitimado al reembolso por su Entidad en los términos y condiciones del contrato suscrito con la misma. La solicitud de reembolso deberá efectuarse dentro de las ocho semanas que siguen a la fecha de adeudo en cuenta." |
1751 | + |
1752 | +#. module: account_payment_sepa_direct_debit |
1753 | #: view:sdd.mandate:0 |
1754 | #: selection:sdd.mandate,state:0 |
1755 | msgid "Expired" |
1756 | msgstr "Expirado" |
1757 | |
1758 | #. module: account_payment_sepa_direct_debit |
1759 | +#: report:sdd.mandate:0 |
1760 | +msgid "MANDATO DE ADEUDO DIRECTO SEPA" |
1761 | +msgstr "MANDATO DE ADEUDO DIRECTO SEPA" |
1762 | + |
1763 | +#. module: account_payment_sepa_direct_debit |
1764 | #: field:sdd.mandate,partner_bank_id:0 |
1765 | msgid "Bank Account" |
1766 | msgstr "Cuenta bancaria" |
1767 | |
1768 | #. module: account_payment_sepa_direct_debit |
1769 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:254 |
1770 | -#, python-format |
1771 | -msgid "You must set the 'Original Mandate Identification' on the recurrent mandate '%s' which is not marked as 'Migrated to SEPA'." |
1772 | -msgstr "You must set the 'Original Mandate Identification' on the recurrent mandate '%s' which is not marked as 'Migrated to SEPA'." |
1773 | +#: report:sdd.mandate:0 |
1774 | +msgid "IBAN:" |
1775 | +msgstr "IBAN:" |
1776 | |
1777 | #. module: account_payment_sepa_direct_debit |
1778 | #: model:mail.message.subtype,description:account_payment_sepa_direct_debit.recurrent_sequence_type_first |
1779 | #: model:mail.message.subtype,name:account_payment_sepa_direct_debit.recurrent_sequence_type_first |
1780 | msgid "Sequence Type set to First" |
1781 | -msgstr "Establezca el tipo de secuencia a Inicial" |
1782 | +msgstr "Tipo de secuencia establecida a Inicial" |
1783 | |
1784 | #. module: account_payment_sepa_direct_debit |
1785 | -#: code:addons/account_payment_sepa_direct_debit/account_banking_sdd.py:291 |
1786 | -#, python-format |
1787 | -msgid "As you changed the bank account attached to this mandate, the 'Sequence Type' has been set back to 'First'." |
1788 | -msgstr "As you changed the bank account attached to this mandate, the 'Sequence Type' has been set back to 'First'." |
1789 | +#: report:sdd.mandate:0 |
1790 | +msgid "NIF :" |
1791 | +msgstr "NIF :" |
1792 | |
1793 | #. module: account_payment_sepa_direct_debit |
1794 | #: help:sdd.mandate,message_ids:0 |
1795 | @@ -651,6 +642,21 @@ |
1796 | msgstr "Buscar mandatos de Adeudo directo SEPA" |
1797 | |
1798 | #. module: account_payment_sepa_direct_debit |
1799 | +#: report:sdd.mandate:0 |
1800 | +msgid "NIF: ______________________________" |
1801 | +msgstr "NIF: ______________________________" |
1802 | + |
1803 | +#. module: account_payment_sepa_direct_debit |
1804 | +#: report:sdd.mandate:0 |
1805 | +msgid "cia:" |
1806 | +msgstr "cia:" |
1807 | + |
1808 | +#. module: account_payment_sepa_direct_debit |
1809 | +#: report:sdd.mandate:0 |
1810 | +msgid "CP y localidad: __________________________________________________________________" |
1811 | +msgstr "CP y localidad: __________________________________________________________________" |
1812 | + |
1813 | +#. module: account_payment_sepa_direct_debit |
1814 | #: field:banking.export.sdd.wizard,file:0 |
1815 | msgid "File" |
1816 | msgstr "Archivo" |
1817 | |
1818 | === added directory 'account_payment_sepa_direct_debit/report' |
1819 | === added file 'account_payment_sepa_direct_debit/report/__init__.py' |
1820 | --- account_payment_sepa_direct_debit/report/__init__.py 1970-01-01 00:00:00 +0000 |
1821 | +++ account_payment_sepa_direct_debit/report/__init__.py 2014-03-13 16:55:50 +0000 |
1822 | @@ -0,0 +1,24 @@ |
1823 | +# -*- coding: utf-8 -*- |
1824 | +############################################################################## |
1825 | +# |
1826 | +# OpenERP, Open Source Management Solution |
1827 | +# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). |
1828 | +# |
1829 | +# This program is free software: you can redistribute it and/or modify |
1830 | +# it under the terms of the GNU Affero General Public License as |
1831 | +# published by the Free Software Foundation, either version 3 of the |
1832 | +# License, or (at your option) any later version. |
1833 | +# |
1834 | +# This program is distributed in the hope that it will be useful, |
1835 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1836 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1837 | +# GNU Affero General Public License for more details. |
1838 | +# |
1839 | +# You should have received a copy of the GNU Affero General Public License |
1840 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1841 | +# |
1842 | +############################################################################## |
1843 | + |
1844 | +import sdd_mandate_report |
1845 | + |
1846 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1847 | |
1848 | === added file 'account_payment_sepa_direct_debit/report/sdd_mandate_report.py' |
1849 | --- account_payment_sepa_direct_debit/report/sdd_mandate_report.py 1970-01-01 00:00:00 +0000 |
1850 | +++ account_payment_sepa_direct_debit/report/sdd_mandate_report.py 2014-03-13 16:55:50 +0000 |
1851 | @@ -0,0 +1,48 @@ |
1852 | +# -*- coding: utf-8 -*- |
1853 | +############################################################################## |
1854 | +# |
1855 | +# OpenERP, Open Source Management Solution |
1856 | +# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). |
1857 | +# |
1858 | +# This program is free software: you can redistribute it and/or modify |
1859 | +# it under the terms of the GNU Affero General Public License as |
1860 | +# published by the Free Software Foundation, either version 3 of the |
1861 | +# License, or (at your option) any later version. |
1862 | +# |
1863 | +# This program is distributed in the hope that it will be useful, |
1864 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1865 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1866 | +# GNU Affero General Public License for more details. |
1867 | +# |
1868 | +# You should have received a copy of the GNU Affero General Public License |
1869 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1870 | +# |
1871 | +############################################################################## |
1872 | + |
1873 | +import time |
1874 | +from openerp.report import report_sxw |
1875 | + |
1876 | +class sdd_mandate(report_sxw.rml_parse): |
1877 | + def __init__(self, cr, uid, name, context): |
1878 | + super(sdd_mandate, self).__init__(cr, uid, name, context=context) |
1879 | + self.localcontext.update({ |
1880 | + 'time': time, |
1881 | + 'sdd_mandate_type': self._sdd_mandate_type |
1882 | + }) |
1883 | + |
1884 | + def _sdd_mandate_type(self, mandate): |
1885 | + |
1886 | + mandate_type = '' |
1887 | + |
1888 | + if mandate.type: |
1889 | + mandate_type = dict(self.pool.get('sdd.mandate').fields_get(self.cr, self.uid, allfields=['type'], context=self.localcontext)['type']['selection'])[mandate.type] |
1890 | + |
1891 | + return mandate_type |
1892 | + |
1893 | +report_sxw.report_sxw( |
1894 | + 'report.sdd.mandate', |
1895 | + 'sdd.mandate', |
1896 | + 'addons/account_payment_sepa_direct_debit/report/sdd_mandate_report.rml', |
1897 | + parser=sdd_mandate |
1898 | +) |
1899 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1900 | |
1901 | === added file 'account_payment_sepa_direct_debit/report/sdd_mandate_report.rml' |
1902 | --- account_payment_sepa_direct_debit/report/sdd_mandate_report.rml 1970-01-01 00:00:00 +0000 |
1903 | +++ account_payment_sepa_direct_debit/report/sdd_mandate_report.rml 2014-03-13 16:55:50 +0000 |
1904 | @@ -0,0 +1,213 @@ |
1905 | +<?xml version="1.0"?> |
1906 | +<document filename="test.pdf"> |
1907 | + <template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20"> |
1908 | + <pageTemplate id="first"> |
1909 | + <frame id="first" x1="34.0" y1="28.0" width="530" height="786"/> |
1910 | + </pageTemplate> |
1911 | + </template> |
1912 | + <stylesheet> |
1913 | + <blockTableStyle id="Standard_Outline"> |
1914 | + <blockAlignment value="LEFT"/> |
1915 | + <blockValign value="TOP"/> |
1916 | + </blockTableStyle> |
1917 | + <blockTableStyle id="Tabla7"> |
1918 | + <blockAlignment value="LEFT"/> |
1919 | + <blockValign value="TOP"/> |
1920 | + </blockTableStyle> |
1921 | + <blockTableStyle id="Tabla1"> |
1922 | + <blockAlignment value="LEFT"/> |
1923 | + <blockValign value="TOP"/> |
1924 | + <lineStyle kind="LINEBEFORE" colorName="#999999" start="0,0" stop="0,-1"/> |
1925 | + <lineStyle kind="LINEABOVE" colorName="#999999" start="0,0" stop="0,0"/> |
1926 | + <lineStyle kind="LINEBELOW" colorName="#999999" start="0,-1" stop="0,-1"/> |
1927 | + <lineStyle kind="LINEBEFORE" colorName="#999999" start="1,0" stop="1,-1"/> |
1928 | + <lineStyle kind="LINEAFTER" colorName="#999999" start="1,0" stop="1,-1"/> |
1929 | + <lineStyle kind="LINEABOVE" colorName="#999999" start="1,0" stop="1,0"/> |
1930 | + <lineStyle kind="LINEBELOW" colorName="#999999" start="1,-1" stop="1,-1"/> |
1931 | + </blockTableStyle> |
1932 | + <blockTableStyle id="Tabla10"> |
1933 | + <blockAlignment value="LEFT"/> |
1934 | + <blockValign value="TOP"/> |
1935 | + </blockTableStyle> |
1936 | + <blockTableStyle id="Tabla6"> |
1937 | + <blockAlignment value="LEFT"/> |
1938 | + <blockValign value="TOP"/> |
1939 | + </blockTableStyle> |
1940 | + <blockTableStyle id="Tabla3"> |
1941 | + <blockAlignment value="LEFT"/> |
1942 | + <blockValign value="TOP"/> |
1943 | + </blockTableStyle> |
1944 | + <blockTableStyle id="Tabla2"> |
1945 | + <blockAlignment value="LEFT"/> |
1946 | + <blockValign value="TOP"/> |
1947 | + <lineStyle kind="LINEBEFORE" colorName="#999999" start="0,0" stop="0,-1"/> |
1948 | + <lineStyle kind="LINEAFTER" colorName="#999999" start="0,0" stop="0,-1"/> |
1949 | + <lineStyle kind="LINEABOVE" colorName="#999999" start="0,0" stop="0,0"/> |
1950 | + <lineStyle kind="LINEBELOW" colorName="#999999" start="0,-1" stop="0,-1"/> |
1951 | + </blockTableStyle> |
1952 | + <blockTableStyle id="Tabla13"> |
1953 | + <blockAlignment value="LEFT"/> |
1954 | + <blockValign value="TOP"/> |
1955 | + </blockTableStyle> |
1956 | + <initialize> |
1957 | + <paraStyle name="all" alignment="justify"/> |
1958 | + </initialize> |
1959 | + <paraStyle name="P1" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/> |
1960 | + <paraStyle name="P2" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/> |
1961 | + <paraStyle name="P3" fontName="Helvetica" fontSize="10.0" leading="13" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/> |
1962 | + <paraStyle name="P4" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/> |
1963 | + <paraStyle name="P5" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/> |
1964 | + <paraStyle name="P6" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> |
1965 | + <paraStyle name="P7" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> |
1966 | + <paraStyle name="P8" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0" textColor="#000000"/> |
1967 | + <paraStyle name="P9" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/> |
1968 | + <paraStyle name="P10" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/> |
1969 | + <paraStyle name="Standard" fontName="Helvetica"/> |
1970 | + <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/> |
1971 | + <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/> |
1972 | + <paraStyle name="Table Contents" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/> |
1973 | + <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/> |
1974 | + <paraStyle name="Caption" fontName="Helvetica" fontSize="10.0" leading="13" spaceBefore="6.0" spaceAfter="6.0"/> |
1975 | + <paraStyle name="Index" fontName="Helvetica"/> |
1976 | + <paraStyle name="Heading" fontName="Helvetica" fontSize="15.0" leading="19" spaceBefore="12.0" spaceAfter="6.0"/> |
1977 | + <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/> |
1978 | + <paraStyle name="terp_default_8" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> |
1979 | + <paraStyle name="Footer" fontName="Helvetica"/> |
1980 | + <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/> |
1981 | + <paraStyle name="Heading 9" fontName="Helvetica-Bold" fontSize="75%" leading="NaN" spaceBefore="12.0" spaceAfter="6.0"/> |
1982 | + <paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/> |
1983 | + <paraStyle name="terp_tblheader_Details" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/> |
1984 | + <paraStyle name="terp_default_Bold_8" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> |
1985 | + <paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/> |
1986 | + <paraStyle name="terp_tblheader_General_Right" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/> |
1987 | + <paraStyle name="terp_tblheader_Details_Centre" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/> |
1988 | + <paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/> |
1989 | + <paraStyle name="terp_default_Right_8" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/> |
1990 | + <paraStyle name="terp_default_Centre_8" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/> |
1991 | + <paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/> |
1992 | + <paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/> |
1993 | + <paraStyle name="terp_default_address" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> |
1994 | + <paraStyle name="terp_default_9" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> |
1995 | + <paraStyle name="terp_default_Bold_9" rightIndent="0.0" leftIndent="-3.0" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> |
1996 | + <paraStyle name="terp_default_Centre_9" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/> |
1997 | + <paraStyle name="terp_default_Right_9" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/> |
1998 | + <paraStyle name="terp_default_Bold_Right_9" rightIndent="0.0" leftIndent="-3.0" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/> |
1999 | + <paraStyle name="terp_default_2" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> |
2000 | + <paraStyle name="terp_default_White_2" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0" textColor="#ffffff"/> |
2001 | + <paraStyle name="terp_default_Note" rightIndent="0.0" leftIndent="9.0" fontName="Helvetica-Oblique" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> |
2002 | + <paraStyle name="Table" fontName="Helvetica" fontSize="10.0" leading="13" spaceBefore="6.0" spaceAfter="6.0"/> |
2003 | + <paraStyle name="User Index 10" rightIndent="0.0" leftIndent="127.0" fontName="Helvetica" spaceBefore="0.0" spaceAfter="0.0"/> |
2004 | + <paraStyle name="Preformatted Text" fontName="Helvetica" fontSize="10.0" leading="13" spaceBefore="0.0" spaceAfter="0.0"/> |
2005 | + <images/> |
2006 | + </stylesheet> |
2007 | + <story> |
2008 | + <para style="terp_default_8">[[ repeatIn(objects,'o') ]]</para> |
2009 | + <para style="terp_default_8">[[ setLang(o.partner_id.lang) ]]</para> |
2010 | + <para style="terp_header"> |
2011 | + <font color="white"> </font> |
2012 | + </para> |
2013 | + <para style="terp_header">MANDATO DE ADEUDO DIRECTO SEPA</para> |
2014 | + <para style="terp_default_8">Referen<font face="Helvetica" size="8.0">cia: </font><font face="Helvetica" size="8.0">[[ (o.unique_mandate_reference) or '/' ]]</font></para> |
2015 | + <blockTable colWidths="530.0" style="Tabla7"> |
2016 | + <tr> |
2017 | + <td> |
2018 | + <para style="P4"> |
2019 | + <font color="white"> </font> |
2020 | + </para> |
2021 | + </td> |
2022 | + </tr> |
2023 | + </blockTable> |
2024 | + <para style="P8"> |
2025 | + <font color="white"> </font> |
2026 | + </para> |
2027 | + <blockTable colWidths="265.0,265.0" style="Tabla1"> |
2028 | + <tr> |
2029 | + <td> |
2030 | + <para style="P2">Entidad prestadora del servicio/Acreedor:</para> |
2031 | + <para style="P7">[[ (o.company_id.partner_id and o.company_id.partner_id.name) or '' ]]</para> |
2032 | + <para style="P6">[[ display_address(o.company_id.partner_id) ]]</para> |
2033 | + <para style="P6">NIF : [[ (o.company_id.partner_id.vat) or '' ]]</para> |
2034 | + </td> |
2035 | + <td> |
2036 | + <para style="P3">Tomador del servicio/Deudor:</para> |
2037 | + <para style="P9">[[ (o.partner_id and o.partner_id.name) or '' ]]</para> |
2038 | + <para style="P5">[[ display_address(o.partner_id) ]]</para> |
2039 | + <para style="P5">NIF : [[ (o.partner_id.vat) or '' ]]</para> |
2040 | + </td> |
2041 | + </tr> |
2042 | + </blockTable> |
2043 | + <blockTable colWidths="530.0" style="Tabla10"> |
2044 | + <tr> |
2045 | + <td> |
2046 | + <para style="P4"> |
2047 | + <font color="white"> </font> |
2048 | + </para> |
2049 | + </td> |
2050 | + </tr> |
2051 | + </blockTable> |
2052 | + <para style="P8">Domicilio de cobro: [[ o.partner_bank_id.bank_name ]]</para> |
2053 | + <para style="P8">IBAN: [[ o.partner_bank_id.acc_number ]]</para> |
2054 | + <para style="P8">BIC: [[ o.partner_bank_id.bank_bic ]]</para> |
2055 | + <para style="P8">Tipo de pago: [[ sdd_mandate_type(o) ]]</para> |
2056 | + <blockTable colWidths="530.0" style="Tabla6"> |
2057 | + <tr> |
2058 | + <td> |
2059 | + <para style="P4"> |
2060 | + <font color="white"> </font> |
2061 | + </para> |
2062 | + </td> |
2063 | + </tr> |
2064 | + </blockTable> |
2065 | + <para style="terp_default_8">Mediante la firma de esta orden de domiciliación, el Deudor autoriza a <font face="Helvetica">[[ o.company_id.name ]]</font> a enviar instrucciones a la Entidad del Deudor para adeudar su cuenta y a la Entidad para efectuar los adeudos en su cuenta siguiendo las instrucciones de <font face="Helvetica">[[ o.company_id.name ]]</font></para> |
2066 | + <para style="terp_default_8"> |
2067 | + <font color="white"> </font> |
2068 | + </para> |
2069 | + <para style="terp_default_8">Como parte de sus derechos, el Deudor está legitimado al reembolso por su Entidad en los términos y condiciones del contrato suscrito con la misma. La solicitud de reembolso deberá efectuarse dentro de las ocho semanas que siguen a la fecha de adeudo en cuenta.</para> |
2070 | + <para style="terp_default_8"> |
2071 | + <font color="white"> </font> |
2072 | + </para> |
2073 | + <para style="terp_default_8">Lugar y fecha de la firma: ________________________, a ________ de _____________________ de [[ time.strftime('%Y')]]</para> |
2074 | + <blockTable colWidths="530.0" style="Tabla3"> |
2075 | + <tr> |
2076 | + <td> |
2077 | + <para style="P1"> |
2078 | + <font color="white"> </font> |
2079 | + </para> |
2080 | + </td> |
2081 | + </tr> |
2082 | + <tr> |
2083 | + <td> |
2084 | + <para style="P1"> |
2085 | + <font color="white"> </font> |
2086 | + </para> |
2087 | + </td> |
2088 | + </tr> |
2089 | + </blockTable> |
2090 | + <para style="terp_default_8">El Deudor (*)</para> |
2091 | + <para style="terp_default_8"> |
2092 | + <font color="white"> </font> |
2093 | + </para> |
2094 | + <blockTable colWidths="530.0" style="Tabla2"> |
2095 | + <tr> |
2096 | + <td> |
2097 | + <para style="P1">(*) Si el titular de la cuenta fuera distinto al Deudor definido, como deudor completar: </para> |
2098 | + <para style="P1">Nombre y apellidos o razón social: ____________________________________________________________ </para> |
2099 | + <para style="P1">NIF: ______________________________ </para> |
2100 | + <para style="P1">Dirección: _____________________________________________________________ </para> |
2101 | + <para style="P1">CP y localidad: __________________________________________________________________ </para> |
2102 | + <para style="P1">El titular de la cuenta autoriza al Acreedor al tratamiento informatizado de sus datos personales para la finalidad del Mandato SEPA, así como la cesión de los mismos, que se producirá para la gestión del adeudo, informándole que podrá acceder, rectificar, cancelar y oponerse al contenido de sus datos mediante comunicación dirigida al Responsable del fichero de datos personales, <font face="Helvetica">[[ o.company_id.name ]]</font>, en su domicilio social (<font face="Helvetica">[[ o.company_id.street ]]</font><font face="Helvetica">, </font><font face="Helvetica">[[ o.company_id.zip ]], [[ o.company_id.city ]] ([[ o.company_id.country_id.name ]])</font>) en los términos establecidos en la Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de Carácter Personal (LOPD). </para> |
2103 | + </td> |
2104 | + </tr> |
2105 | + </blockTable> |
2106 | + <blockTable colWidths="530.0" style="Tabla13"> |
2107 | + <tr> |
2108 | + <td> |
2109 | + <para style="P1"> |
2110 | + <font color="white"> </font> |
2111 | + </para> |
2112 | + </td> |
2113 | + </tr> |
2114 | + </blockTable> |
2115 | + <para style="terp_default_8">Por favor devolver firmado a su comercial asignado para uso exclusivo del Acreedor. Puede obtener información adicional sobre sus derechos en su entidad financiera.</para> |
2116 | + </story> |
2117 | +</document> |
2118 | |
2119 | === added file 'account_payment_sepa_direct_debit/report/sdd_mandate_report.sxw' |
2120 | Binary files account_payment_sepa_direct_debit/report/sdd_mandate_report.sxw 1970-01-01 00:00:00 +0000 and account_payment_sepa_direct_debit/report/sdd_mandate_report.sxw 2014-03-13 16:55:50 +0000 differ |
2121 | === modified file 'account_payment_sepa_direct_debit/res_partner_bank_view.xml' |
2122 | --- account_payment_sepa_direct_debit/res_partner_bank_view.xml 2014-02-28 12:48:32 +0000 |
2123 | +++ account_payment_sepa_direct_debit/res_partner_bank_view.xml 2014-03-13 16:55:50 +0000 |
2124 | @@ -47,5 +47,16 @@ |
2125 | </field> |
2126 | </record> |
2127 | |
2128 | +<record id="action_res_partner_bank_account_form_sdd" model="ir.actions.act_window"> |
2129 | + <field name="name">Bank Accounts</field> |
2130 | + <field name="res_model">res.partner.bank</field> |
2131 | + <field name="inherit_id" ref="base.action_res_partner_bank_account_form" /> |
2132 | + <field name="arch" type="xml"> |
2133 | + <xpath expr="//field[@name='view_mode']" position="after"> |
2134 | + <field name="search_view_id" ref="base.view_partner_bank_search"/> |
2135 | + </xpath> |
2136 | + </field> |
2137 | +</record> |
2138 | + |
2139 | </data> |
2140 | </openerp> |
2141 | |
2142 | === added file 'account_payment_sepa_direct_debit/sdd_report.xml' |
2143 | --- account_payment_sepa_direct_debit/sdd_report.xml 1970-01-01 00:00:00 +0000 |
2144 | +++ account_payment_sepa_direct_debit/sdd_report.xml 2014-03-13 16:55:50 +0000 |
2145 | @@ -0,0 +1,14 @@ |
2146 | +<?xml version="1.0" encoding="utf-8"?> |
2147 | +<openerp> |
2148 | + <data> |
2149 | + <report |
2150 | + auto="False" |
2151 | + id="sdd_mandate_report" |
2152 | + model="sdd.mandate" |
2153 | + name="sdd.mandate" |
2154 | + rml="account_payment_sepa_direct_debit/report/sdd_mandate_report.rml" |
2155 | + string="SDD Mandate" |
2156 | + usage="default" |
2157 | + /> |
2158 | + </data> |
2159 | +</openerp> |
2160 | |
2161 | === modified file 'account_payment_sepa_direct_debit/wizard/export_sdd.py' |
2162 | --- account_payment_sepa_direct_debit/wizard/export_sdd.py 2014-02-09 12:20:04 +0000 |
2163 | +++ account_payment_sepa_direct_debit/wizard/export_sdd.py 2014-03-13 16:55:50 +0000 |
2164 | @@ -389,16 +389,21 @@ |
2165 | 'line.bank_id.acc_number', |
2166 | 'line.bank_id.bank.bic', |
2167 | {'line': line}, gen_args, context=context) |
2168 | - |
2169 | + |
2170 | self.generate_remittance_info_block( |
2171 | cr, uid, dd_transaction_info_2_28, |
2172 | - line, gen_args, context=context) |
2173 | + line, 'line.ml_inv_ref.number', gen_args, context=context) |
2174 | |
2175 | nb_of_transactions_2_4.text = str(transactions_count_2_4) |
2176 | control_sum_2_5.text = '%.2f' % amount_control_sum_2_5 |
2177 | nb_of_transactions_1_6.text = str(transactions_count_1_6) |
2178 | control_sum_1_7.text = '%.2f' % amount_control_sum_1_7 |
2179 | - |
2180 | + |
2181 | + # Call set_done in payment.order to make payment account moves when |
2182 | + # create_account_moves = 'direct-payment' |
2183 | + payment_order_ids = context.get('active_ids', []) |
2184 | + self.pool.get('payment.order').set_done(cr, uid, payment_order_ids, context) |
2185 | + |
2186 | return self.finalize_sepa_file_creation( |
2187 | cr, uid, ids, xml_root, total_amount, transactions_count_1_6, |
2188 | gen_args, context=context) |
Also modified account_payment.py in account_ payment_ export to add a call to the method set_done in super (payment.order) which creates payment account move lines when create_ account_ moves field equals 'direct-payment' (added in account_ payment_ extension)