Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033556 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 00. Application dictionary | major | always | 2016-07-28 14:54 | 2016-10-12 08:55 | |||
Reporter | neil_smith | View Status | public | |||||
Assigned To | inigosanchez | |||||||
Priority | normal | Resolution | unable to reproduce | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | PostgreSQL | Java version | 1.8.0_91 | |||
OS Version | Database version | 9.3.13 | Ant version | |||||
Product Version | 3.0PR16Q1.3 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | alostale | |||||||
OBNetwork customer | No | |||||||
Web browser | Mozilla Firefox | |||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0033556: Navigation rules not working | |||||||
Description | The navigation rules are not working using the new navigation rule model (on table, in navigation rule tab or on window field). The standard navigation model rule (on table) is inverted (Window is supposed to be for the sales window, but when in sale window, it uses the purchase window). | |||||||
Steps To Reproduce | I have 4 windows to manage products - Sold products (Items) - Purchased products (Items) - Operations (Service) - Simple operations (Service) I'm trying to define navigation rules so that when I am in the product BOM, when I clic on a product, it brings me to the right window, depending on the product type. On Product table, I defined as Window : Sold products and PO Window : Purchased products In BOM Product tab of the product window, one can only add 'Sold products' or 'Operations', so I created 2 navigation rules : - Navigate to tab 'Operations'; HQL Logic : 'e.productType='S'' - Navigate to tab 'Sold products'; HQL Logic : 'e.productType='I'' Now, if I go in the sales order window and click on a product, it brings me to the purchased products window. If I put sold products in PO Window, it opens the sold products window (inverted). Now, if I go to the BOM product tab of my Sold products window and click on an operation (product with producttype = 'S', I checked), it opens the Purchased products window instead of opening the Operations window. I thought that it might be a problem with what field as it is named 'M_ProductBOM_ID' and has a OBUISEL_Selector Reference, but I tried on the product field of the sales order window, but there, it is even more strange, on an operation, it opens the Simple operations window witch is not even mentionned in a navigation rule... I relly don't understand how all this works... One more question, why do I see all the navigation rules defined in the navigation rules of the table (even those defined at field level). It makes it all not clear as when such and such navigation rule is applied (the tab and field defined for the navigation rule are not displayed). | |||||||
Proposed Solution | In table, Window = Sales window and PO Window = Purchase window Make the new navigation rules work... | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0090523) inigosanchez (viewer) 2016-10-11 10:19 |
First of all, Navigation rules work as expected. In our case, we defined two rules navigation at field level in Product > Bill of Materials > Product. Rule navigations are: - 10 | Product - Product | e.productType='S' - 20 | Resource Product - Resource | e.productType='I' Now, if I go to the Bill of Materials tab (Product window), open in form a record and navigate to the product (click on BOM Product), it opens the Product window or Resource Product depends on the type of the product. Regarding your last question, It is opened a new issue in order to add more context information in subtab navigation rules of Tables and Columns window. This context information will help to identify which navigation rule is applied. |
(0090528) inigosanchez (viewer) 2016-10-11 11:28 |
If you have any other problem related with navigation rules, please, open a new issue and attached more information in order to reproduce the issue: Attached module in which custom windows are defined or add steps to reproduce the problem with core windows. |
(0090539) neil_smith (viewer) 2016-10-12 08:55 |
Thanks for the info, I managed to make the navigation rules work, I don't know what I did wrong. But what about the inversion between the purchase and sales order window at table level? |
![]() |
|||
Date Modified | Username | Field | Change |
2016-07-28 14:54 | neil_smith | New Issue | |
2016-07-28 14:54 | neil_smith | Assigned To | => platform |
2016-07-28 14:54 | neil_smith | Web browser | => Mozilla Firefox |
2016-07-28 14:54 | neil_smith | Modules | => Core |
2016-07-28 14:54 | neil_smith | Triggers an Emergency Pack | => No |
2016-10-11 10:03 | inigosanchez | Assigned To | platform => inigosanchez |
2016-10-11 10:04 | inigosanchez | Status | new => scheduled |
2016-10-11 10:19 | inigosanchez | Review Assigned To | => alostale |
2016-10-11 10:19 | inigosanchez | Note Added: 0090523 | |
2016-10-11 10:19 | inigosanchez | Status | scheduled => closed |
2016-10-11 10:19 | inigosanchez | Resolution | open => unable to reproduce |
2016-10-11 11:05 | inigosanchez | Relationship added | related to 0034186 |
2016-10-11 11:28 | inigosanchez | Note Added: 0090528 | |
2016-10-12 08:55 | neil_smith | Note Added: 0090539 |
Copyright © 2000 - 2009 MantisBT Group |