Relative Content

Tag Archive for javascriptpythonodooodoo-17

ODOO V17 JS usage

I’m trying to get record data from a model in my JS. I see that I can use RPC to do this, but when I try, I have a lot of problems loading RPC first, and I don’t know how to execute this correctly.
Here the code i try to execute:
odoo.define('js_worked.record',[] ,function (require) {"use strict";console.log('TEST REUSSI')var rpc = require('web.rpc');rpc.query({model: 'purchase.order',method: '_get_data_records',args: [[]],}).then(function (data){console.log(data);});});
I just want to get odoo record data from model in my js

I cant the load js on odoo17

I try to upgrade module from odoo14 to odoo7 but when I try to do upgrade I have Issue in js I cant loaded Js even I define the path in manifest
I need Help

is there anyway to dispaly solar hijri calender in odoo 17?

I’m currently in the process of setting up Odoo for a company that primarily operates with the Solar Hijri calendar. However, Odoo doesn’t offer this calendar format out of the box. I’m seeking guidance on the precise steps required to integrate the Solar Hijri calendar into Odoo effectively.