-
-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[11.0][account_partner_reconcile] splits the button 'Match payments' to 'Match Receivables' and 'Match payables' #219
[11.0][account_partner_reconcile] splits the button 'Match payments' to 'Match Receivables' and 'Match payables' #219
Conversation
if reconcile_mode == 'customers': | ||
accounts = self.property_account_receivable_id | ||
else: | ||
accounts = self.self.property_account_payable_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.self.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's Simplify, No need to else
accounts = self.property_account_payable_id
if reconcile_mode == 'customers':
accounts = self.property_account_receivable_id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improved Code
if reconcile_mode == 'customers': | ||
accounts = self.property_account_receivable_id | ||
else: | ||
accounts = self.self.property_account_payable_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's Simplify, No need to else
accounts = self.property_account_payable_id
if reconcile_mode == 'customers':
accounts = self.property_account_receivable_id
295d45c
to
681859f
Compare
Splits the button 'Match payments' to 'Match Receivables' and 'Match Payables', as the previous button was just now working.
681859f
to
2830a05
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@pedrobaeza ready to merge 🍏 |
The previous button was just now working in v11.