Openbravo Issue Tracking System - Openbravo Localizations | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0046542 | Openbravo Localizations | Localization Portugal | public | 2021-05-06 10:11 | 2021-10-21 11:40 | |||||||
Reporter | lmonreal | |||||||||||
Assigned To | psanjuan | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | approved | |||||||||||
Regression date | ||||||||||||
Regression introduced by commit | ||||||||||||
Regression level | ||||||||||||
Support ticket | ||||||||||||
OBNetwork customer | Gold | |||||||||||
Regression introduced in release | ||||||||||||
Summary | 0046542: EWI when the Is Portuguese flag is selcted but there is no SAFT T Configured | |||||||||||
Description | If the cashier of a country that is not Portugal creates a Business Partner and selects by mistake the flag is Portuguese, the sales order associated generates an Error While Importing in back office. This is happening when Is Portuguese flag is selected and there is no SAFT T. From WEBPOS this is correct because the flow is not stopped but in back office the behaviour is not correct. No EWIS should be generated EWI: org.openbravo.base.exception.OBException: The indicated Tax ID doesn't have a correct Portuguese format. at com.practicsbs.saftpt.handler.SaftBPartnerFieldsHandler.onUpdate(SaftBPartnerFieldsHandler.java:56) at jdk.internal.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:168) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) at org.jboss.weld.util.Observers.notify(Observers.java:166) at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) at org.jboss.weld.event.EventImpl.fire(EventImpl.java:96) at org.openbravo.client.kernel.event.PersistenceEventOBInterceptor.sendUpdateEvent(PersistenceEventOBInterceptor.java:107) at org.openbravo.client.kernel.event.PersistenceEventOBInterceptor.onFlushDirty(PersistenceEventOBInterceptor.java:76) at org.openbravo.client.kernel.event.PersistenceEventOBInterceptor$Proxy$_$$_WeldClientProxy.onFlushDirty(Unknown Source) at org.openbravo.dal.core.OBInterceptor.onFlushDirty(OBInterceptor.java:194) at org.hibernate.event.internal.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:355) at org.hibernate.event.internal.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:332) at org.hibernate.event.internal.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:283) at org.hibernate.event.internal.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:154) at org.hibernate.event.internal.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:235) at org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:94) at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:38) at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1484) at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1470) at org.openbravo.dal.service.OBDal.flush(OBDal.java:265) at org.openbravo.retail.posterminal.CustomerLoader.saveRecord(CustomerLoader.java:102) at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:200) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:155) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:87) at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:54) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:372) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:293) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) | |||||||||||
Steps To Reproduce | 1. Have a client that does not have SAFT T configured 2. Create a business partner in WEBPOS and add products 3. Complete transaction 4. Check EWI in back office: org.openbravo.base.exception.OBException: The indicated Tax ID doesn't have a correct Portuguese format. I think these steps to reproduce must include the fact that IS Portuguese flag is set to Yes. To confirm. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2021-05-06 10:11 | lmonreal | New Issue | ||||||||||
2021-05-06 10:11 | lmonreal | Assigned To | => Retail | |||||||||
2021-05-06 10:11 | lmonreal | OBNetwork customer | => No | |||||||||
2021-05-06 10:11 | lmonreal | Resolution time | => 1621461600 | |||||||||
2021-05-06 10:11 | lmonreal | Triggers an Emergency Pack | => No | |||||||||
2021-05-10 09:37 | psanjuan | Note Added: 0127929 | ||||||||||
2021-05-10 09:37 | psanjuan | Assigned To | Retail => psanjuan | |||||||||
2021-05-10 09:39 | lmonreal | OBNetwork customer | No => Gold | |||||||||
2021-05-10 16:42 | psanjuan | Note Added: 0127962 | ||||||||||
2021-07-02 13:40 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=22849#r22849 | |||||||||
2021-07-02 13:43 | psanjuan | Relationship added | related to 0046014 | |||||||||
2021-08-23 09:53 | aferraz | Project | Retail Modules => Openbravo Localizations | |||||||||
2021-08-23 09:53 | aferraz | Category | Web POS => Localization Portugal | |||||||||
2021-08-24 09:00 | vmromanos | Status | new => scheduled | |||||||||
2021-09-15 09:43 | psanjuan | Note Added: 0131802 | ||||||||||
2021-09-15 09:54 | psanjuan | Note Added: 0131803 | ||||||||||
2021-09-15 10:55 | psanjuan | Note Added: 0131808 | ||||||||||
2021-09-15 16:32 | hgbot | Merge Request Status | => open | |||||||||
2021-09-15 16:32 | hgbot | Note Added: 0131824 | ||||||||||
2021-09-15 16:34 | hgbot | Note Added: 0131825 | ||||||||||
2021-09-15 16:39 | hgbot | Note Added: 0131826 | ||||||||||
2021-09-15 16:41 | hgbot | Note Added: 0131827 | ||||||||||
2021-09-15 17:35 | hgbot | Note Added: 0131831 | ||||||||||
2021-09-15 17:50 | hgbot | Note Added: 0131832 | ||||||||||
2021-09-15 17:55 | hgbot | Note Added: 0131833 | ||||||||||
2021-09-15 18:11 | hgbot | Note Added: 0131834 | ||||||||||
2021-09-16 10:22 | aferraz | Note Deleted: 0131824 | ||||||||||
2021-09-16 10:23 | aferraz | Note Deleted: 0131825 | ||||||||||
2021-09-16 10:23 | aferraz | Note Deleted: 0131826 | ||||||||||
2021-09-16 10:23 | aferraz | Note Deleted: 0131827 | ||||||||||
2021-10-20 17:48 | hgbot | Merge Request Status | open => approved | |||||||||
2021-10-20 17:54 | hgbot | Note Added: 0132497 | ||||||||||
2021-10-20 17:54 | hgbot | Resolution | open => fixed | |||||||||
2021-10-20 17:54 | hgbot | Status | scheduled => closed | |||||||||
2021-10-20 17:54 | hgbot | Note Added: 0132498 | ||||||||||
2021-10-20 17:55 | hgbot | Note Added: 0132499 | ||||||||||
2021-10-20 17:55 | hgbot | Note Added: 0132500 | ||||||||||
2021-10-20 18:47 | hgbot | Note Added: 0132501 | ||||||||||
2021-10-20 18:47 | hgbot | Note Added: 0132502 | ||||||||||
2021-10-20 19:00 | aferraz | Relationship replaced | blocks 0046014 | |||||||||
2021-10-21 10:50 | hgbot | Note Added: 0132521 | ||||||||||
2021-10-21 10:53 | hgbot | Note Added: 0132522 | ||||||||||
2021-10-21 10:58 | hgbot | Note Added: 0132525 | ||||||||||
2021-10-21 11:40 | hgbot | Note Added: 0132527 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|