-
Notifications
You must be signed in to change notification settings - Fork 130
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
Cannot save one2many data #144
Comments
Hey @jay009id I am also curious to make this app running. For me, it shows that "ModelName"Set methods are missing. Did you solve it or you didn't have this issue? |
Hello @SamyRai I didn't solve it yet. I don't understand the code in line 55 that variable v as interface and need to convert float64. |
@jay009id If I remember well, since the value comes from json returned by the client, numbers are mapped to float64, even if they are integers. So the underlying value of v is a float64 and we need to cast to int64. @SamyRai "ModelName"Set structs and methods are generated with |
Hi @npiganeau The type of variable |
Hello, I cannot save form that have one2many field as picture below :
And the log :
Is there any clue how to fix it? Thanks in advance.
The text was updated successfully, but these errors were encountered: