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

As I can assign thousands separator in prices POS ?

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

Settings / Translation / Language - select the language and set separator format to: [3,0] This means that you have one separator between every three integers - infinitely (zero means that repeat this for all integers in the number.

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

Hello,

You can set decimal precision by going to Configuration -> DB Structure -> Decimal precision.

Set Product Price to : 3

Also, in the Point Of Sale, if you want orders to have decimal precision set to 3, you have to add one entry in Configuration -> DB Structure -> Decimal precision

Create a new one and type "Point Of Sale" (without commas), and set it to 3 digits.

This is because in point_of_sale.py, some columns try to retrieve decimal precision from decimal.precision model, looking for "Point Of Sale" , but no entry has been set for this.

See in point_of_sale.py, in pos_order class :

dp.get_precision('Point Of Sale')

About decimal precision, see on top of file :

import openerp.addons.decimal_precision as dp

It seems that OpenERP Team forgot this step.

Best regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 25
1692
0
thg 10 18
2758
2
thg 8 16
4465
2
thg 5 16
4480
4
thg 8 25
2976