← Back to team overview

openerp-india team mailing list archive

[Bug 1207807] [NEW] account.voucher error total and tax when setting res.lan.grouping

 

Public bug reported:

openerp-7.0_20130225_002124-py2.7.egg
module: account.voucher

configuration:

lang: 
name:Spanish (CL) / Español (CL)
grouping: [3,3,-1]
decimal_point: ,
thousands_sep: .

currency:
name: CLP
rounding: 1.0000
accuracy: 0

decimal.precision:
name: account
digits: 0

problem:
add a new purchase account voucher, input all values , the total and tax is correct but when press save button, change:

total=total/1000 
tax=tax/1000

for example:
input 1 line for amount: 111111
openerp calc:
tax_amount: 16667
total_amout: 127778

when save button is press, values change to:
input 1 line for amount: 111111 (no change)
tax_amount: 17
total_amout: 128

NOTE: IN OPENERP 6.1 THIS WORK OK, with same configuration

regards

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


** Tags: account.voucher openerp

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

Title:
  account.voucher error total and tax when setting res.lan.grouping

Status in OpenERP Addons (modules):
  New

Bug description:
  openerp-7.0_20130225_002124-py2.7.egg
  module: account.voucher

  configuration:

  lang: 
  name:Spanish (CL) / Español (CL)
  grouping: [3,3,-1]
  decimal_point: ,
  thousands_sep: .

  currency:
  name: CLP
  rounding: 1.0000
  accuracy: 0

  decimal.precision:
  name: account
  digits: 0

  problem:
  add a new purchase account voucher, input all values , the total and tax is correct but when press save button, change:

  total=total/1000 
  tax=tax/1000

  for example:
  input 1 line for amount: 111111
  openerp calc:
  tax_amount: 16667
  total_amout: 127778

  when save button is press, values change to:
  input 1 line for amount: 111111 (no change)
  tax_amount: 17
  total_amout: 128

  NOTE: IN OPENERP 6.1 THIS WORK OK, with same configuration

  regards

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


Follow ups

References