[FIX+IMP] account_banking_sepa_direct_debit: Several things:

* Restore scheme field in mandate view
* Uncaught flake8 errors
* Set args correctly for cron job
* Split for removing stock dependency on sale
* Remove old translations templates
* More reorder on folder structure
* Translation template files
* Translations to spanish
This commit is contained in:
Pedro M. Baeza
2014-10-21 01:53:12 +02:00
parent a72a814fe1
commit f26c07bd77
7 changed files with 809 additions and 554 deletions

View File

@@ -18,7 +18,7 @@
<field name="doall" eval="False"/>
<field name="model" eval="'account.banking.mandate'"/>
<field name="function" eval="'_sdd_mandate_set_state_to_expired'" />
<field name="args" eval="'()'"/>
<field name="args" eval="'(None, )'"/>
</record>
</data>
</openerp>

View File

@@ -1,13 +1,13 @@
# Translation of OpenERP Server.
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_banking_sepa_direct_debit
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-12-23 22:24+0000\n"
"PO-Revision-Date: 2013-12-23 22:24+0000\n"
"POT-Creation-Date: 2014-10-31 22:53+0000\n"
"PO-Revision-Date: 2014-10-31 22:53+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -16,58 +16,35 @@ msgstr ""
"Plural-Forms: \n"
#. module: account_banking_sepa_direct_debit
#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.mandate_valid
msgid "SEPA Direct Debit Mandate Validated"
#: model:ir.actions.act_window,help:account_banking_sepa_direct_debit.mandate_action
msgid "<p class=\"oe_view_nocontent_create\">\n"
" Click to create a new SEPA Direct Debit Mandate.\n"
" </p><p>\n"
" 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"
" </p>\n"
" "
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,filename:0
#: field:banking.export.sdd.wizard,filename:0
msgid "Filename"
#: model:ir.model,name:account_banking_sepa_direct_debit.model_account_banking_mandate
msgid "A generic banking mandate"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:200
#: code:addons/account_banking_sepa_direct_debit/models/account_banking_mandate.py:120
#, python-format
msgid "The SEPA Direct Debit mandate with reference '%s' for partner '%s' has expired."
msgid "As you changed the bank account attached to this mandate, the 'Sequence Type' has been set back to 'First'."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:219
#, python-format
msgid "Cannot validate the mandate '%s' without a date of signature."
#: selection:account.banking.mandate,scheme:0
msgid "Basic (CORE)"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: selection:sdd.mandate,recurrent_sequence_type:0
msgid "Final"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd.wizard,state:0
msgid "Finish"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:res.partner:0
#: view:res.partner.bank:0
msgid "SDD Mandates"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: constraint:payment.line:0
#: constraint:sdd.mandate:0
msgid "Error msg in raise"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,state:0
msgid "Reconciled"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,recurrent_sequence_type:0
msgid "Sequence Type for Next Debit"
#: field:banking.export.sdd,batch_booking:0
#: field:banking.export.sdd.wizard,batch_booking:0
msgid "Batch Booking"
msgstr ""
#. module: account_banking_sepa_direct_debit
@@ -76,36 +53,6 @@ msgstr ""
msgid "Borne by Creditor"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.sdd_mandate_action
#: model:ir.ui.menu,name:account_banking_sepa_direct_debit.sdd_mandate_menu
#: view:res.partner.bank:0
#: field:res.partner.bank,sdd_mandate_ids:0
msgid "SEPA Direct Debit Mandates"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd.wizard:0
#: view:sdd.mandate:0
msgid "Validate"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.recurrent_sequence_type_recurring
#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.recurrent_sequence_type_recurring
msgid "Sequence Type set to Recurring"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd.wizard:0
msgid "Generate"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.mandate_cancel
msgid "SEPA Direct Debit Mandate Cancelled"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,charge_bearer:0
#: selection:banking.export.sdd.wizard,charge_bearer:0
@@ -113,105 +60,19 @@ msgid "Borne by Debtor"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:212
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:218
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:224
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:232
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:239
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:245
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:253
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:395
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:140
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:192
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:199
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:209
#, python-format
msgid "Error:"
#: view:banking.export.sdd.wizard:account_banking_sepa_direct_debit.banking_export_sdd_wizard_view
msgid "Cancel"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,message_ids:0
msgid "Messages"
#: field:banking.export.sdd,charge_bearer:0
#: field:banking.export.sdd.wizard,charge_bearer:0
msgid "Charge Bearer"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,unique_mandate_reference:0
msgid "Unique Mandate Reference"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:sdd.mandate:0
#: selection:sdd.mandate,state:0
msgid "Cancelled"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:141
#, python-format
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'."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:sdd.mandate,message_unread:0
msgid "If checked new messages require your attention."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd.wizard,file_id:0
msgid "SDD File"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.mandate_expired
msgid "SEPA Direct Debit Mandate has Expired"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:246
#, python-format
msgid "The recurrent mandate '%s' which is not marked as 'Migrated to SEPA' must have its recurrent sequence type set to 'First'."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:banking.export.sdd,charge_bearer:0
#: help:banking.export.sdd.wizard,charge_bearer:0
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."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:sdd.mandate:0
msgid "Reference"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd:0
msgid "SEPA Direct Debit"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd.wizard:0
msgid "SEPA Direct Debit XML file generation"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:sdd.mandate,message_summary:0
msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.model,name:account_banking_sepa_direct_debit.model_payment_line
msgid "Payment Line"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,create_date:0
msgid "Generation Date"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:396
#, python-format
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')."
#: model:ir.model,name:account_banking_sepa_direct_debit.model_res_company
msgid "Companies"
msgstr ""
#. module: account_banking_sepa_direct_debit
@@ -220,64 +81,19 @@ msgid "Create"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,nb_transactions:0
#: field:banking.export.sdd.wizard,nb_transactions:0
msgid "Number of Transactions"
#: field:banking.export.sdd,create_uid:0
#: field:banking.export.sdd.wizard,create_uid:0
msgid "Created by"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:sdd.mandate:0
#: selection:sdd.mandate,type:0
msgid "One-Off"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,state:0
#: field:banking.export.sdd.wizard,state:0
msgid "State"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:240
#, python-format
msgid "The recurrent mandate '%s' must have a sequence type."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,message_follower_ids:0
msgid "Followers"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,message_unread:0
msgid "Unread Messages"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd:0
#: field:banking.export.sdd,payment_order_ids:0
#: field:banking.export.sdd.wizard,payment_order_ids:0
msgid "Payment Orders"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:sdd.mandate:0
msgid "Type"
#: field:banking.export.sdd.wizard,create_date:0
msgid "Created on"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,state:0
msgid "Sent"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:res.company,original_creditor_identifier:0
msgid "Original Creditor Identifier"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: selection:sdd.mandate,recurrent_sequence_type:0
msgid "Recurring"
msgid "Draft"
msgstr ""
#. module: account_banking_sepa_direct_debit
@@ -290,70 +106,23 @@ msgid "Enter the Creditor Identifier that has been attributed to your company to
msgstr ""
#. module: account_banking_sepa_direct_debit
#: sql_constraint:sdd.mandate:0
msgid "A Mandate with the same reference already exists for this company !"
#: selection:account.banking.mandate,scheme:0
msgid "Enterprise (B2B)"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:sdd.mandate,state:0
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."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:sdd.mandate,recurrent_sequence_type:0
msgid "This field is only used for Recurrent mandates, not for One-Off mandates."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:213
#: code:addons/account_banking_sepa_direct_debit/models/res_company.py:79
#, python-format
msgid "The date of signature of mandate '%s' is in the future !"
msgid "Error"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:sdd.mandate:0
msgid "Signature Date"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,charge_bearer:0
#: field:banking.export.sdd.wizard,charge_bearer:0
msgid "Charge Bearer"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,partner_id:0
msgid "Partner"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: selection:sdd.mandate,recurrent_sequence_type:0
msgid "First"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,signature_date:0
msgid "Date of Signature of the Mandate"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.mandate_cancel
msgid "Mandate Cancelled"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.act_banking_export_sdd_payment_order
msgid "Generated SEPA Direct Debit Files"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:sdd.mandate,sepa_migrated:0
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."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,company_id:0
msgid "Company"
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:137
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:185
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:193
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:202
#, python-format
msgid "Error:"
msgstr ""
#. module: account_banking_sepa_direct_debit
@@ -362,62 +131,29 @@ msgid "Export SEPA Direct Debit File"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:banking.export.sdd,batch_booking:0
#: help:banking.export.sdd.wizard,batch_booking:0
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."
#: field:banking.export.sdd.wizard,file:0
msgid "File"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:225
#, python-format
msgid "Cannot validate the mandate '%s' because it is not attached to a bank account."
#: field:banking.export.sdd,filename:0
#: field:banking.export.sdd.wizard,filename:0
msgid "Filename"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,state:0
#: view:sdd.mandate:0
#: selection:sdd.mandate,state:0
msgid "Draft"
#: selection:account.banking.mandate,recurrent_sequence_type:0
msgid "Final"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:290
#, python-format
msgid "Mandate update"
#: selection:banking.export.sdd.wizard,state:0
msgid "Finish"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,charge_bearer:0
#: selection:banking.export.sdd.wizard,charge_bearer:0
msgid "Shared"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,batch_booking:0
#: field:banking.export.sdd.wizard,batch_booking:0
msgid "Batch Booking"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,sepa_migrated:0
msgid "Migrated to SEPA"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,state:0
msgid "Status"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,total_amount:0
#: field:banking.export.sdd.wizard,total_amount:0
msgid "Total Amount"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.action_account_banking_sdd
#: model:ir.ui.menu,name:account_banking_sepa_direct_debit.menu_account_banking_sdd
msgid "SEPA Direct Debit Files"
#: selection:account.banking.mandate,recurrent_sequence_type:0
msgid "First"
msgstr ""
#. module: account_banking_sepa_direct_debit
@@ -427,9 +163,195 @@ msgid "Following Service Level"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:233
#: help:banking.export.sdd,charge_bearer:0
#: help:banking.export.sdd.wizard,charge_bearer:0
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."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd:account_banking_sepa_direct_debit.view_banking_export_sdd_form
msgid "General Information"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd.wizard:account_banking_sepa_direct_debit.banking_export_sdd_wizard_view
msgid "Generate"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.act_banking_export_sdd_payment_order
msgid "Generated SEPA Direct Debit Files"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,create_date:0
msgid "Generation Date"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,id:0
#: field:banking.export.sdd.wizard,id:0
msgid "ID"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:account.banking.mandate,sepa_migrated:0
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."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:banking.export.sdd,batch_booking:0
#: help:banking.export.sdd.wizard,batch_booking:0
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."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/models/res_company.py:80
#, python-format
msgid "The mandate '%s' can't have a date of last debit before the date of signature."
msgid "Invalid SEPA Creditor Identifier."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,write_uid:0
#: field:banking.export.sdd.wizard,write_uid:0
msgid "Last Updated by"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,write_date:0
#: field:banking.export.sdd.wizard,write_date:0
msgid "Last Updated on"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/models/account_banking_mandate.py:119
#, python-format
msgid "Mandate update"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:account.banking.mandate,sepa_migrated:0
msgid "Migrated to SEPA"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:186
#, python-format
msgid "Missing SEPA Direct Debit mandate on the payment line with partner '%s' and Invoice ref '%s'."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,nb_transactions:0
#: field:banking.export.sdd.wizard,nb_transactions:0
msgid "Number of Transactions"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:account.banking.mandate:account_banking_sepa_direct_debit.sdd_mandate_search
#: selection:account.banking.mandate,type:0
msgid "One-Off"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:res.company,original_creditor_identifier:0
msgid "Original Creditor Identifier"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:account.banking.mandate,original_mandate_identification:0
msgid "Original Mandate Identification"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:res.groups,name:account_banking_sepa_direct_debit.group_original_mandate_required
msgid "Original Mandate Required (SEPA)"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd:account_banking_sepa_direct_debit.view_banking_export_sdd_form
#: field:banking.export.sdd,payment_order_ids:0
#: field:banking.export.sdd.wizard,payment_order_ids:0
msgid "Payment Orders"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:138
#, python-format
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'."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:account.banking.mandate:account_banking_sepa_direct_debit.sdd_mandate_search
#: selection:account.banking.mandate,type:0
msgid "Recurrent"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: selection:account.banking.mandate,recurrent_sequence_type:0
msgid "Recurring"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd.wizard,file_id:0
msgid "SDD File"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:res.partner:account_banking_sepa_direct_debit.sdd_mandate_partner_form
#: view:res.partner.bank:account_banking_sepa_direct_debit.sdd_mandate_partner_bank_tree
msgid "SDD Mandates"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:res.company,sepa_creditor_identifier:0
msgid "SEPA Creditor Identifier"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd:account_banking_sepa_direct_debit.view_banking_export_sdd_form
#: view:banking.export.sdd:account_banking_sepa_direct_debit.view_banking_export_sdd_tree
msgid "SEPA Direct Debit"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.action_account_banking_sdd
#: model:ir.ui.menu,name:account_banking_sepa_direct_debit.menu_account_banking_sdd
msgid "SEPA Direct Debit Files"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.mandate_action
msgid "SEPA Direct Debit Mandates"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd.wizard:account_banking_sepa_direct_debit.banking_export_sdd_wizard_view
msgid "SEPA Direct Debit XML file generation"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.model,name:account_banking_sepa_direct_debit.model_banking_export_sdd
msgid "SEPA Direct Debit export"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,file:0
msgid "SEPA File"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:account.banking.mandate,scheme:0
msgid "Scheme"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,state:0
msgid "Sent"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:account.banking.mandate,recurrent_sequence_type:0
msgid "Sequence Type for Next Debit"
msgstr ""
#. module: account_banking_sepa_direct_debit
@@ -438,172 +360,6 @@ msgstr ""
msgid "Sequence Type set to Final"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,message_is_follower:0
msgid "Is a Follower"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:sdd.mandate,original_mandate_identification:0
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."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:payment.order:0
msgid "SDD Mandate"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,original_mandate_identification:0
msgid "Original Mandate Identification"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.model,name:account_banking_sepa_direct_debit.model_res_company
msgid "Companies"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,message_summary:0
msgid "Summary"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:res.groups,name:account_banking_sepa_direct_debit.group_original_mandate_required
msgid "Original Mandate Required (SEPA)"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:account.invoice,sdd_mandate_id:0
#: model:ir.model,name:account_banking_sepa_direct_debit.model_sdd_mandate
#: field:payment.line,sdd_mandate_id:0
#: view:sdd.mandate:0
msgid "SEPA Direct Debit Mandate"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:193
#, python-format
msgid "Missing SEPA Direct Debit mandate on the payment line with partner '%s' and Invoice ref '%s'."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:210
#, python-format
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."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,scan:0
msgid "Scan of the Mandate"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,last_debit_date:0
msgid "Date of the Last Debit"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.mandate_expired
msgid "Mandate Expired"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: constraint:res.company:0
msgid "Invalid SEPA Creditor Identifier."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.model,name:account_banking_sepa_direct_debit.model_res_partner_bank
msgid "Bank Accounts"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.actions.act_window,help:account_banking_sepa_direct_debit.sdd_mandate_action
msgid "<p class=\"oe_view_nocontent_create\">\n"
" Click to create a new SEPA Direct Debit Mandate.\n"
" </p><p>\n"
" 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"
" </p>\n"
" "
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd:0
msgid "General Information"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:sdd.mandate:0
#: selection:sdd.mandate,state:0
msgid "Valid"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.model,name:account_banking_sepa_direct_debit.model_account_invoice
msgid "Invoice"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd.wizard:0
#: view:sdd.mandate:0
msgid "Cancel"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:sdd.mandate:0
#: field:sdd.mandate,payment_line_ids:0
msgid "Related Payment Lines"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:sdd.mandate:0
#: selection:sdd.mandate,type:0
msgid "Recurrent"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,type:0
msgid "Type of Mandate"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.mandate_valid
msgid "Mandate Validated"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,file:0
msgid "SEPA File"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:res.company,sepa_creditor_identifier:0
msgid "SEPA Creditor Identifier"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:ir.model,name:account_banking_sepa_direct_debit.model_banking_export_sdd
msgid "SEPA Direct Debit export"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:sdd.mandate:0
#: selection:sdd.mandate,state:0
msgid "Expired"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:sdd.mandate,partner_bank_id:0
msgid "Bank Account"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:254
#, python-format
msgid "You must set the 'Original Mandate Identification' on the recurrent mandate '%s' which is not marked as 'Migrated to SEPA'."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.recurrent_sequence_type_first
#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.recurrent_sequence_type_first
@@ -611,23 +367,81 @@ msgid "Sequence Type set to First"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:291
#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.recurrent_sequence_type_recurring
#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.recurrent_sequence_type_recurring
msgid "Sequence Type set to Recurring"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,charge_bearer:0
#: selection:banking.export.sdd.wizard,charge_bearer:0
msgid "Shared"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,state:0
#: field:banking.export.sdd.wizard,state:0
msgid "State"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:194
#, python-format
msgid "As you changed the bank account attached to this mandate, the 'Sequence Type' has been set back to 'First'."
msgid "The SEPA Direct Debit mandate with reference '%s' for partner '%s' has expired."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:sdd.mandate,message_ids:0
msgid "Messages and communication history"
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:203
#, python-format
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."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:sdd.mandate:0
msgid "Search SEPA Direct Debit Mandates"
#: code:addons/account_banking_sepa_direct_debit/models/account_banking_mandate.py:86
#, python-format
msgid "The recurrent mandate '%s' must have a sequence type."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd.wizard,file:0
msgid "File"
#: code:addons/account_banking_sepa_direct_debit/models/account_banking_mandate.py:95
#, python-format
msgid "The recurrent mandate '%s' which is not marked as 'Migrated to SEPA' must have its recurrent sequence type set to 'First'."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:account.banking.mandate,recurrent_sequence_type:0
msgid "This field is only used for Recurrent mandates, not for One-Off mandates."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,total_amount:0
#: field:banking.export.sdd.wizard,total_amount:0
msgid "Total Amount"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:account.banking.mandate:account_banking_sepa_direct_debit.sdd_mandate_tree
msgid "Type"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:account.banking.mandate,type:0
msgid "Type of Mandate"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd.wizard:account_banking_sepa_direct_debit.banking_export_sdd_wizard_view
msgid "Validate"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: help:account.banking.mandate,original_mandate_identification:0
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."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/models/account_banking_mandate.py:105
#, python-format
msgid "You must set the 'Original Mandate Identification' on the recurrent mandate '%s' which is not marked as 'Migrated to SEPA'."
msgstr ""

