Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038612
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Localization Pack: Spain] Spain Professional Localization Packmajorhave not tried2018-05-24 09:302018-07-03 13:46
ReporterimonferrerView Statuspublic 
Assigned ToTriage Finance 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiona73f473032c6
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Tovmromanos
Regression introduced in release
Summary

0038612: INTRASTAT - Correct value assigned to the fields Consignment/Destination country in case of an end-user manually insert a line

DescriptionCorrect value assigned to the fields Consignment/Destination country in case of an end-user manually insert a new line.
Steps To Reproduce(In spanish)

En la generación del fichero de intrastat con líneas manuales, está incluyendo el país en la declaración de forma aleatoria, tomando la primera línea independientemente de la dirección de facturación que tenga ese tercero ya que el código en la línea 82 en la que obtiene el país indica:

// Manual line introduced by the user

bpLocation = line.getBusinessPartner().getBusinessPartnerLocationList().get(0).getLocationAddress();

Proposed SolutionImplantación en Openbravo

Cuando se inserte una línea de declaración de intrastat de forma manual, una vez se haya seleccionado el tercero añadir un nuevo campo en el que el usuario tenga que cumplimentar/elegir la dirección del tercero correcta. Este campo sugerirá la dirección marcada como dirección de factura por defecto siendo posible que el usuario la modifique. De este campo tomará la información del país para trasladarlo al fichero.

Observaciones:

* Crear el campo Dirección al lado del tercero en la línea de la declaración del intrastat

* Filtrar por las direcciones del tercero

* Se añade un callout que al seleccionar el tercero pone UNA de las direcciones del tercero marcadas como dirección de factura

* El campo "dirección" se muestra cuando el campo línea de factura NO está relleno

* Al generar el fichero se toma la dirección de:

- En caso de tener línea de factura asociada, de la factura

- En caso de no tener línea de factura asociada, se toma del campo de la línea de la declaración

- En caso que NO esté rellenado este caso, se mostrará un error que indicará que se tiene que rellenar el campo de dirección
TagsNo tags attached.
Attached Filesxlsx file icon TC 2018-06-07 Consignment, destination country (manually).xlsx [^] (17,696 bytes) 2018-06-25 16:58

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0104995)
psanjuan (manager)
2018-06-07 10:18
edited on: 2018-06-07 10:26

Test plan can be reviewed in the field attached

(0105549)
hgbot (developer)
2018-07-03 13:44

Repository: erp/pmods/org.openbravo.module.intrastat
Changeset: 4aed2aa3fe24f08db0b73f45ab921d7519d96a56
Author: Iñaki Monferrer Altava <imonferrer <at> opentix.es>
Date: Fri Jun 22 11:33:27 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/4aed2aa3fe24f08db0b73f45ab921d7519d96a56 [^]

Fixed bug 38612: Correct value assigned to Consignment/Destination country
BPartner location field created in Intrastat Line. New callout created to get bpartner location when business partner is selected.

---
M src-db/database/model/tables/INTR_LINES.xml
M src-db/database/model/triggers/INTR_HEADER_TRG.xml
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
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_REFERENCE.xml
M src/org/openbravo/module/intrastat/exception/IntrastatException.java
M src/org/openbravo/module/intrastat/exception/IntrastatExceptionHandler.java
A src-db/database/sourcedata/OBUISEL_SELECTOR.xml
A src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
A src/org/openbravo/module/intrastat/erpCommon/ad_callouts/INTR_LINE_BPartner.java
---
(0105550)
hgbot (developer)
2018-07-03 13:44

Repository: erp/pmods/org.openbravo.module.intrastat
Changeset: e40ea54777809505b9df525cc151d39719f2c7da
Author: Iñaki Monferrer Altava <imonferrer <at> opentix.es>
Date: Tue Jul 03 12:06:58 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/e40ea54777809505b9df525cc151d39719f2c7da [^]

Fixed bug 38612: Correct value assigned to Consignment/Destination country
Added try/catch at INTR_LINE_BPartner. Executed Synchronize Terminology process.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/module/intrastat/erpCommon/ad_callouts/INTR_LINE_BPartner.java
---
(0105552)
hgbot (developer)
2018-07-03 13:44

Repository: erp/pmods/org.openbravo.module.intrastat.es_ES
Changeset: 83d5f547fd37a62f52c92c59cddad8121b3e1a81
Author: Ignacio Monferrer Altava <imonferrer <at> opentix.es>
Date: Wed Jun 06 16:33:12 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat.es_ES/rev/83d5f547fd37a62f52c92c59cddad8121b3e1a81 [^]

