I’m trying to import an OFX file (created using this tool CSV2OFX for a CSV source downloaded from my bank) but unfortunately I’m getting an exception since it appears that the balance_date is a required field and it cann’t be recreated from the data that comes in the OFX file (it’s my understanding that the (LEDGERBAL) tag is the one that indeed has that info… I’ve verified and CSV2OFX is not inserting that tag despite the fact that my CSV file has the balance attribute for each record)…
My question is: Has somebody been successful importing statements from a csv source (through OFX) into Tryton? if yes, what conversion tool (CSV->OFX) have you used?
Thanks in advance!,
This is the traceback of the exception:
Traceback (most recent call last): File "/trytond/wsgi.py", line 73, in dispatch_request return endpoint(request, **request.view_args) File "/trytond/protocols/dispatcher.py", line 46, in rpc request, database_name, *request.rpc_params) File "/trytond/wsgi.py", line 44, in auth_required return wrapped(*args, **kwargs) File "/trytond/protocols/wrappers.py", line 122, in wrapper return func(request, pool, *args, **kwargs) File "/trytond/protocols/dispatcher.py", line 176, in _dispatch result = rpc.result(meth(*c_args, **c_kwargs)) File "/trytond/wizard/wizard.py", line 292, in execute return wizard._execute(state_name) File "/trytond/wizard/wizard.py", line 318, in _execute do_result = do(action) File "/trytond/modules/account_statement/statement.py", line 1053, in do_import_ statements = list(getattr(self, 'parse_%s' % self.start.file_format)()) File "/trytond/modules/account_statement_ofx/account.py", line 41, in parse_ofx statement = self.ofx_statement(ofx, account) File "/trytond/modules/account_statement_ofx/account.py", line 70, in ofx_statement statement.date = ofx_account.statement.balance_date.date() AttributeError: 'Statement' object has no attribute 'balance_date'