[REN] renamed account_coda module into l10n_be_coda
bzr revid: qdp-launchpad@openerp.com-20120925073201-bgc5bwjfdjrktrct
This commit is contained in:
parent
5165bf9c85
commit
316cd0aad8
|
@ -57,7 +57,7 @@ Wizards provided by this module:
|
||||||
'base_vat',
|
'base_vat',
|
||||||
'base_iban',
|
'base_iban',
|
||||||
'account_chart',
|
'account_chart',
|
||||||
'account_coda',
|
'l10n_be_coda',
|
||||||
],
|
],
|
||||||
'data': [
|
'data': [
|
||||||
'account_financial_report.xml',
|
'account_financial_report.xml',
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
import account_coda
|
import l10n_be_coda
|
||||||
import wizard
|
import wizard
|
||||||
|
|
||||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -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'],
|
'depends': ['account_voucher','base_iban', 'l10n_be_invoice_bba', 'account_bank_statement_extensions'],
|
||||||
'demo': [],
|
'demo': [],
|
||||||
'data': [
|
'data': [
|
||||||
'account_coda_trans_type.xml',
|
'l10n_be_coda_trans_type.xml',
|
||||||
'account_coda_trans_code.xml',
|
'l10n_be_coda_trans_code.xml',
|
||||||
'account_coda_trans_category.xml',
|
'l10n_be_coda_trans_category.xml',
|
||||||
'account_coda_comm_type.xml',
|
'l10n_be_coda_comm_type.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
'security/account_security.xml',
|
'security/account_security.xml',
|
||||||
'account_coda_wizard.xml',
|
'l10n_be_coda_wizard.xml',
|
||||||
'account_coda_view.xml',
|
'l10n_be_coda_view.xml',
|
||||||
],
|
],
|
||||||
'auto_install': False,
|
'auto_install': False,
|
||||||
'installable': True,
|
'installable': True,
|
|
@ -942,7 +942,7 @@ class account_coda_import(osv.osv_memory):
|
||||||
def action_open_coda_statements(self, cr, uid, ids, context=None):
|
def action_open_coda_statements(self, cr, uid, ids, context=None):
|
||||||
if context is None:
|
if context is None:
|
||||||
context = {}
|
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)
|
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)
|
action = self.pool.get('ir.actions.act_window').read(cr, uid, res_id, context=context)
|
||||||
domain = eval(action.get('domain') or '[]')
|
domain = eval(action.get('domain') or '[]')
|
||||||
|
@ -973,9 +973,9 @@ def str2float(str):
|
||||||
return 0.0
|
return 0.0
|
||||||
|
|
||||||
def list2float(lst):
|
def list2float(lst):
|
||||||
try:
|
try:
|
||||||
return str2float((lambda s : s[:-3] + '.' + s[-3:])(lst))
|
return str2float((lambda s : s[:-3] + '.' + s[-3:])(lst))
|
||||||
except:
|
except:
|
||||||
return 0.0
|
return 0.0
|
||||||
|
|
||||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -33,7 +33,6 @@ Accounting chart and localization for Ecuador.
|
||||||
'base_vat',
|
'base_vat',
|
||||||
'base_iban',
|
'base_iban',
|
||||||
'account_chart',
|
'account_chart',
|
||||||
'account_coda',
|
|
||||||
],
|
],
|
||||||
'data': [
|
'data': [
|
||||||
'account_tax_code.xml',
|
'account_tax_code.xml',
|
||||||
|
|
Loading…
Reference in New Issue