I got three different custom modules that each overwrite the same method like the following :
from odoo.addons.website_sale.controllers.main import WebsiteSale
class WebsiteSale(WebsiteSale):
@http.route()
def shop(self, page=0, category=None, search='', ppg=False, **post):
{Code Block 1}
from odoo.addons.website_sale.controllers.main import WebsiteSale
class WebsiteSale(WebsiteSale):
@http.route()
def shop(self, page=0, category=None, search='', ppg=False, **post):
{Code Block 2}
from odoo.addons.website_sale.controllers.main import WebsiteSale
class WebsiteSale(WebsiteSale):
@http.route()
def shop(self, page=0, category=None, search='', ppg=False, **post):
{Code Block 3}
When calling shop route or function which code block will be executed ?