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')
|