Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 551 |
Technical Name |
ztree_view |
License | LGPL-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
Report comment
Any abuse of this reporting system will be penalizedHi , may I know do you have Widget of Ztree for Many2one field ?
It's only work in one Model , hope you'll update it to better
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 ?
Hi , may I know do you have Widget of Ztree for Many2one field ?