Skip the payment_asiapay test verifying the reference computation with an invoice when account_payment is not installed. Also add a dedicated helper, using the variable in payment already storing whether the account_payment module is installed. closes odoo/odoo#103449 X-original-commit: f1fd1c9e484025782079fc18c152269aa1723ed5 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com> Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>