laradoo | Odoo ERP API for Laravel | REST library
kandi X-RAY | laradoo Summary
kandi X-RAY | laradoo Summary
Odoo ERP API for Laravel. Odoo website.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Handle the server
- Renders a method block
- Renders a block search index .
- Get source context .
- Generate macro method parameters
- Output the block menu
- Parse a single line
- Run the WSDL .
- Output block head
- Make a POST request
laradoo Key Features
laradoo Examples and Code Snippets
Community Discussions
Trending Discussions on laradoo
QUESTION
Could someone please provide a simple example of the usage for dealing with Odoo's one2many, many2many and selection fields when using Laradoo (or ripcord)?
Specifically how one would use them with create() and update(). In Python, it seems as if these are dealt with using special tuple commands however for PHP documentation seems very hard to find for these types of things and it would be extremely helpful.
For illustrative purposes in my particular project, I haven't been able to figure out how to relate a CRM lead tag to a lead during the creation process using Laradoo:
...ANSWER
Answered 2018-Sep-13 at 12:08First of all selection field values are just string values that need to be part of the field defined selection values.
The values for relational fields like Onetomany and Many2many are ruled by the command formated values that you could read at:
https://github.com/odoo/odoo/blob/11.0/odoo/models.py#L3020-L3055
For the php api usage with ripcord you could set the tag_ids field value like:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install laradoo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page