Odoo Help


field does not store value in DB

on 4/21/15, 5:01 PM 410 views

The field "credit_limit" in res.partner object does not save its value in DB after i set it !!!

any ideas about this please!

On 4/22/15, 3:45 AM

it's a field of type float.

'credit_limit': fields.float('Credit limit'),

Solved: The field was declared twice in the the same xml form. it has to be unique per record to store values in DB

on 4/25/15, 1:50 PM
Marvin Haß
On 4/22/15, 3:15 AM

in odoo v8 the problem sould be resolved with (if credit_limit is an computed field):

credit_limit = fields.xxx(store=True)

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/21/15, 5:01 PM
Seen: 410 times
Last updated: 4/22/15, 3:45 AM