Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

[Odoo CE 17.0] Fields related to custom fields don't save any values

by
Jose Luis Baños Consulting, S.L.U., Alejandro Párraga Alcázar
- 10/12/2024 09:32:03
Hello everyone,
 
I am writing this message because I need help with making fields related to custom fields store values into the database.
 
Some days ago, I made a custom model through Python called "product_measures", which is inside a model called "product_dimension". Said model not only has three Many2one fields, each one for the product's measures, but is also inside another model of "product_dimension" called "product_template", which has the same fields but with the related field section and different names. The problem is that whenever I write anything on the fields, it doesn't save anything. Also, I'm trying to make it so every value that is created and is a number is converted into a Float.
 
I'm sending the module in a zip file because I have been stuck with this problem for quite some time, and I would like to solve this problem as soon as possible.
 
Thanks in advance for anyone who answers.
 
Best regards.

Follow-Ups