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

Under a quotation template view, we have a field called Quantity which is rounded off to 2 places. I would like to change this to 3 decimal places. We cannot modify this using the decimal accuracy for the product unit of measure.

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

Under sale.order.template.form view, create an inherited view using the xpath for the definition of the field product_uom_qty and add this to it: digits ="[{total nunmber of allow digits},{rounding precision}]"

Although doing that in view is just visual limitation, it does not limit it on backend.

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