Openbravo Issue Tracking System - Modules
View Issue Details
0036806ModulesIDL extension for Invoicespublic2017-09-07 16:562019-10-07 01:26
ngarcia 
markmm82 
highminoralways
scheduledopen 
5
 
 
0036806: Invoices for not ready organizations can be imported
Invoices for not ready organizations can be imported. The issue is not reproducible in Core versions newer than 3.0PR17Q3 due to the solution of the following bug:

https://issues.openbravo.com/view.php?id=35590 [^]

as not tax will be available for the not ready organization
As group admin role:
   Launch the Initial Organization Setup process and create a new legal with accounting organization
   Do not Set it as Ready
   Create the required master data for that organization:
      Document Type: AR Invoice
      Business Partner (set it as Customer and add a location to it)
      Price List
      Payment Terms
      Product
      Tax Rate
   Import an invoice without processing it
   Before 3.0PR17Q3:
   - It will be imported
   - You will not be able to complete it in the Sales Invoice window

   After 3.0PR17Q3:
   - It will not be imported. The following error will be raised:
      Tax not found: <nombreImpuesto>
Check first if the organization is ready
No tags attached.
csv Issue36806TestData.csv (627) 2019-10-07 01:26
https://issues.openbravo.com/file_download.php?file_id=13350&type=bug
Issue History
2017-09-07 16:56ngarciaNew Issue
2017-09-07 16:56ngarciaAssigned To => Triage Finance
2017-09-07 16:56ngarciaIssue Monitored: networkb
2017-09-07 16:57ngarciaProposed Solution updated
2019-10-01 04:04markmm82Assigned ToTriage Finance => markmm82
2019-10-01 04:04markmm82Statusnew => scheduled
2019-10-07 01:25markmm82Note Added: 0114929
2019-10-07 01:26markmm82File Added: Issue36806TestData.csv

Notes
(0114929)
markmm82   
2019-10-07 01:25   
Test Plan:
As group admin role:
   Launch the Initial Organization Setup process and create a new legal with accounting organization
     Use “TestOrg” as Name (defined in the attached CSV for testing)
   Do not Set it as Ready

   Create the required master data for that organization:
      Business Partner Category
         Set name as “Test-BP-Category”
      Business Partner (set it as Customer and add a location to it)
         Set name as “Test-BP”
     
      Price List Schema
        Set name as “Test-PLS”
      Price List Header
        Set name as “Test-PL”
     Price List Version
        Set Price List Schema as “Test-PLS”
     Tax Category
          Set name as “Test-TaxCategory”
      Product
        Set name as “Test-Product”
     Product Price
        Set a price in “Test-PL”

      Payment Terms
         Set name as “Test-PT”
      Payment Terms
         Set name as “Test-PM”
    
      Tax Rate
         Set name as “Test-TR”

   Import an invoice without processing it.
   You can use the attached Issue36806TestData.csv
Notice the process failed and an exception was thrown:
   Organization not ready: TestOrg

Set TestOrg organization as Ready.

Try to Import attached Issue36806TestData.csv again.
Notice the process ends successfully.

Go to Sales Invooce windows and notice the Invoice is there.
Notice you can complete it.