I am creating a table in the database using the below query:
CREATE TABLE location (
data jsonb
);
Now I don't want to create a model. but want to make a view which shows the record from the location table.
The records in the table are like:
data
{"angle": -84.34, "speed": 93.2, "status": "intransit", "trip_id": 80, "latitude": -1.236294, "longitude": 36.748787, "location_stamp": "2019-07-04 07:43:10"}
{"angle": -84.34, "speed": 93.2, "status": "intransit", "trip_id": 80, "latitude": -1.236294, "longitude": 36.748787, "location_stamp": "2019-07-04 07:43:10"}
How can I do this? Please suggest me any way to do this.
Thank you
refer this doc to extend interface: https://www.odoo.com/documentation/12.0/howtos/web.html
Hello,You can do it in two way:Creating a model like sale.report to just view without saving. Or you can extend interface