Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044186 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2020-05-25 16:37 | 2020-06-17 10:05 | |||
Reporter | Leyre | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | high | Resolution | fixed | Fixed in Version | PR20Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 91d85b2ea1b2 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | dmiguelez | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 16199 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0044186: Incorrect data when change the organization in "Return from Customer" window. | |||||||
Description | Incorrect data when change the organization in "Return from Customer" window. Field "Invoice Terms" doesn't get updated as expected. This can also be reproduced in window "Sales Order". | |||||||
Steps To Reproduce | 1. Login into Backend: User: Openbravo Role: F&B International Group Admin 2. Open the "Return from Customer" or the "Sales Order" window 3. Add a new record. 4. Verify there are 5 options in the "Invoice Terms" field. 5. Change Organization = F&B España - Región Sur 6. Verify there are 3 options in the "Invoice Terms" field. 7. Select Organization = F&B España - Región Norte again. 8. Verify that there are still 3 options in the "Invoice Terms" field, instead of 5 | |||||||
Proposed Solution | Two options: 1. Update validation setup rules("Invoice Rules for POS Sales orders") to include the rest of the elements for this field. 2. Add same logic as in SE_Order_BPartner.java or SE_Order_DocType.java to SE_Order_Organization.java. In former classes, this field is modified and the missing options are added. A note explaining 2nd option more in detail has been added. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0120430) cberner (viewer) 2020-05-28 17:52 |
This can also be reproduced in Sales Order. Updating of field Invoice Terms is missing from SE_Order_Organization callout. This callout is called when changing Organization in both Sales Order and "Return from Customer" window. On BP field in same windows there's some checking and the field is updated accordingly.[1] You can test this by changing the BP after changing organization. Transaction Document field also has a callout that updates this field, similar to BP field. This should also be added to SE_Order_Organization.java[2], not directly, some modification may be necessary. Also possibly SE_Invoice_Organization.java. [1] https://gitlab.com/openbravo/product/openbravo/-/blob/master/src/org/openbravo/erpCommon/ad_callouts/SE_Order_BPartner.java#L189 [^] [2] https://gitlab.com/openbravo/product/openbravo/-/blob/master/src/org/openbravo/erpCommon/ad_callouts/SE_Order_Organization.java [^] |
(0120869) AtulOpenbravo (viewer) 2020-06-16 14:39 |
Test Plan - Login as F&B International Group Admin - Open the "Return from Customer" or the "Sales Order" window - Add a new record. - Verify there are 5 options in the "Invoice Terms" field. - Change Organization = F&B España - Región Sur - Verify there are 5 options in the "Invoice Terms" field. - Select Organization = F&B España - Región Norte again. - Verify that there are 5 options in the "Invoice Terms" field - When you change Transaction Document to POS Order then verify that there are 3 options in the invoice term field. - Change transaction document to Standard Order, Verify that there are 5 options in the "Invoice Terms" field |
(0120871) hgbot (developer) 2020-06-16 15:49 |
Repository: erp/devel/pi Changeset: 91d85b2ea1b284650b19c7711ad6becca825b684 Author: Atul Gaware <atul.gaware <at> openbravo.com> Date: Tue Jun 16 10:51:43 2020 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/91d85b2ea1b284650b19c7711ad6becca825b684 [^] Fixes BUG-44186::Incorrect data when change the organization in "Return from Customer" window. **Modify validation rule for Invoice Terms field to check DocSubTypeSO is a non POS Order Document Type to load all invoice rules **Set Translation Document column as Store in Session, Modify Auxiliary Input query for ORDERTYPE to get docsubtypeso for Transaction Document in SalesOrder/Return From Customer /Purchase Order window header. --- M src-db/database/sourcedata/AD_AUXILIARINPUT.xml M src-db/database/sourcedata/AD_COLUMN.xml M src-db/database/sourcedata/AD_VAL_RULE.xml --- |
(0120872) dmiguelez (viewer) 2020-06-16 15:50 |
Code Review + Testing Ok |
![]() |
|||
Date Modified | Username | Field | Change |
2020-05-25 16:37 | Leyre | New Issue | |
2020-05-25 16:37 | Leyre | Assigned To | => platform |
2020-05-25 16:37 | Leyre | OBNetwork customer | => OBPS |
2020-05-25 16:37 | Leyre | Modules | => Core |
2020-05-25 16:37 | Leyre | Support ticket | => 16199 |
2020-05-25 16:37 | Leyre | Resolution time | => 1592172000 |
2020-05-25 16:37 | Leyre | Triggers an Emergency Pack | => No |
2020-05-25 18:31 | Practics | Issue Monitored: Practics | |
2020-05-28 17:52 | cberner | Note Added: 0120430 | |
2020-06-05 09:45 | cberner | Description Updated | View Revisions |
2020-06-05 09:45 | cberner | Steps to Reproduce Updated | View Revisions |
2020-06-05 09:45 | cberner | Proposed Solution updated | |
2020-06-05 09:58 | cberner | Assigned To | platform => Triage Finance |
2020-06-08 10:51 | dmiguelez | Assigned To | Triage Finance => inigo_lerga |
2020-06-10 18:21 | dmiguelez | Assigned To | inigo_lerga => AtulOpenbravo |
2020-06-11 11:18 | AtulOpenbravo | Status | new => scheduled |
2020-06-16 14:39 | AtulOpenbravo | Note Added: 0120869 | |
2020-06-16 15:49 | hgbot | Checkin | |
2020-06-16 15:49 | hgbot | Note Added: 0120871 | |
2020-06-16 15:49 | hgbot | Status | scheduled => resolved |
2020-06-16 15:49 | hgbot | Resolution | open => fixed |
2020-06-16 15:49 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/91d85b2ea1b284650b19c7711ad6becca825b684 [^] |
2020-06-16 15:50 | dmiguelez | Review Assigned To | => dmiguelez |
2020-06-16 15:50 | dmiguelez | Note Added: 0120872 | |
2020-06-16 15:50 | dmiguelez | Status | resolved => closed |
2020-06-17 10:05 | dmiguelez | Fixed in Version | => 3.0PR20Q3 |
Copyright © 2000 - 2009 MantisBT Group |