禁用在线支付

Following recent changes in Odoo 16, you might be warned that disabling the Invoice Online Payment setting will uninstall modules. If you want to disable the feature without uninstalling modules, follow the steps below to install the module Payment - Account / Invoice Online Payment Patch.

注解

If your Odoo database is created after the module Payment - Account / Invoice Online Payment Patch was released, you don’t have anything to do.
To check if the module is already installed, go to Apps, remove the Apps filter, and search for account_payment. If the module Payment - Account / Invoice Online Payment Patch is present and marked as installed, your Odoo database is already up-to-date and you are able to disable the feature without side-effect.

将Odoo更新到最新版本

The possibility to disable the Invoice Online Payment setting without side-effect is made available through a new Odoo module; to be able to install it, you must make sure that your Odoo source code is up-to-date.

如果您在Odoo.com或Odoo.sh平台上使用Odoo,则您的代码已经是最新的,您可以继续执行下一步。

If you use Odoo with an on-premise setup or through a partner, you must update your installation as detailed in this documentation page, or by contacting your integrating partner.

更新可用模块列表

新模块必须由您的Odoo实例 发现,才能在 应用 菜单中使用。

To do so, activate the developer mode, and go to Apps ‣ Update Apps List. A wizard will ask for confirmation.

Install the module Invoice Online Payment Patch

警告

You should never install new modules in your production database without first testing them in a duplicate or staging environment. For Odoo.com customers, a duplicate database can be created from the database management page. For Odoo.sh users, you should use a staging or duplicate database. For on-premise users, you should use a staging environment—contact your integrating partner for more information regarding how to test a new module in your particular setup.

The module should now be available in your Apps menu. Remove the Apps filter and search for account_payment; the module Payment - Account / Invoice Online Payment Patch should be available for installation. If you cannot find the module after having updated the list of available modules, it means your Odoo source code is not up-to-date; refer to step one of this page.

Once the module is installed, disabling the feature will work as intended and will not ask you to uninstall installed applications or modules.