Openbravo Issue Tracking System - Localization Pack: Spain
View Issue Details
0037052Localization Pack: SpainInvoice Register Bookpublic2017-10-11 11:072019-10-01 05:59
maite 
collazoandy4 
highminoralways
scheduledopen 
5
 
 
0037052: Improve message when creating the book and no conversion rate is found
At the moment "java.lang.Exception: No conversion rate to Euro from MXN" is raised, which is not very descriptive as no invoice nor date information is shown
0. Configure Invoice Register Book: http://wiki.openbravo.com/wiki/Projects/Invoicesregisterbook/UserDocumentation [^]
1. Create pricelist in MXN currency for "Sales" and add any product
2. Register Sales Invoice using MXN pricelist. Add any line
3. Define conversion rate in invoice's tab and process invoice
4. Delete conversion rate record from invoice's tab
5. Create Invoice Register Book for valid date and run "create" process. Error "java.lang.Exception: No conversion rate to Euro from MXN" will be received
No tags attached.
Issue History
2017-10-11 11:07maiteNew Issue
2017-10-11 11:07maiteAssigned To => Triage Finance
2017-10-11 11:08maiteIssue Monitored: networkb
2019-09-11 22:12collazoandy4Assigned ToTriage Finance => collazoandy4
2019-09-11 22:12collazoandy4Statusnew => scheduled
2019-09-11 23:53collazoandy4Note Added: 0114539
2019-10-01 05:59collazoandy4Note Added: 0114868

Notes
(0114539)
collazoandy4   
2019-09-11 23:53   
Test Plan
  Applied the dataset for the module in Spain S.A
  Go to Invoice Register Book Setup and create a new record:
    Name: BookSetup
    Type: E-Issued
    Create a new record in Lines tab:
      Tax: Entregas IVA 21% - IVA Normal
      Document Type: AR Invoice
  Go to Price List window and create a new record:
    Name: PriceList
    Currency: MXN
    Define a new version and the Limonada 0,5L Product in Product Price and set a Price of 5
  Create a new Sales Invoice using the previous pricelist.
    Create a new Line with Limonada Product
    Create a new record in Exchange Rates tab and set a rate > 0
    Complete the invoice
    Delete the previous record created in Exchange Rates tab
  Go to Invoice Register Book and create a new record:
    Name: Book
    Year: Current year
    From: Previous month
    To Period: Next month
    Clic on Create button and check the error message 'javax.servlet.ServletException: The document <document identifier> has no conversion rate to Euro from MXN' is shown
(0114868)
collazoandy4   
2019-10-01 05:59   
Test Plan II
  Test Plan
  Applied the dataset for the module in Spain S.A
  Go to Tax Rate and set Entregas IVA 21% - IVA Normal as Cash VAT true
  Go to Financial Account and select Cuenta de Banco record:
    Update Cheque Payment Method as Receive Payments in Multiple Currencies true
  Go to Invoice Register Book Setup and create a new record:
    Name: BookSetupII
    Type: E-IssuedII
    Create a new record in Lines tab:
      Tax: Entregas IVA 21% - IVA Normal
      Document Type: AR Invoice
  Go to Price List window and create a new record:
    Name: PriceListII
    Currency: MXN
    Define a new version and the Limonada 0,5L Product in Product Price and set a Price of 5
  Create a new Sales Invoice using the previous pricelist.
    Invoice Date: First day of previous month
    Cash VAT: True
    Create a new Line:
      Product: Limonada
      Tax: Entregas IVA 21%
    Create a new record in Exchange Rates tab and set a rate > 0
    Complete the invoice
    Pay the Invoice using Cuenta de Banco financial account and Cheque as payment method
  Navigate to the previous Payment In created and remove the record in Exchange Rates tab
  Go to Invoice Register Book and create a new record:
    Name: Book
    Year: Current year
    From: Current month
    To Period: Next month
    Clic on Create button and check the error message 'javax.servlet.ServletException: The document <document identifier> has no conversion rate to Euro from MXN' is shown