ztree view

by
Odoo
v 12.0 Third Party 339
Download for v 12.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 551
Technical Name ztree_view
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 551
Technical Name ztree_view
LicenseLGPL-3

Odoo Ztree View

Show hierarchy view use tree structure

Created by misterling(26476395@qq.com)

Overview

  • Show hierarchy tree view.
  • Support user use <ztree></ztree> to write code.
  • Show a simplify form view
  • support field(don't support show one2many field now), outer group, inner group and all html tag and style.
  • Use edit button to edit form view.
  • Don't support delete button for security.
  • Show hierarchy tree view.
  • Show a simplify form view.
  • Support user use <ztree></ztree> to write code.
  • support field(don't support show one2many field now), outer group, inner group and all html tag and style.
  • Use edit button to edit form view.

Help and Support

Contact me with email(26476395@qq.com) if you need any help
Github

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Hi , may I know do you have Widget of Ztree for Many2one field ?
by
Alan Cham
on 3/20/22, 9:05 AM



by
MinhLuan
on 11/27/20, 2:42 AM

It's only work in one Model , hope you'll update it to better


by
misterling
on 3/22/20, 8:24 AM Author

someone who named "wtree" sent me an email, but my reply was rejected(Sender address rejected: Too much SPAM (in reply to RCPT TO command)), so i will reply u in comment. Hi mgharred, In fact, this module is designed for developers. I assume that u are a developer. Firstly, u should write a view like tree or form for ztree just like …… and then, you should give the parameters for ztree, show_name and parent_id_name "show_name" is the filed which u want to show in tree view. "parent_id_name" is the filed which use to display the children of a parent fields. So this field must Many2one its model self, ex. class XXX(models.Model): _name = 'res.company' name = fields.Char(string='name') parent_company_id = fileds.Many2one('res.company', string='xxx') …… if u still have any question, u can reply again. Best regards.


I have 7 level of Product Categories, but this show 2 level only, first and second level, how to setup deeper level ?
by
Alan Cham
on 3/21/22, 3:32 AM



by
Alan Cham
on 3/20/22, 9:03 AM

Hi , may I know do you have Widget of Ztree for Many2one field ?