Before this commit, there were some traceback while performing several actions due to context that was not properly evaluated. This commit fixes those traceback by evaluating the context and thus enabling user to perform those actions without traceback. We also clean some badly-configured email actions in accounting. Task Id : 2302572 PR #56501 X-original-commit: 71a39c6650e18b71a212bf21150fece683ae01c7 Co-authored-by: D J <dja@odoo.com> Co-authored-by: Thibault Delavallée <tde@odoo.com>