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

access to many2one fields

By
josemi
on 4/21/16, 7:06 AM 275 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?

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/16, 7:06 AM
Seen: 275 times
Last updated: 4/21/16, 7:17 AM