Diana Rodríguez Martínez has proposed merging
lp:~dr.clearcorp/openerp-costa-rica/6.1-fix_parser_bcr into
lp:openerp-costa-rica/6.1.
Requested reviews:
CLEARCORP drivers (clearcorp-drivers)
For more details, see:
https://code.launchpad.net/~dr.clearcorp/openerp-costa-rica/6.1-fix_parser_bcr/+merge/190848
[FIX] Fix parser to adjust number of spaces for debit and credit column
--
https://code.launchpad.net/~dr.clearcorp/openerp-costa-rica/6.1-fix_parser_bcr/+merge/190848
Your team CLEARCORP development team is subscribed to branch
lp:openerp-costa-rica/6.1.
=== modified file 'l10n_cr_account_banking_cr_bcr/bcr_parser.py'
--- l10n_cr_account_banking_cr_bcr/bcr_parser.py 2013-05-28 17:45:11 +0000
+++ l10n_cr_account_banking_cr_bcr/bcr_parser.py 2013-10-14 00:50:02 +0000
@@ -230,10 +230,10 @@
mapping['name'] = sub[27:80]
mapping['id'] = sub[27:80]
- amount = sub[106:]
+ amount = sub[120:]
amount.replace('\t',' ')
- debit = amount[0:16]
- credit = amount[16:]
+ debit = amount[0:40]
+ credit = amount[40:]
if (parser.extract_float(debit) is not ''): #debit
cad = parser.extract_float(debit)
_______________________________________________
Mailing list: https://launchpad.net/~clearcorp
Post to : [email protected]
Unsubscribe : https://launchpad.net/~clearcorp
More help : https://help.launchpad.net/ListHelp