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

point of sale thousands separator in price

By
jose mejia
on 5/9/13, 7:20 PM 2,590 views

As I can assign thousands separator in prices POS ?

1
Harri Luuppala
On 11/16/13, 5:19 PM

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.

0

Thierry Godin

--Thierry Godin--
1516
| 8 7 8
Collegien, France
--Thierry Godin--

..

Thierry Godin
On 11/17/13, 7:41 AM

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

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

0 follower(s)

Stats

Asked: 5/9/13, 7:20 PM
Seen: 2590 times
Last updated: 3/16/15, 8:10 AM