vendredi 3 septembre 2021

Hide payment method if specific shipping method selected in odoo eCommerce website

I want to hide specific payment method (cash on delivery) if specific shipping method selected before. For example, if I check shipping method A , then in the next step, payment methods I have only one method to check ( other methods disabled or unable to check). I try to edit and add many2many relational field of payment.acquirer model in shdelivery.carrier and use this filed in controller but it not work , so far I havent' find the solution.

Any other ideas how to solve this issue ?




Aucun commentaire:

Enregistrer un commentaire