[FIX] invoice_xunnel: modify the way of give a manual transaction its name to avoid concatenate bool and string t#54875
RELATED
OVERVIEW
When a manual line has no name the method _prepare_transactions() use to break in the line
manual_lines.name += ' - ' + trans['payment_ref']
LISTED FEATURES
- Add an
if
statement to run the line that use to cause trouble to run it only if the manual statement has name, this avoid the error raised in method_constrains_date_sequence()
VIDEO DEMO
TESTING
To replicate the behavior shown at the videos please download the backup from Vauxoo instance at Feb. 2023 from here
Edited by Yoany Mora Vauxoo