Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034484 | Modules | Intrastat | public | 2016-11-14 11:58 | 2016-11-15 11:08 |
|
Reporter | psanjuan | |
Assigned To | vmromanos | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Professional Appliance |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | aferraz |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0034484: Not possible to select either "Year" and "Period" in Intrastat Launcher window. |
Description | Not possible to select either "Year" and "Period" in Intrastat Launcher window. |
Steps To Reproduce | In an enviroment updated to last Openbravo core changes, install Intrastat module
Go to Fiscal Calendar and set F&B España calendar as "Intrastat Calendar".
Select that calendar for the organization F&B España in "Organization" window.
Create some records in Intrastat tab for "Shipment" declaration, year 2016 and 100.00 as limit.
Create a sales invoice for a customer located in France, for any product and a total gross of 1000.00 €. Verify that the tax rate used is "Entregas Intracomunitarias Exentas".
Complete and Post the invoice.
Go to Intrastat Launcher window. Select the organization.
Verify it is not possible to select the year and the period in that window. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0029384 | | closed | rqueralta | Statical Value is not transferred from Invoice Lines to Intrastat Declaration Lines | related to | defect | 0034895 | | closed | vmromanos | Tax Report Launcher window not working since 16Q4 |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-11-14 11:58 | psanjuan | New Issue | |
2016-11-14 11:58 | psanjuan | Assigned To | => Triage Finance |
2016-11-14 12:00 | psanjuan | Relationship added | related to 0029384 |
2016-11-14 13:24 | vmromanos | Status | new => scheduled |
2016-11-14 13:24 | vmromanos | Assigned To | Triage Finance => vmromanos |
2016-11-14 13:40 | hgbot | Checkin | |
2016-11-14 13:40 | hgbot | Note Added: 0091457 | |
2016-11-14 13:40 | hgbot | Status | scheduled => resolved |
2016-11-14 13:40 | hgbot | Resolution | open => fixed |
2016-11-14 13:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/8557ed6ab1134eea505569059e405fd9b505ecdb [^] |
2016-11-14 13:48 | vmromanos | Note Added: 0091459 | |
2016-11-14 14:46 | hgbot | Checkin | |
2016-11-14 14:46 | hgbot | Note Added: 0091461 | |
2016-11-14 15:01 | hgbot | Checkin | |
2016-11-14 15:01 | hgbot | Note Added: 0091462 | |
2016-11-14 15:02 | vmromanos | Note Added: 0091463 | |
2016-11-15 10:24 | psanjuan | Note Added: 0091536 | |
2016-11-15 10:24 | psanjuan | Note Added: 0091537 | |
2016-11-15 11:08 | aferraz | Review Assigned To | => aferraz |
2016-11-15 11:08 | aferraz | Note Added: 0091545 | |
2016-11-15 11:08 | aferraz | Status | resolved => closed |
2017-01-10 13:39 | vmromanos | Relationship added | related to 0034895 |
Notes |
|
(0091457)
|
hgbot
|
2016-11-14 13:40
|
|
Repository: erp/pmods/org.openbravo.module.intrastat
Changeset: 8557ed6ab1134eea505569059e405fd9b505ecdb
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Mon Nov 14 13:36:12 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/8557ed6ab1134eea505569059e405fd9b505ecdb [^]
Fixed bug 34484: Not possible to select either "Year" and "Period" in Intrastat Launcher
In 16Q4 the callout mapping is not included in web.xml file anymore.
The manual window Intrastat Launcher has a non-standard call to a declared callout. Since the mapping is not generated anymore, the java code is never executed and the user is unable to launch the Intrastat.
The fix declares the callout (servlet) in Form window, so a mapping is generated, and thus the java code is properly invoked.
This changeset requires a new major version compatible from 3.0.16Q4 (or above). In previous versions this issue is not reproducible.
Note that Openbravo 2.50 is not oficially supported anymore, so that's why we can force the dependency to 3.0.16Q4
---
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
A src-db/database/sourcedata/AD_FORM.xml
---
|
|
|
|
Fixed in 3.0.0 (or above).
Please note that a new major version is required to force Core's dependency from 16Q4, where this issue starts to be reproducible.
Previous 1.X versions were compatible with Openbravo 2.50 too. |
|
|
(0091461)
|
hgbot
|
2016-11-14 14:46
|
|
|
|
(0091462)
|
hgbot
|
2016-11-14 15:01
|
|
|
|
|
Released new minor version of "Intrastat for Spain" and "Intrastat – Spanish translation" with dependency enforcement = None, so both are compatible with new major version too. |
|
|
|
Test Plan
In an enviroment updated to last Openbravo core changes, install Intrastat module.
Go to Fiscal Calendar and set F&B España calendar as "Intrastat Calendar".
Select that calendar for the organization F&B España in "Organization" window.
Create some records in Intrastat tab for "Shipment" declaration, year 2016, 2017 and a given limit amount.
Repeat same as above for "Acquisiton" declaration.
Create a sales invoice for a customer located in France, for any product and an invoice total gross of 1000.00 €. Verify that the tax rate used is "Entregas Intracomunitarias Exentas".
Complete and Post the invoice.
Create a purchase invoice for a vendor located in Italy, for any product and an invoice total gross of 5000.00 €. Verify that the tax rate used is "Adquisiciones Intracomunitarias 21%".
Complete and Post the invoice.
Go to Intrastat Launcher window. Select the organization.
Verify it is possible to select a year and a period.
Select Year = 2016, Perido = Nov-16, as that is the date of the invoices booked.
Select "Shipments" and "Normal Declaration".
Verify a "shipment" Intrastat Declaration type is created and can be reviewed in Intrastat Declaration window.
Run Intrastat declaration for Acquisitions.
Verify an "acquisition" Intrastat Declaration type is created and can be reviewed in Intrastat Declaration window. |
|
|
|
|
|
|
|