[REN] renamed account_coda module into l10n_be_coda

bzr revid: qdp-launchpad@openerp.com-20120925073201-bgc5bwjfdjrktrct
This commit is contained in:
Quentin (OpenERP) 2012-09-25 09:32:01 +02:00
parent 5165bf9c85
commit 316cd0aad8
59 changed files with 13 additions and 14 deletions

View File

@ -57,7 +57,7 @@ Wizards provided by this module:
'base_vat',
'base_iban',
'account_chart',
'account_coda',
'l10n_be_coda',
],
'data': [
'account_financial_report.xml',

View File

@ -20,7 +20,7 @@
#
##############################################################################
import account_coda
import l10n_be_coda
import wizard
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -93,14 +93,14 @@ If required, you can manually adjust the descriptions via the CODA configuration
'depends': ['account_voucher','base_iban', 'l10n_be_invoice_bba', 'account_bank_statement_extensions'],
'demo': [],
'data': [
'account_coda_trans_type.xml',
'account_coda_trans_code.xml',
'account_coda_trans_category.xml',
'account_coda_comm_type.xml',
'l10n_be_coda_trans_type.xml',
'l10n_be_coda_trans_code.xml',
'l10n_be_coda_trans_category.xml',
'l10n_be_coda_comm_type.xml',
'security/ir.model.access.csv',
'security/account_security.xml',
'account_coda_wizard.xml',
'account_coda_view.xml',
'l10n_be_coda_wizard.xml',
'l10n_be_coda_view.xml',
],
'auto_install': False,
'installable': True,

View File

@ -942,7 +942,7 @@ class account_coda_import(osv.osv_memory):
def action_open_coda_statements(self, cr, uid, ids, context=None):
if context is None:
context = {}
module, xml_id = 'account_coda', 'action_coda_bank_statements'
module, xml_id = 'l10n_be_coda', 'action_coda_bank_statements'
res_model, res_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, module, xml_id)
action = self.pool.get('ir.actions.act_window').read(cr, uid, res_id, context=context)
domain = eval(action.get('domain') or '[]')
@ -973,9 +973,9 @@ def str2float(str):
return 0.0
def list2float(lst):
try:
return str2float((lambda s : s[:-3] + '.' + s[-3:])(lst))
except:
return 0.0
try:
return str2float((lambda s : s[:-3] + '.' + s[-3:])(lst))
except:
return 0.0
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -33,7 +33,6 @@ Accounting chart and localization for Ecuador.
'base_vat',
'base_iban',
'account_chart',
'account_coda',
],
'data': [
'account_tax_code.xml',