mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[MIG] website_rma: Migration to 15.0
This commit is contained in:
@@ -5,10 +5,10 @@ import json
|
||||
from odoo import http
|
||||
from odoo.http import request
|
||||
|
||||
from odoo.addons.website_form.controllers.main import WebsiteForm
|
||||
from odoo.addons.website.controllers import form
|
||||
|
||||
|
||||
class WebsiteForm(WebsiteForm):
|
||||
class WebsiteForm(form.WebsiteForm):
|
||||
def insert_record(self, request, model, values, custom, meta=None):
|
||||
res = super().insert_record(request, model, values, custom, meta)
|
||||
# Add the customer to the followers, the same as when creating
|
||||
|
||||
Reference in New Issue
Block a user