تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
9619 أدوات العرض

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,

الصورة الرمزية
إهمال
أفضل إجابة

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.


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يناير 16
4705
3
فبراير 16
5619
1
فبراير 16
3732
4
مايو 23
10524
1
يناير 19
9608