I was checking your changes in stock/wizard/stock_invoice_onshipping.py and is there a reason to have an if-then block like you wrote from lines 128 to 141 because the statements are the same in "if" and "else" block? And is there a reason to create invoice_obj and invoice_line_obj when you don't use them? (or maybe you use them somewehere else in code?)
Hi ron!
I was checking your changes in stock/wizard/ stock_invoice_ onshipping. py and is there a reason to have an if-then block like you wrote from lines 128 to 141 because the statements are the same in "if" and "else" block? And is there a reason to create invoice_obj and invoice_line_obj when you don't use them? (or maybe you use them somewehere else in code?)