-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with GetDotNetModel method at Odoo 18 #108
Comments
had to implement this for our latest update to odoo 17 but all seems ok now. |
I have the same problem here, is there any way i can fix this locally in my project ? |
i copied the github repo, made the changed described above and rebuild the dll for my project. i'll have a look tomorrow to upload the changed repo and i'll post the link |
https://github.com/Pinscher-TDM/OdooJsonRpcClient the link is to a fork with the changes applied |
Thank you, I will clone it to test |
Hi! Any updates on this? |
In Odoo 18 when using the “GetDotNetModel” method it throws the exception “Not expected Property Value Type”.
To correct this make the following modifications
1-In OdooModelMapper.cs method ConvertToDotNetPropertyTypeTypeName
Add the lines in the case:
2-In OdooPropertyInfo.cs method ToOdooValueTypeEnum
Add in the case
3-In OdooPropertyInfo.cs OdooValueTypeEnum
Add this value to the enum type
The text was updated successfully, but these errors were encountered: