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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033556
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajoralways2016-07-28 14:542016-10-12 08:55
Reporterneil_smithView Statuspublic 
Assigned Toinigosanchez 
PrioritynormalResolutionunable to reproduceFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version1.8.0_91
OS VersionDatabase version9.3.13Ant version
Product Version3.0PR16Q1.3SCM revision 
Merge Request Status
Review Assigned Toalostale
OBNetwork customerNo
Web browserMozilla Firefox
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033556: Navigation rules not working

DescriptionThe 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 ReproduceI 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 SolutionIn table, Window = Sales window and PO Window = Purchase window
Make the new navigation rules work...
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0034186 acknowledgedTriage Platform Base It should be added more context information of navigation rules at table level 

-  Notes
(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?

- Issue History
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
Powered by Mantis Bugtracker