Hi Leonardo,
A clean we to avoid the weirdness is to put the _get_statement(_from_profile)
in the AccountStatementProfile class and reference it like this:
store={
'account.bank.statement': (_us, ['profile_id'], 10),
'account.statement.profile': (
AccountStatementProfile._get_statement, ['partner_id'], 10),
},
That worked for me in other situations.
--
https://code.launchpad.net/~camptocamp/banking-addons/bank-statement-reconcile-7.0-fix-related-balance-check/+merge/209723
Your team Banking Addons Core Editors is subscribed to branch
lp:banking-addons/bank-statement-reconcile-7.0.
--
Mailing list: https://launchpad.net/~banking-addons-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~banking-addons-team
More help : https://help.launchpad.net/ListHelp