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 use monetary widget and currency_id in stock_picking form view?

By
E.M.
on 2/16/16, 5:39 PM 719 views

Hi,


I am using stock_valued module, which adds prices to stock_picking.

I am trying to use some extra fields using the currency using the monetary widget:

<field name="amount_early_payment_discount"  widget='monetary' options="{'currency_field': 'currency_id'}" readonly="1"/>

However, the currency sign (euro in my case) is not displayed, and I suspect that this is due to currency_id field missing.

I have two doubts:

- How can I incorporate currency_id field to stock_picking?, and

- How can I be sure that currency_id is not available in a given view?

Thanks,

0

Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
2988
| 5 3 5
Sudan
--Ahmed M.Elmubarak--


Ahmed M.Elmubarak
On 2/17/16, 1:47 AM

Hi,

For the second part of the question: 

There are several ways to check the field already available in the model or not. I think the most easy way it to check it from the UI

'Make sure you've technical feature' enabled for your use. Then from Settings->Technical->Database Structure->Models

Then in the search area type stock.picking. So in the fields tab you can find all the fields in this model.


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: 2/16/16, 5:39 PM
Seen: 719 times
Last updated: 2/17/16, 1:47 AM