odoo-jsonrpc icon indicating copy to clipboard operation
odoo-jsonrpc copied to clipboard

Timezone / Context not used

Open hqtrung opened this issue 1 year ago • 2 comments

I have initialize the connection with $this->odoo = new Odoo(new Odoo\Config($this->database, $this->host, $this->username, $this->password), new Odoo\Context("en", "Asia/Saigon")); but when I use model $order = $this->odoo->model('pos.order') ->where('id', '=', '110930') ->get();

The result return 7 hours off from the actual time, Look like timezone was not applied.

What have I done wrong ?

hqtrung avatar Dec 16 '23 02:12 hqtrung