Fixed bug 38612: Correct value assigned to Consignment/Destination country
Created new message and modified translations of some old messages.

---
M referencedata/translation/AD_MESSAGE_TRL_es_ES.xml
M referencedata/translation/AD_REFERENCE_TRL_es_ES.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
A referencedata/translation/OBUISEL_SELECTOR_FIELD_TRL_es_ES.xml
A referencedata/translation/OBUISEL_SELECTOR_TRL_es_ES.xml
---
(0105553)
hgbot (developer)
2018-07-03 13:44

Repository: erp/pmods/org.openbravo.module.intrastat.spain
Changeset: a73f473032c68fe9edb4d8b12f827a7783b7f285
Author: Ignacio Monferrer Altava <imonferrer <at> opentix.es>
Date: Wed Jun 06 16:37:21 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat.spain/rev/a73f473032c68fe9edb4d8b12f827a7783b7f285 [^]

Fixed bug 38612: Correct value assigned to Consignment/Destination country
Modified how to get bparter location (auto/manual).

---
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src/org/openbravo/module/intrastat/spain/ProcessAndGenerateIntrastat_Spain.java
---
(0105555)
vmromanos (manager)
2018-07-03 13:46

Code review OK.

Fixed in Intrastat 3.0.400 and Intrastat for Spain 1.0.100

- Issue History
Date Modified Username Field Change
2018-05-24 09:30 imonferrer New Issue
2018-05-24 09:30 imonferrer Assigned To => Triage Finance
2018-06-07 10:16 psanjuan Summary INTRASTAT - Correct value assigned to the fields Consignment/Destination country in case of an end-user manually insert a new t => INTRASTAT - Correct value assigned to the fields Consignment/Destination country in case of an end-user manually insert a line
2018-06-07 10:16 psanjuan Description Updated View Revisions
2018-06-07 10:18 psanjuan Note Added: 0104995
2018-06-07 10:18 psanjuan Note Added: 0104996
2018-06-07 10:18 psanjuan Note Deleted: 0104996
2018-06-07 10:18 psanjuan Note Edited: 0104995 View Revisions
2018-06-07 10:18 Opentix-Test Note Edited: 0104995 View Revisions
2018-06-07 10:18 psanjuan Note Edited: 0104995 View Revisions
2018-06-07 10:19 psanjuan File Added: Clientes_Importados.jpg
2018-06-07 10:19 psanjuan File Deleted: Clientes_Importados.jpg
2018-06-07 10:20 Opentix-Test Note Edited: 0104995 View Revisions
2018-06-07 10:25 psanjuan Steps to Reproduce Updated View Revisions
2018-06-07 10:25 psanjuan Proposed Solution updated
2018-06-07 10:26 psanjuan Note Edited: 0104995 View Revisions
2018-06-25 16:28 Opentix-Test Note Added: 0105364
2018-06-25 16:28 Opentix-Test Note Deleted: 0105364
2018-06-25 16:58 Opentix-Test File Added: TC 2018-06-07 Consignment, destination country (manually).xlsx
2018-07-02 12:41 vmromanos Status new => scheduled
2018-07-03 13:44 hgbot Checkin
2018-07-03 13:44 hgbot Note Added: 0105549
2018-07-03 13:44 hgbot Status scheduled => resolved
2018-07-03 13:44 hgbot Resolution open => fixed
2018-07-03 13:44 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/4aed2aa3fe24f08db0b73f45ab921d7519d96a56 [^]
2018-07-03 13:44 hgbot Checkin
2018-07-03 13:44 hgbot Note Added: 0105550
2018-07-03 13:44 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/4aed2aa3fe24f08db0b73f45ab921d7519d96a56 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/e40ea54777809505b9df525cc151d39719f2c7da [^]
2018-07-03 13:44 hgbot Checkin
2018-07-03 13:44 hgbot Note Added: 0105552
2018-07-03 13:44 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/e40ea54777809505b9df525cc151d39719f2c7da [^] => http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat.es_ES/rev/83d5f547fd37a62f52c92c59cddad8121b3e1a81 [^]
2018-07-03 13:44 hgbot Checkin
2018-07-03 13:44 hgbot Note Added: 0105553
2018-07-03 13:44 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat.es_ES/rev/83d5f547fd37a62f52c92c59cddad8121b3e1a81 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat.spain/rev/a73f473032c68fe9edb4d8b12f827a7783b7f285 [^]
2018-07-03 13:46 vmromanos Review Assigned To => vmromanos
2018-07-03 13:46 vmromanos Note Added: 0105555
2018-07-03 13:46 vmromanos Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker