You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
327 B

from odoo import http
from odoo.http import request
from odoo.exceptions import UserError
import json
class donation():
@http.route(['/makedonation'], type='http', auth="public", methods=['POST'], website=True)
def make_donation(self, **kw):
return http.request.render('opendons.makedonation_form')