Openbravo Issue Tracking System - Localization Pack: Spain
View Issue Details
0043653Localization Pack: SpainInvoice Register Bookpublic2020-04-02 16:352020-05-27 01:34
vmromanos 
Mery Anelo 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
 
0043653: IR book is not managing properly the case where a customer/vendor has more than one location, in different countries - Cash VAT
IR book is not managing properly the case where a customer/vendor has more than one location, in different countries
Create a business partern with 3 locations, two of them in diferent countries and none of them set up as Tax Location.
See image attached.

Create an invoice and then the invoice register book.

Verify that the conuntry shown in the invoice register book is not the one in the invoice as it is being taking randomly.
The Country shown in the invoice register book, should be the one of the address included in the corresponding invoice.
No tags attached.
related to defect 0042273 closed Mery Anelo IR book is not managing properly the case where a customer/vendor has more than one location, in different countries 
Issue History
2020-04-02 16:35vmromanosNew Issue
2020-04-02 16:35vmromanosAssigned To => Mery Anelo
2020-04-02 16:35vmromanosIssue generated from0042273
2020-04-02 16:35vmromanosRelationship addedrelated to 0042273
2020-04-02 16:36vmromanosNote Added: 0118928
2020-05-08 18:17Mery AneloNote Added: 0119717
2020-05-08 18:31Mery AneloStatusnew => scheduled
2020-05-27 01:33hgbotCheckin
2020-05-27 01:33hgbotNote Added: 0120312
2020-05-27 01:33hgbotStatusscheduled => resolved
2020-05-27 01:33hgbotResolutionopen => fixed
2020-05-27 01:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/9877b88e4f6e76faa22bd3dda50fb4d93695ff1f [^]
2020-05-27 01:34Mery AneloStatusresolved => closed

Notes
(0118928)
vmromanos   
2020-04-02 16:36   
Bug cloned to be fixed in Cash VAT compatible module too
(0119717)
Mery Anelo   
2020-05-08 18:17   
Test plan:

- Log as Group Admin Role.
- Create a business partner with multiple locations (more than one) in diferent countries (none of them set up as Tax Location).
- Create an invoice and then the invoice register book.
- Verify that the country shown in the invoice register book is the one in the invoice (the address country included in the corresponding invoice).
(0120312)
hgbot   
2020-05-27 01:33   
Repository: erp/pmods/org.openbravo.module.invoicesregisterbook
Changeset: 9877b88e4f6e76faa22bd3dda50fb4d93695ff1f
Author: Mery Anelo <mery.anelo <at> smfconsulting.es>
Date: Fri May 08 13:12:55 2020 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/9877b88e4f6e76faa22bd3dda50fb4d93695ff1f [^]

Fixed issue 43653: The country is taken from the invoices - Cash VAT.

The country shown in the invoice record book is the address included in the corresponding invoice.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java
---