Odoo Help

0

access to many2one fields

By
josemi
on 4/21/16, 7:06 AM 458 views

I have a field many2one

state = fields.Many2one ("ags.traffic.operation.state")

state has the following fields (name = fields.Char, sequence = fields.Integer, type = fields.Selection)

in the view

<field name = "state" widget = "statusbar" clickable = "True" / >

as I can access those fields to give defaults for example?

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.

Register

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)

Stats

Asked: 4/21/16, 7:06 AM
Seen: 458 times
Last updated: 4/21/16, 7:17 AM