Odoo Hilfe


4 Antworten
Pablo Guerra Spanien
03.03.19, 23:13
Try like this

state = fields.Selection(string="Statut", selection_add="[('e', 'e')]", default='e')
1 Kommentar
Zakaria Marokko
04.03.19, 06:57

Where do I put this instruction? I tried both in the declaration of the model and in the create function but still no results

hamza Pakistan
28.05.19, 00:32

The answer is simple just change the name of your field from 'state' to 'anythingnelse' then it will work perfect. Thank You

Fragen Sie
Keep Informed
1 Verfolger
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