# from odoo import http # class DbDataSync(http.Controller): # @http.route('/db_data_sync/db_data_sync', auth='public') # def index(self, **kw): # return "Hello, world" # @http.route('/db_data_sync/db_data_sync/objects', auth='public') # def list(self, **kw): # return http.request.render('db_data_sync.listing', { # 'root': '/db_data_sync/db_data_sync', # 'objects': http.request.env['db_data_sync.db_data_sync'].search([]), # }) # @http.route('/db_data_sync/db_data_sync/objects/', auth='public') # def object(self, obj, **kw): # return http.request.render('db_data_sync.object', { # 'object': obj # })