View File

@@ -0,0 +1,456 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_banking_sepa_direct_debit
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-10-31 22:53+0000\n"
"PO-Revision-Date: 2014-10-31 22:53+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: account_banking_sepa_direct_debit
#: model:ir.actions.act_window,help:account_banking_sepa_direct_debit.mandate_action
msgid "<p class=\"oe_view_nocontent_create\">\n"
" Click to create a new SEPA Direct Debit Mandate.\n"
" </p><p>\n"
" 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"
" </p>\n"
" "
msgstr "<p class=\"oe_view_nocontent_create\">\n"
" Pulse para crear un nuevo mandato de adeudo directo SEPA.\n"
" </p><p>\n"
" Un mandato de adeudo directo SEPA es un documento firmado por su cliente que le autoriza a realizar uno o más cobros directos en su cuenta bancaria, también conocidas como domiciliaciones.\n"
" </p>\n"
" "
#. module: account_banking_sepa_direct_debit
#: model:ir.model,name:account_banking_sepa_direct_debit.model_account_banking_mandate
msgid "A generic banking mandate"
msgstr "Un mandato bancario genérico"
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/models/account_banking_mandate.py:120
#, python-format
msgid "As you changed the bank account attached to this mandate, the 'Sequence Type' has been set back to 'First'."
msgstr "Puesto que ha cambiar la cuenta bancaria relacionada con este mandato, el 'Tipo de secuencia' se ha vuelto a 'Inicial'."
#. module: account_banking_sepa_direct_debit
#: selection:account.banking.mandate,scheme:0
msgid "Basic (CORE)"
msgstr "Básico (CORE)"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,batch_booking:0
#: field:banking.export.sdd.wizard,batch_booking:0
msgid "Batch Booking"
msgstr "Registro en lote"
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,charge_bearer:0
#: selection:banking.export.sdd.wizard,charge_bearer:0
msgid "Borne by Creditor"
msgstr "A cargo del acreedor"
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,charge_bearer:0
#: selection:banking.export.sdd.wizard,charge_bearer:0
msgid "Borne by Debtor"
msgstr "A cargo del deudor"
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd.wizard:account_banking_sepa_direct_debit.banking_export_sdd_wizard_view
msgid "Cancel"
msgstr "Cancelar"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,charge_bearer:0
#: field:banking.export.sdd.wizard,charge_bearer:0
msgid "Charge Bearer"
msgstr "A cargo del portador"
#. module: account_banking_sepa_direct_debit
#: model:ir.model,name:account_banking_sepa_direct_debit.model_res_company
msgid "Companies"
msgstr "Compañías"
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd.wizard,state:0
msgid "Create"
msgstr "Crear"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,create_uid:0
#: field:banking.export.sdd.wizard,create_uid:0
msgid "Created by"
msgstr "Creado por"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd.wizard,create_date:0
msgid "Created on"
msgstr "Creado en"
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,state:0
msgid "Draft"
msgstr "Borrador"
#. module: account_banking_sepa_direct_debit
#: help:res.company,sepa_creditor_identifier:0
msgid "Enter the Creditor Identifier that has been attributed to your company to make SEPA Direct Debits. This identifier is composed of :\n"
"- your country ISO code (2 letters)\n"
"- a 2-digits checkum\n"
"- a 3-letters business code\n"
"- a country-specific identifier"
msgstr "Introduzca el identificador de acreedor que se le ha atribuido a su compañía para realizar adeudos directos SEPA. Su banco suele poseer esta información. Este identificador se compone de:\n"
"- el código ISO de 2 letras de su país\n"
"- dos dígitos de comprobación\n"
"- tres letras de código de negocio\n"
"- un identificador específico de país (en España, el NIF)"
#. module: account_banking_sepa_direct_debit
#: selection:account.banking.mandate,scheme:0
msgid "Enterprise (B2B)"
msgstr "Empresa (B2B)"
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/models/res_company.py:79
#, python-format
msgid "Error"
msgstr "Error"
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:137
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:185
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:193
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:202
#, python-format
msgid "Error:"
msgstr "Error:"
#. module: account_banking_sepa_direct_debit
#: model:ir.model,name:account_banking_sepa_direct_debit.model_banking_export_sdd_wizard
msgid "Export SEPA Direct Debit File"
msgstr "Exportar archivo de adeudo directo SEPA"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd.wizard,file:0
msgid "File"
msgstr "Archivo"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,filename:0
#: field:banking.export.sdd.wizard,filename:0
msgid "Filename"
msgstr "Nombre de archivo"
#. module: account_banking_sepa_direct_debit
#: selection:account.banking.mandate,recurrent_sequence_type:0
msgid "Final"
msgstr "Final"
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd.wizard,state:0
msgid "Finish"
msgstr "Finalizar"
#. module: account_banking_sepa_direct_debit
#: selection:account.banking.mandate,recurrent_sequence_type:0
msgid "First"
msgstr "Inicial"
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,charge_bearer:0
#: selection:banking.export.sdd.wizard,charge_bearer:0
msgid "Following Service Level"
msgstr "Según el acuerdo de servicio"
#. module: account_banking_sepa_direct_debit
#: help:banking.export.sdd,charge_bearer:0
#: help:banking.export.sdd.wizard,charge_bearer:0
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."
msgstr "Según el acuerdo de servicio: los costes de la transacción se aplicarán siguiendo las reglas acordadas en el nivel de servicio y/o en el esquema (las remesas SEPA Core deben usar esta opción). Compartidos: los costes de la transacción en la parte del acreedor están a cargo del acreedor, y los costes de la transacción del lado del deudor estarán a cargo del deudor. A cargo del acreedor: todos los costes de la transacción estarán a cargo del acreedor. A cargo del deudor: Todos los costes de la transacción estarán a cargo del deudor."
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd:account_banking_sepa_direct_debit.view_banking_export_sdd_form
msgid "General Information"
msgstr "Información general"
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd.wizard:account_banking_sepa_direct_debit.banking_export_sdd_wizard_view
msgid "Generate"
msgstr "Generar"
#. module: account_banking_sepa_direct_debit
#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.act_banking_export_sdd_payment_order
msgid "Generated SEPA Direct Debit Files"
msgstr "Archivos de adeudos directos SEPA generados"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,create_date:0
msgid "Generation Date"
msgstr "Fecha de generación"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,id:0
#: field:banking.export.sdd.wizard,id:0
msgid "ID"
msgstr "ID"
#. module: account_banking_sepa_direct_debit
#: help:account.banking.mandate,sepa_migrated:0
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."
msgstr "Si este campo no está marcado, la sección 'mandato' del próximo archivo de adeudo directo que lo incluya contendrá el valor de los campos 'Identificación del mandato original' y 'Identificación del esquema original del acreedor'. Esto se requiere en algunos países (Bélgica por ejemplo), pero no en todos ellos. Si no es un requisito en su país, este campo siempre debe estar marcado."
#. module: account_banking_sepa_direct_debit
#: help:banking.export.sdd,batch_booking:0
#: help:banking.export.sdd.wizard,batch_booking:0
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."
msgstr "Si está marcado, el extracto bancario mostrará sólo una línea del haber para todos los adeudos directos del archivo SEPA; si no está marcado, entonces el extracto bancario mostrará una línea por cada adeudo directo del archivo SEPA."
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/models/res_company.py:80
#, python-format
msgid "Invalid SEPA Creditor Identifier."
msgstr "Identificador de acreedor SEPA no válido."
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,write_uid:0
#: field:banking.export.sdd.wizard,write_uid:0
msgid "Last Updated by"
msgstr "Última actualización por"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,write_date:0
#: field:banking.export.sdd.wizard,write_date:0
msgid "Last Updated on"
msgstr "Última actualización en"
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/models/account_banking_mandate.py:119
#, python-format
msgid "Mandate update"
msgstr ""
#. module: account_banking_sepa_direct_debit
#: field:account.banking.mandate,sepa_migrated:0
msgid "Migrated to SEPA"
msgstr "Migrado a SEPA"
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:186
#, python-format
msgid "Missing SEPA Direct Debit mandate on the payment line with partner '%s' and Invoice ref '%s'."
msgstr "Falta el mandato de adeudo directo SEPA en la línea con la empresa '%s' y la factura con referencia '%s'"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,nb_transactions:0
#: field:banking.export.sdd.wizard,nb_transactions:0
msgid "Number of Transactions"
msgstr "Nº de transacciones"
#. module: account_banking_sepa_direct_debit
#: view:account.banking.mandate:account_banking_sepa_direct_debit.sdd_mandate_search
#: selection:account.banking.mandate,type:0
msgid "One-Off"
msgstr "Único"
#. module: account_banking_sepa_direct_debit
#: field:res.company,original_creditor_identifier:0
msgid "Original Creditor Identifier"
msgstr "Identificador del acreedor original"
#. module: account_banking_sepa_direct_debit
#: field:account.banking.mandate,original_mandate_identification:0
msgid "Original Mandate Identification"
msgstr "Identificación del mandato original"
#. module: account_banking_sepa_direct_debit
#: model:res.groups,name:account_banking_sepa_direct_debit.group_original_mandate_required
msgid "Original Mandate Required (SEPA)"
msgstr "Mandato original requerido (SEPA)"
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd:account_banking_sepa_direct_debit.view_banking_export_sdd_form
#: field:banking.export.sdd,payment_order_ids:0
#: field:banking.export.sdd.wizard,payment_order_ids:0
msgid "Payment Orders"
msgstr "Órdenes de pago"
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:138
#, python-format
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'."
msgstr ""
#. module: account_banking_sepa_direct_debit
#: view:account.banking.mandate:account_banking_sepa_direct_debit.sdd_mandate_search
#: selection:account.banking.mandate,type:0
msgid "Recurrent"
msgstr "Recurrente"
#. module: account_banking_sepa_direct_debit
#: selection:account.banking.mandate,recurrent_sequence_type:0
msgid "Recurring"
msgstr "Periódico"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd.wizard,file_id:0
msgid "SDD File"
msgstr "Archivo SDD"
#. module: account_banking_sepa_direct_debit
#: view:res.partner:account_banking_sepa_direct_debit.sdd_mandate_partner_form
#: view:res.partner.bank:account_banking_sepa_direct_debit.sdd_mandate_partner_bank_tree
msgid "SDD Mandates"
msgstr "Mandatos SDD"
#. module: account_banking_sepa_direct_debit
#: field:res.company,sepa_creditor_identifier:0
msgid "SEPA Creditor Identifier"
msgstr "Identificador de acreedor SEPA"
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd:account_banking_sepa_direct_debit.view_banking_export_sdd_form
#: view:banking.export.sdd:account_banking_sepa_direct_debit.view_banking_export_sdd_tree
msgid "SEPA Direct Debit"
msgstr "Adeudo directo SEPA"
#. module: account_banking_sepa_direct_debit
#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.action_account_banking_sdd
#: model:ir.ui.menu,name:account_banking_sepa_direct_debit.menu_account_banking_sdd
msgid "SEPA Direct Debit Files"
msgstr "Archivos de adeudos directos SEPA"
#. module: account_banking_sepa_direct_debit
#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.mandate_action
msgid "SEPA Direct Debit Mandates"
msgstr "Mandatos de adeudos directos SEPA"
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd.wizard:account_banking_sepa_direct_debit.banking_export_sdd_wizard_view
msgid "SEPA Direct Debit XML file generation"
msgstr "Generación del archivo XML de adeudo directo SEPA"
#. module: account_banking_sepa_direct_debit
#: model:ir.model,name:account_banking_sepa_direct_debit.model_banking_export_sdd
msgid "SEPA Direct Debit export"
msgstr "Exportación de adeudo directo SEPA"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,file:0
msgid "SEPA File"
msgstr "Archivo SEPA"
#. module: account_banking_sepa_direct_debit
#: field:account.banking.mandate,scheme:0
msgid "Scheme"
msgstr "Esquema"
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,state:0
msgid "Sent"
msgstr "Enviado"
#. module: account_banking_sepa_direct_debit
#: field:account.banking.mandate,recurrent_sequence_type:0
msgid "Sequence Type for Next Debit"
msgstr "Tipo de secuencia para el próximo cobro"
#. module: account_banking_sepa_direct_debit
#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.recurrent_sequence_type_final
#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.recurrent_sequence_type_final
msgid "Sequence Type set to Final"
msgstr "Tipo de secuencia establecida a 'Final'"
#. module: account_banking_sepa_direct_debit
#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.recurrent_sequence_type_first
#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.recurrent_sequence_type_first
msgid "Sequence Type set to First"
msgstr "Tipo de secuencia establecida a 'Inicial'"
#. module: account_banking_sepa_direct_debit
#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.recurrent_sequence_type_recurring
#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.recurrent_sequence_type_recurring
msgid "Sequence Type set to Recurring"
msgstr "Tipo de secuencia establecida a 'Recurrente'"
#. module: account_banking_sepa_direct_debit
#: selection:banking.export.sdd,charge_bearer:0
#: selection:banking.export.sdd.wizard,charge_bearer:0
msgid "Shared"
msgstr "Compartidos"
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,state:0
#: field:banking.export.sdd.wizard,state:0
msgid "State"
msgstr "Estado"
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:194
#, python-format
msgid "The SEPA Direct Debit mandate with reference '%s' for partner '%s' has expired."
msgstr "El mandato de adeudo directo SEPA con referencia '%s' para la empresa '%s' ha expirado."
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:203
#, python-format
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."
msgstr "El mandato con referencia '%s' para la empresa '%s' tipo como 'Único', ya tiene como fecha de último cobro '%s', por lo que no se puede usar."
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/models/account_banking_mandate.py:86
#, python-format
msgid "The recurrent mandate '%s' must have a sequence type."
msgstr "El mandato periódico '%s' debe tener un tipo de secuencia."
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/models/account_banking_mandate.py:95
#, python-format
msgid "The recurrent mandate '%s' which is not marked as 'Migrated to SEPA' must have its recurrent sequence type set to 'First'."
msgstr "El mandato periódico '%s', que no está marcado como 'Migrado a SEPA', debe establecer su tipo de secuencia a 'Inicial'."
#. module: account_banking_sepa_direct_debit
#: help:account.banking.mandate,recurrent_sequence_type:0
msgid "This field is only used for Recurrent mandates, not for One-Off mandates."
msgstr "Este campo se utiliza sólo para mandatos periódicos, no para únicos."
#. module: account_banking_sepa_direct_debit
#: field:banking.export.sdd,total_amount:0
#: field:banking.export.sdd.wizard,total_amount:0
msgid "Total Amount"
msgstr "Importe total"
#. module: account_banking_sepa_direct_debit
#: view:account.banking.mandate:account_banking_sepa_direct_debit.sdd_mandate_tree
msgid "Type"
msgstr "Tipo"
#. module: account_banking_sepa_direct_debit
#: field:account.banking.mandate,type:0
msgid "Type of Mandate"
msgstr "Tipo de mandato"
#. module: account_banking_sepa_direct_debit
#: view:banking.export.sdd.wizard:account_banking_sepa_direct_debit.banking_export_sdd_wizard_view
msgid "Validate"
msgstr "Validar"
#. module: account_banking_sepa_direct_debit
#: help:account.banking.mandate,original_mandate_identification:0
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."
msgstr "Cuando el campo 'Migrado a SEPA' no está marcado, este campo se usa como identificación del mandato original en el archivo de adeudo directo."
#. module: account_banking_sepa_direct_debit
#: code:addons/account_banking_sepa_direct_debit/models/account_banking_mandate.py:105
#, python-format
msgid "You must set the 'Original Mandate Identification' on the recurrent mandate '%s' which is not marked as 'Migrated to SEPA'."
msgstr "Debe establecer el campo 'Identificación de mandato original en el mandato periódico '%s', que no está marcado como 'Migrado a SEPA'."

