← Back to team overview

openobject-italia-core-devs team mailing list archive

Re: [Bug 1335867] Re: wrong undeductible tax

 

Ciao Lorenzo,
siccome ho poca dimestichezza con Launchpad ti chiedo un chiarimento:
se ho compreso bene, le mail che mio sono arrivate indicano che avete 
accettato il merge in openobject-italia;
non mi è chiaro il significato/Status in //OpenERP Italia: Incomplete/
nel primo messaggio sotto riportato.

Immagino siano messaggi tecnici di Launchpad ma vorrei capire un po' di 
più slu flusso di infomazioni di Launchpad.

Grazie

Antonio M. Vigliotti


[Bug 1335867] Re: wrong undeductible tax
Oggetto: [Bug 1335867] Re: wrong undeductible tax
Mittente: Lorenzo Battistini - Agile BG <lorenzo.battistini@xxxxxxxxxxx>
Data: 03/07/2014 08:27

A: info@xxxxxxxxxx


** Branch linked: lp:~zeroincombenze/openobject-italia/7.0

-- You received this bug notification because you are subscribed to the 
bug report. https://bugs.launchpad.net/bugs/1335867 Title: wrong 
undeductible tax Status in OpenERP Italia: Incomplete Bug description: 
Randomly, software report follow wrong error message: "The taxes %s have 
different rates" As in example file, undeductible tax has 2 sub codes, 
first with suffix a for undeductible rate and last with suffix b for 
deductible rate. The last one has type = 'balance' in order to receive 
all residual amount. The wrong code at line 35, property 
'_have_same_rate' does not check for this condition and returns a 
unpredictable value, as is randomly recorded. Suggested correction: 
<code> for account_tax in account_taxes: # <- Code un changed if 
account_tax.type != 'balance': # Check for balance type if rate is None: 
# <- code unchanged </code> To manage notifications about this bug go 
to: 
https://bugs.launchpad.net/openobject-italia/+bug/1335867/+subscriptions

-- 
You received this bug notification because you are a member of OpenERP
Italia core devs, which is subscribed to OpenERP Italia.
https://bugs.launchpad.net/bugs/1335867

Title:
  wrong undeductible tax

Status in OpenERP Italia:
  Incomplete

Bug description:
  Randomly, software report follow wrong error message:
  "The taxes %s have different rates"
  As in example file, undeductible tax has 2 sub codes, first with suffix a for undeductible rate and last with suffix b for deductible rate.
  The last one has type = 'balance' in order to receive all residual amount.

  The wrong code at line 35, property '_have_same_rate' does not check
  for this condition and returns a unpredictable value, as is randomly
  recorded.

  Suggested correction:
  <code>
    for account_tax in account_taxes:      # <- Code un changed
        if account_tax.type != 'balance':       #  Check for balance type
            if rate is None:                                  # <- code unchanged
  </code>

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


References