Odoo Help

Welcome!

This community 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.

0

field does not store value in DB

By
Thicham
on 4/21/15, 5:01 PM 372 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!

0
Thicham
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

Thicham
on 4/25/15, 1:50 PM
0
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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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