Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1793 Lượt xem

Hi 

I want to add currancy symbol in mrp module but Monetary is not working here .

So how can achive this

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

I am inherting mrp_view.xml


<xpath expr="//field[@name='bom_line_ids']" position="after"> <div class="pull-right"> <b> <span> Total: </span><field name="total_amount" widget="Monetary" options="{'currency_field': 'currency_id'}" /> </b> </div> </xpath>



I want to add currancy symbol anfter total amount but it showing that no currancy_if find.

so  how i can use it or any other way to do this.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Could you give more details? Where do you want to add, what currency. Where does not 'Monetary' work? What is 'Monetary? Widget, field type?

Ảnh đại diện
Huỷ bỏ