← Back to team overview

openerp-india team mailing list archive

[Bug 1064691] [NEW] Product Label Report - spacing issue and price precision issue

 

Public bug reported:

When printing product labels, they are printed with only one decimal
place and without a space between the price and the currency (1.9USD
instead of 1.95 USD).  This problem can be replicated in OpenERP 6-1.1
and exists in the trunk code for 6.2/7.

1) Steps to reproduce the issue you have observed

A) Warehouse -> Products -> Products
B) Select or open a product
C) Click Products Labels on the action menu

2) The result you observed

The price was printed with one decimal place and without a space between
the price and the currency.

3) The result you expected

The price printed with two decimal places and with a space between the
price and the currency.

4) The platform you are using (and browser version, if relevant)

not believed to be relevant

5) The OpenERP version you are using (e.g. 6.1.1-20120910-233309), if
possible including the specific revision (e.g. r.2824) if you use the
source repositories.

revno 7001 of addons branch for OpenERP 6-1-1, but this same issue is in
trunk for 6.2/7 at http://bazaar.launchpad.net/~openerp/openobject-
addons/trunk/view/head:/product/report/product_label.xsl

See forum discussion at
http://www.openerp.com/forum/post114458.html#p114458

Our fix is for comma thousand separator countries -  North American,
Australian, India, China, etc.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Patch added: "Diff that fixes this bug"
   https://bugs.launchpad.net/bugs/1064691/+attachment/3391043/+files/product_label.diff

** Description changed:

  When printing product labels, they are printed with only one decimal
  place and without a space between the price and the currency (1.9USD
  instead of 1.95 USD).  This problem can be replicated in OpenERP 6-1.1
  and exists in the trunk code for 6.2/7.
  
  1) Steps to reproduce the issue you have observed
  
  A) Warehouse -> Products -> Products
  B) Select or open a product
  C) Click Products Labels on the action menu
  
  2) The result you observed
  
  The price was printed with one decimal place and without a space between
  the price and the currency.
  
  3) The result you expected
  
  The price printed with two decimal places and with a space between the
  price and the currency.
  
  4) The platform you are using (and browser version, if relevant)
  
  not believed to be relevant
  
  5) The OpenERP version you are using (e.g. 6.1.1-20120910-233309), if
  possible including the specific revision (e.g. r.2824) if you use the
  source repositories.
  
- revno 7001 for OpenERP 6-1-1, but this same issue is in trunk for 6.2/7
- at http://bazaar.launchpad.net/~openerp/openobject-
+ revno 7001 of addons branch for OpenERP 6-1-1, but this same issue is in
+ trunk for 6.2/7 at http://bazaar.launchpad.net/~openerp/openobject-
  addons/trunk/view/head:/product/report/product_label.xsl
  
  See forum discussion at
  http://www.openerp.com/forum/post114458.html#p114458
  
  Our fix is for comma thousand separator countries (USA, Australia,
  India, China, etc).

** Description changed:

  When printing product labels, they are printed with only one decimal
  place and without a space between the price and the currency (1.9USD
  instead of 1.95 USD).  This problem can be replicated in OpenERP 6-1.1
  and exists in the trunk code for 6.2/7.
  
  1) Steps to reproduce the issue you have observed
  
  A) Warehouse -> Products -> Products
  B) Select or open a product
  C) Click Products Labels on the action menu
  
  2) The result you observed
  
  The price was printed with one decimal place and without a space between
  the price and the currency.
  
  3) The result you expected
  
  The price printed with two decimal places and with a space between the
  price and the currency.
  
  4) The platform you are using (and browser version, if relevant)
  
  not believed to be relevant
  
  5) The OpenERP version you are using (e.g. 6.1.1-20120910-233309), if
  possible including the specific revision (e.g. r.2824) if you use the
  source repositories.
  
  revno 7001 of addons branch for OpenERP 6-1-1, but this same issue is in
  trunk for 6.2/7 at http://bazaar.launchpad.net/~openerp/openobject-
  addons/trunk/view/head:/product/report/product_label.xsl
  
  See forum discussion at
  http://www.openerp.com/forum/post114458.html#p114458
  
- Our fix is for comma thousand separator countries (USA, Australia,
- India, China, etc).
+ Our fix is for comma thousand separator countries - Albania, Andorra,
+ Argentina, Armenia, Austria, Azerbaijan, Belarus, Belgium, Bolivia,
+ Bosnia and Herzegovina, Brazil, Bulgaria, Cameroon, Canada (French-
+ speaking) , Chile, Colombia, Costa Rica, Croatia (comma used officially,
+ but both forms are in use elsewhere), Cuba, Cyprus, Czech Republic,
+ Denmark, Dominican Republic, Estonia, Faroes, Finland, France, Germany,
+ Georgia, Greece, Greenland, Honduras, Hungary, Iceland, Indonesia,
+ Italy, Kazakhstan, Kirgistan, Latvia, Lebanon, Lithuania, Luxembourg
+ (uses both marks officially), Macau (in Portuguese text), Macedonia,
+ Moldova, Mongolia, Morocco, Netherlands, Norway, Panama, Paraguay, Peru,
+ Poland, Portugal, Romania, Russia, Serbia, Slovakia, Slovenia, South
+ Africa (officially), Spain, Sweden, Tunisia, Turkey, Ukraine, Uruguay,
+ Uzbekistan, Venezuela, and Vietnam.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1064691

Title:
  Product Label Report - spacing issue and price precision issue

Status in OpenERP Addons (modules):
  New

Bug description:
  When printing product labels, they are printed with only one decimal
  place and without a space between the price and the currency (1.9USD
  instead of 1.95 USD).  This problem can be replicated in OpenERP 6-1.1
  and exists in the trunk code for 6.2/7.

  1) Steps to reproduce the issue you have observed

  A) Warehouse -> Products -> Products
  B) Select or open a product
  C) Click Products Labels on the action menu

  2) The result you observed

  The price was printed with one decimal place and without a space
  between the price and the currency.

  3) The result you expected

  The price printed with two decimal places and with a space between the
  price and the currency.

  4) The platform you are using (and browser version, if relevant)

  not believed to be relevant

  5) The OpenERP version you are using (e.g. 6.1.1-20120910-233309), if
  possible including the specific revision (e.g. r.2824) if you use the
  source repositories.

  revno 7001 of addons branch for OpenERP 6-1-1, but this same issue is
  in trunk for 6.2/7 at http://bazaar.launchpad.net/~openerp/openobject-
  addons/trunk/view/head:/product/report/product_label.xsl

  See forum discussion at
  http://www.openerp.com/forum/post114458.html#p114458

  Our fix is for comma thousand separator countries -  North American,
  Australian, India, China, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1064691/+subscriptions


Follow ups

References