odoo/industry#1534

Created by Industry, Vallaeys Valentin (vava)

Blocked

label
odoo-dev:19.0-no-immediate-install-vava
head
1e44b4cb74fc4a7846390dae15a7b3fc1e92a9ed
odoo/industry
19.0 #1534 missing statuses missing r+
saas-19.1
master

[FIX] *: no more button_immediate_install call

Before this commit, we use button_immediate_install for payment_demo in order not to force the dependency while this module is only useful in demo mode. The problem is that button_immediate_install is not safe, as it creates issues in the registry, and therefore should be prevented.

This commit replaces button_immediate_install by button_install, marking this module as "to be installed" (when the registry is loaded again).

task-4804947