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

How to add optional attributes to a field via the GUI in V9?

By
3piece
on 6/8/16, 7:31 PM 113 views

Hello all,


By using the GUI, how can you add optional attributes to a field?


I have built a custom model using the GUI interface.

model name: x_revenue_milestone

model String: Revenue Milestones

The model has three custom fields:

x_name : char(300)

x_funds: monetary

x_description: text


Obviously as the monetary field relies on 'currency_id', it either requires that field to be defined, or to have an optional parameter set.

As only custom fields are permitted, I have created the follow:

field identifier: x_currency_id

field name: Currency

Relation: rel.currency


I need to set the 'x_funds' optional parameter to:

optional: currency_field='x_currency_id'


I can't figure out how to set this via the GUI.

The only options are:

Field Name:

Field Label:

Field Help:

Field Type:

Serialization Field

Related Field:

Dependencies:

Compute:



Has anybody succeeded in adding a monetary field to a custom model via the GUI?


Is there any documentation on how to edit models/fields in the GUI. There is not one tutorial/book/document/stack overflow question that I can find on the web.


Regards,

James

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: 6/8/16, 7:31 PM
Seen: 113 times
Last updated: 6/9/16, 1:41 AM