Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020009Openbravo ERP09. Financial managementpublic2012-03-13 13:282012-04-02 06:11
naiaramartinez 
naiaramartinez 
normalminorhave not tried
closedfixed 
20
 
pi 
Core
No
0020009: 'Create Vat Registers' doesn't work if the tax register type has a * organziation
If you wan't to process 'Create Vat register', if in tax register type the organization is *, the Create Vat Register process shows an error saying that there is no data selected.
Sales Management || Transactions || Sales Invoice || Header
 new record:
   business partner: mc Giver
   date: 10/03/2012
   organization: main
   document type: AR invoice

Sales Management || Transactions || Sales Invoice || Lines
 new record:
   product: hammer
   tax: vat 16%

complete and post the invoice

Financial Management || Receivables & Payables || Setup || Tax Register Type || Header
 new record:
   organziation: *
   register name: test
Financial Management || Receivables & Payables || Setup || Tax Register Type || Lines
  new record:
   Tax: Vat 16%
   Document type: AR invoice
Financial Management || Receivables & Payables || Transactions || Tax Payment || Header
  new reocrd:
   name: test
   date from: 01/03/2012
   date to: 30/03/2012

run Create Vat Register. You will see an error
No tags attached.
Issue History
2012-03-13 13:28naiaramartinezNew Issue
2012-03-13 13:28naiaramartinezAssigned To => vmromanos
2012-03-13 13:28naiaramartinezModules => Core
2012-03-14 10:33naiaramartinezAssigned Tovmromanos => naiaramartinez
2012-03-14 10:33naiaramartinezStatusnew => scheduled
2012-03-14 10:33naiaramartinezfix_in_branch => pi
2012-03-14 10:36naiaramartinezNote Added: 0046377
2012-03-21 10:49hgbotCheckin
2012-03-21 10:49hgbotNote Added: 0046580
2012-03-21 10:49hgbotStatusscheduled => resolved
2012-03-21 10:49hgbotResolutionopen => fixed
2012-03-21 10:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ee9b4685e45d848ce5f9e18d2ea48c48b9c5676a [^]
2012-03-21 10:50vmromanosNote Added: 0046581
2012-03-21 10:50vmromanosStatusresolved => closed
2012-04-02 06:11hudsonbotCheckin
2012-04-02 06:11hudsonbotNote Added: 0047181

Notes
(0046377)
naiaramartinez   
2012-03-14 10:36   
Test Plan:

Sales Management || Transactions || Sales Invoice || Header
 new record:
   business partner: mc Giver
   date: 10/03/2012
   organization: main
   document type: AR invoice

Sales Management || Transactions || Sales Invoice || Lines
 new record:
   product: hammer
   tax: vat 16%

complete and post the invoice

Financial Management || Receivables & Payables || Setup || Tax Register Type || Header
 new record:
   organziation: *
   register name: test
Financial Management || Receivables & Payables || Setup || Tax Register Type || Lines
  new record:
   Tax: Vat 16%
   Document type: AR invoice
Financial Management || Receivables & Payables || Transactions || Tax Payment || Header
  new reocrd:
   name: test
   date from: 01/03/2012
   date to: 30/03/2012

You won't see any error message.
(0046580)
hgbot   
2012-03-21 10:49   
Repository: erp/devel/pi
Changeset: ee9b4685e45d848ce5f9e18d2ea48c48b9c5676a
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Tue Mar 20 12:01:26 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ee9b4685e45d848ce5f9e18d2ea48c48b9c5676a [^]

Fixed bug 20009: Create Vat Registers process now gets all the register types
configured for any organization in the natural tree of the organization
that launches the process

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java
M src/org/openbravo/erpCommon/ad_actionButton/CreateVatRegisters.java
M src/org/openbravo/erpCommon/utility/Utility.java
---
(0046581)
vmromanos   
2012-03-21 10:50   
code review + testing OK
(0047181)
hudsonbot   
2012-04-02 06:11   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test