diff --git a/addons/payment_acquirer_adyen/controllers/main.py b/addons/payment_acquirer_adyen/controllers/main.py index 2ea9fb00c51..f1f15bddf8d 100644 --- a/addons/payment_acquirer_adyen/controllers/main.py +++ b/addons/payment_acquirer_adyen/controllers/main.py @@ -20,8 +20,9 @@ class AdyenController(http.Controller): @website.route([ '/payment/adyen/return/', ], type='http', auth='public') - def adyen_return(self, **post): - """ Paypal IPN. """ + def adyen_return(self, pspReference, **post): + """ Paypal IPN.""" + post["pspReference"] = pspReference _logger.info('Beginning Adyen form_feedback with post data %s', pprint.pformat(post)) # debug request.registry['payment.transaction'].form_feedback(request.cr, request.uid, post, 'adyen', context=request.context) return_url = post.pop('return_url', '') diff --git a/addons/website/static/src/js/website.snippets.editor.js b/addons/website/static/src/js/website.snippets.editor.js index 33f38eaa6b4..bbf63f742cb 100644 --- a/addons/website/static/src/js/website.snippets.editor.js +++ b/addons/website/static/src/js/website.snippets.editor.js @@ -1294,11 +1294,6 @@ this.$target.css("background-image", ""); this.$target.removeClass(this._class); }, - getSize: function () { - this._super(); - //this.grid.size = null; - return this.grid; - }, load_style_options : function () { this._super(); $(".snippet-style-size li[data-class='']").remove();