'int' attribute has no 'id'
When trying to pay a partial amount on an open supplier invoice, I get the an
error message saying:
Error 'int' object has no attribute 'id'
Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 156, in _dispatch
res = dispatch(*args)
File "/trytond/protocols/dispatcher.py", line 154, in dispatch
result = rpc.result(meth(*args, **kwargs))
File "/trytond/wizard/wizard.py", line 259, in execute
return wizard._execute(state_name)
File "/trytond/wizard/wizard.py", line 290, in _execute
result = self._execute(transition())
File "/trytond/wizard/wizard.py", line 271, in _execute
view['fields'].keys())
File "/trytond/wizard/wizard.py", line 87, in get_defaults
defaults.update(default(fields))
File "/trytond/modules/account_invoice/invoice.py", line 2309, in default_ask
self.start.amount, invoice.company.currency.id)
File "/trytond/modules/currency/currency.py", line 211, in compute
from_currency = cls(from_currency.id)
AttributeError: 'int' object has no attribute 'id'
Modules area says I am running account_invoice 2.6.2 and currency 2.6.2.
Am attempting this from Tryton 2.6.1 on Mac OSX (probably doesn't matter but
thought I'd include that just in case).