Bug 22823 introduced a consistent method for obtaining the inbound email address of a library branch, we should use that method to obtain the correct address for use with the EmailPurchaseSuggestions functionality when it is set to 'BranchEmailAddress'.
Created attachment 99573 [details] [review] Bug 24723: Update EmailPurchaseSuggestions to use effective_email This patch updates the EmailPurchaseSuggestions functionality to use the get_effective_email method to obtain the correct email address for a branch when it is set to BranchEmail
Created attachment 100942 [details] [review] Bug 24723: Update EmailPurchaseSuggestions to use inbound_email_address This patch updates the EmailPurchaseSuggestions functionality to use the inbound_email_address method to obtain the correct email address for a branch when it is set to BranchEmail
The method has been renamed in a previous bug report.
Created attachment 100948 [details] [review] Bug 24723: Update EmailPurchaseSuggestions to use inbound_email_address This patch updates the EmailPurchaseSuggestions functionality to use the inbound_email_address method to obtain the correct email address for a branch when it is set to BranchEmail Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Trivial patch, tested on top of the whole stack. Passing QA.
Nice work everyone! Pushed to master for 20.05
not backported to 19.11.x due to dependencies