odoo-jsonrpc
odoo-jsonrpc copied to clipboard
PHP Odoo Json-RPC connector, prepared for laravel integration
Someone help me with the datetime cast I cant seem to get it to work \Obuchmann\OdooJsonRpc\Odoo::registerCast(new Odoo\Casts\DateTimeCast()); This doesnot seem to work for me
For API sync we need to disable VAT ID validation. Per documentation/research we found out that this is possible with setting context ('no_vat_validation', true) -> I tries to set this...
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...
e.g. project.project action_archive. ``` use Obuchmann\OdooJsonRpc\Odoo\Request\Request; class ArchiveProject extends Request { public function __construct(private int $projectId) { parent::__construct('project.project', 'action_archive'); } public function toArray(): array { return [ $this->projectId ]; }...
I was trying to define a model for Sales Order, with a relation for its Lines. I saw that the PurchaseOrder model in the test folders had a ::read method...
Next to `get`, in laravel, we're also kind of using the Paginator. We can currently already use `limit` and `offset`, of course. So hereby a request for the addition of...