odoo.define('test_payment.test_checkout_form', require => { 'use strict';
const PaymentCheckoutForm = require('payment.checkout_form');
const paymentFormMixin = require('payment.payment_form_mixin');
const manageForm = require('payment.manage_form');
const publicWidget = require('web.public.widget');
const test_Mixin = {
_prepareInlineForm: function (code, paypaymentOptionId, flow){
if(code != "test"){
return this._super(...arguments);
}
console.log("abcdefghijklmop")
}
}
PaymentCheckoutForm.include(test_Mixin);
manageForm.include(test_Mixin);});
I want to try to replicate the payment_form.js of the payment_adyen to understand the usage of _prepareInlineForm, but i get this error, i don't understand what i am missing. I am working with Odoo 16. Thanks in advance for the time you will take for my answer.