← Back to team overview

openerp-india team mailing list archive

[Bug 884304] Re: mrp - no precision specified for product_qty

 

I just had to solve the problem in webkit report

<%import locale%>
<%locale.setlocale(locale.LC_ALL, "de_DE.UTF-8") %>

and

${locale.format("%0.0f", prod_line.product_qty,True)}

did the trick (I didn't want decimals, but thousand separators)
and de_DE could be replaced by a variable

may be  I miss something easier

-- 
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/884304

Title:
  mrp - no precision specified for product_qty

Status in OpenERP Addons (modules):
  New

Bug description:
  IMHO a product precision should be defined for mrp

  it's only done for
  ./wizard/mrp_product_produce.py:30:  
  all others have no specs.

  or do I miss something ?

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


References