Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: [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 10:48:36
Hello Francesco,
 
I have tried what you said, and it still doesn't work.
El 10/12/2024 10:08 CET Francesco Ballerini <notifications@odoo-community.org> escribió:
 
 
Hello, add parameter `store=True` on those related fields. Update module after it.
 
Regards
 
--Francesco Ballerini

Il giorno mar 10 dic 2024 alle ore 09:38 Redes Sociales JLBBERP <notifications@odoo-community.org> ha scritto:
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.

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

 

Reference