Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

[Question] treeview for Products and Services #12501

Closed
davide-alghi opened this issue Jan 31, 2020 · 4 comments · May be fixed by #12569
Closed

[Question] treeview for Products and Services #12501

davide-alghi opened this issue Jan 31, 2020 · 4 comments · May be fixed by #12569
Assignees
Labels
bug This is a bug report.
Milestone

Comments

@davide-alghi
Copy link
Contributor

Description

I'm trying to debug treeview for Products and Services, because it doesn't work: always empty.
I have some difficulty understanding the logic: Products TreeRecords view is trying to cross data with Accounts related Products. Why this?
For Services is the same: it's an Products extended.

@waran70
Copy link
Contributor

waran70 commented Jan 31, 2020

tree field should be abandoned. It mix between picklists and UI10.. I personally dont see advantages of it... shure there is but my use cases are not about it

@davide-alghi
Copy link
Contributor Author

Hi @waran70,
I don't understand. what is the goal of this?
and ...

It mix between picklists and UI10.

which ones?

just another question: treeview list works for Services and Products on your instance?

@bpabiszczak bpabiszczak self-assigned this Feb 4, 2020
@bpabiszczak bpabiszczak added the bug This is a bug report. label Feb 4, 2020
@bpabiszczak bpabiszczak added this to the YetiForce 5.3 milestone Feb 4, 2020
@davide-alghi
Copy link
Contributor Author

Products/Services Tree view shows, not Products or Services, but Accounts with some related P/S into Interested in Products / Services (Services & Products tab in account details).
It works only for categories, but not for single P/S selection.

IMHO they have to works showing only P/S into selected categories on right-side tree.

To move to this, it's required to remove views/TreeRecords.php and resources/TreeRecords.js files for borh P/S and simple enable tree-view

public function isActive()
{
	return true;
}

in model/TreeView.php for both P/S.

I'm going to fix it.
pls @mariuszkrzaczkowski stop me if I'm wrong

@rskrzypczak
Copy link
Contributor

Fixed on current dev version, will work properly in version 6.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This is a bug report.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants