From 31c248b730ae0819dad71bb0421302f4d7100a9c Mon Sep 17 00:00:00 2001 From: "Louis (loco)" Date: Tue, 6 Feb 2024 15:19:08 +0100 Subject: [PATCH] [FIX] website_sale: adapt the documentation of _shouldIgnoreRpcResult As `this._rpc()` can not be used since [1], this commit removes the mention to this method in the documentation of the `_shouldIgnoreRpcResult` method. [1]: https://github.com/odoo/odoo/commit/7422eb643c5922bde8c70edfbe7b6f8dad53c1d9 Related to runbot-28700 closes odoo/odoo#152885 Signed-off-by: Colin Louis (loco) --- addons/website_sale/static/src/js/sale_variant_mixin.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/website_sale/static/src/js/sale_variant_mixin.js b/addons/website_sale/static/src/js/sale_variant_mixin.js index 0eb37375624..02bae047331 100644 --- a/addons/website_sale/static/src/js/sale_variant_mixin.js +++ b/addons/website_sale/static/src/js/sale_variant_mixin.js @@ -730,8 +730,7 @@ var VariantMixin = { /** * Return true if the current object has been destroyed. * This function has been added as a fix to know if the result of a rpc - * should be handled. Indeed, "this._rpc()" can not be used as it is not - * supported by some elements that use this mixin. + * should be handled. * * @private */