View File

@@ -36,9 +36,8 @@ class BankingExportSdd(models.Model):
_rec_name = 'filename'
@api.one
@api.depends('payment_order_ids', 'payment_order_ids.reference')
def _generate_filename(self):
filename = ''
# FIXME : we never enter inside the IF to give a good filename
if self.payment_order_ids:
ref = self.payment_order_ids[0].reference
label = unidecode(ref.replace('/', '-')) if ref else 'error'

View File

@@ -62,7 +62,7 @@ class ResCompany(models.Model):
after_replacement = ''
for char in before_replacement:
if char.isalpha():
after_replacement += str(ord(char)-87)
after_replacement += str(ord(char) - 87)
else:
after_replacement += char
logger.debug(

View File

@@ -18,6 +18,7 @@
<field name="partner_id" position="after">
<field name="type"/>
<field name="recurrent_sequence_type" attrs="{'invisible': [('type', '=', 'oneoff')], 'required': [('type', '=', 'recurrent')]}"/>
<field name="scheme"/>
</field>
<field name="last_debit_date" position="after">
<field name="sepa_migrated" groups="account_banking_sepa_direct_debit.group_original_mandate_required"/>

View File

@@ -28,35 +28,34 @@ from datetime import datetime
from lxml import etree
class banking_export_sdd_wizard(orm.TransientModel):
class BankingExportSddWizard(orm.TransientModel):
_name = 'banking.export.sdd.wizard'
_inherit = ['banking.export.pain']
_description = 'Export SEPA Direct Debit File'
_columns = {
'state': fields.selection([
('create', 'Create'),
('finish', 'Finish'),
], 'State', readonly=True),
'state': fields.selection(
[('create', 'Create'),
('finish', 'Finish')], 'State', readonly=True),
'batch_booking': fields.boolean(
'Batch Booking',
help="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."),
'charge_bearer': fields.selection([
('SLEV', 'Following Service Level'),
('SHAR', 'Shared'),
('CRED', 'Borne by Creditor'),
('DEBT', 'Borne by Debtor'),
], 'Charge Bearer', required=True,
'charge_bearer': fields.selection(
[('SLEV', 'Following Service Level'),
('SHAR', 'Shared'),
('CRED', 'Borne by Creditor'),
('DEBT', 'Borne by Debtor')], 'Charge Bearer', required=True,
help="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."),
"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."),
'nb_transactions': fields.related(
'file_id', 'nb_transactions', type='integer',
string='Number of Transactions', readonly=True),
@@ -73,19 +72,19 @@ class banking_export_sdd_wizard(orm.TransientModel):
'payment_order_ids': fields.many2many(
'payment.order', 'wiz_sdd_payorders_rel', 'wizard_id',
'payment_order_id', 'Payment Orders', readonly=True),
}
}
_defaults = {
'charge_bearer': 'SLEV',
'state': 'create',
}
}
def create(self, cr, uid, vals, context=None):
payment_order_ids = context.get('active_ids', [])
vals.update({
'payment_order_ids': [[6, 0, payment_order_ids]],
})
return super(banking_export_sdd_wizard, self).create(
return super(BankingExportSddWizard, self).create(
cr, uid, vals, context=context)
def _get_previous_bank(self, cr, uid, payline, context=None):
@@ -115,9 +114,7 @@ class banking_export_sdd_wizard(orm.TransientModel):
return previous_bank
def create_sepa(self, cr, uid, ids, context=None):
'''
Creates the SEPA Direct Debit file. That's the important code !
'''
"""Creates the SEPA Direct Debit file. That's the important code !"""
sepa_export = self.browse(cr, uid, ids[0], context=context)
pain_flavor = sepa_export.payment_order_ids[0].mode.type.code
@@ -139,10 +136,9 @@ class banking_export_sdd_wizard(orm.TransientModel):
raise orm.except_orm(
_('Error:'),
_("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'.") % pain_flavor)
"Payment Type Code supported for SEPA Direct Debit are "
"'pain.008.001.02', 'pain.008.001.03' and "
"'pain.008.001.04'.") % pain_flavor)
gen_args = {
'bic_xml_tag': bic_xml_tag,
'name_maxsize': name_maxsize,
@@ -154,20 +150,16 @@ class banking_export_sdd_wizard(orm.TransientModel):
'pain_xsd_file':
'account_banking_sepa_direct_debit/data/%s.xsd' % pain_flavor,
}
pain_ns = {
'xsi': 'http://www.w3.org/2001/XMLSchema-instance',
None: 'urn:iso:std:iso:20022:tech:xsd:%s' % pain_flavor,
}
}
xml_root = etree.Element('Document', nsmap=pain_ns)
pain_root = etree.SubElement(xml_root, root_xml_tag)
# A. Group header
group_header_1_0, nb_of_transactions_1_6, control_sum_1_7 = \
self.generate_group_header_block(
cr, uid, pain_root, gen_args, context=context)
transactions_count_1_6 = 0
total_amount = 0.0
amount_control_sum_1_7 = 0.0
@@ -192,36 +184,35 @@ class banking_export_sdd_wizard(orm.TransientModel):
raise orm.except_orm(
_('Error:'),
_("Missing SEPA Direct Debit mandate on the payment "
"line with partner '%s' and Invoice ref '%s'.")
"line with partner '%s' and Invoice ref '%s'.")
% (line.partner_id.name,
line.ml_inv_ref.number))
line.ml_inv_ref.number))
scheme = line.mandate_id.scheme
if line.mandate_id.state != 'valid':
raise orm.except_orm(
_('Error:'),
_("The SEPA Direct Debit mandate with reference '%s' "
"for partner '%s' has expired.")
"for partner '%s' has expired.")
% (line.mandate_id.unique_mandate_reference,
line.mandate_id.partner_id.name))
line.mandate_id.partner_id.name))
if line.mandate_id.type == 'oneoff':
if not line.mandate_id.last_debit_date:
seq_type = 'OOFF'
else:
seq_type = 'OOFF'
if line.mandate_id.last_debit_date:
raise orm.except_orm(
_('Error:'),
_("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.")
"'%s' has type set to 'One-Off' and it has a "
"last debit date set to '%s', so we can't use "
"it.")
% (line.mandate_id.unique_mandate_reference,
line.mandate_id.partner_id.name,
line.mandate_id.last_debit_date))
line.mandate_id.partner_id.name,
line.mandate_id.last_debit_date))
elif line.mandate_id.type == 'recurrent':
seq_type_map = {
'recurring': 'RCUR',
'first': 'FRST',
'final': 'FNAL',
}
}
seq_type_label = \
line.mandate_id.recurrent_sequence_type
assert seq_type_label is not False
@@ -261,10 +252,8 @@ class banking_export_sdd_wizard(orm.TransientModel):
'sepa_export.payment_order_ids[0].mode.bank_id.bank.bic',
{'sepa_export': sepa_export},
gen_args, context=context)
charge_bearer_2_24 = etree.SubElement(payment_info_2_0, 'ChrgBr')
charge_bearer_2_24.text = sepa_export.charge_bearer
creditor_scheme_identification_2_27 = etree.SubElement(
payment_info_2_0, 'CdtrSchmeId')
self.generate_creditor_scheme_identification(
@@ -273,7 +262,6 @@ class banking_export_sdd_wizard(orm.TransientModel):
'sepa_creditor_identifier',
'SEPA Creditor Identifier', {'sepa_export': sepa_export},
'SEPA', gen_args, context=context)
transactions_count_2_4 = 0
amount_control_sum_2_5 = 0.0
for line in lines:
@@ -404,20 +392,17 @@ class banking_export_sdd_wizard(orm.TransientModel):
gen_args, context=context)
def cancel_sepa(self, cr, uid, ids, context=None):
'''
Cancel the SEPA file: just drop the file
'''
"""Cancel the SEPA file: just drop the file"""
sepa_export = self.browse(cr, uid, ids[0], context=context)
self.pool.get('banking.export.sdd').unlink(
cr, uid, sepa_export.file_id.id, context=context)
return {'type': 'ir.actions.act_window_close'}
def save_sepa(self, cr, uid, ids, context=None):
'''
Save the SEPA Direct Debit file: mark all payments in the file
"""Save the SEPA Direct Debit file: mark all payments in the file
as 'sent'. Write 'last debit date' on mandate and set oneoff
mandate to expired
'''
mandate to expired.
"""
sepa_export = self.browse(cr, uid, ids[0], context=context)
self.pool.get('banking.export.sdd').write(
cr, uid, sepa_export.file_id.id, {'state': 'sent'},