odoo-addons
odoo-addons copied to clipboard
Issue trying to make a PUT
The PUT example that's in the README doesn't work for FK attributes because the payload is only expecting the form parameters and there is passing it on the body, it says the update was successful but isn't true because the form params are always strings and Odoo crashes on that because the FK should be integers
What version are you referring to?
On Thu, 20 Feb 2020 at 22:57, oadiazp [email protected] wrote:
The PUT example that's in the README doesn't work for FK attributes because the payload is only expecting the form parameters and there is passing it on the body, it says the update was successful but isn't true because the form params are always strings and Odoo crashes on that because the FK should be integers
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ajepe/odoo-addons/issues/19?email_source=notifications&email_token=AEVVAXONGLZPLWWJAAV2SS3RD34DJA5CNFSM4KYXTKP2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPEES7Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVVAXK63YZAVD3SUYNYIMTRD34DJANCNFSM4KYXTKPQ .
12.0