← Back to team overview

banking-addons-team team mailing list archive

Re: [Merge] lp:~camptocamp/banking-addons/bank-statement-reconcile-7.0-fix-related-balance-check into lp:banking-addons/bank-statement-reconcile-7.0

 

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.


References