-
Sans catégorie
-
1-How to Install Pycharm and Configure PostgreSQL on Ubuntu
-
2-How to Configure Odoo 14 on Pycharm Ubuntu
-
3-Building a Module With Menus and Actions in Odoo 14
-
4-Compositions of a Odoo 14 Module
-
5- Structure of a Odoo 14 Module
-
6- Creating an Empty Module Structure Using Scaffold in Odoo 14
-
7- Adding Data Files in to Your Odoo 14 module
-
8- Basic Views in Odoo 14 (Tree, Form, and Search)
-
9-Relations Between Models: Many2One Fields in Odoo 14
-
10-Relations Between Models: One2Many Fields in Odoo 14
-
11-Relations Between Models: Many2Many Fields in Odoo 14
-
12-Inheritance - Traditional Class Inheritance in Odoo 14
-
13-Inheritance - Traditional Prototype Inheritance in Odoo 14
-
14-Inheritance - Delegation Inheritance in Odoo 14
-
15-Computed fields and @api.depends in Odoo 14
-
16-Setting Default Value for Fields in Odoo 14
-
17-Onchange mechanism - @api.onchange in Odoo 14
-
18-Model Constraints - Python Constraints in Odoo 14
-
19-Model Constraints - SQL Constraints in Odoo 14
-
20-Advanced Views - Tree View Decoration Attribute in Odoo 14
-
21-Advanced Views - Calendar View in Odoo 14
-
22-Advanced Views - Search View in Odoo 14
-
23-Advanced Views - Graph View in Odoo 14
-
24-Advanced Views - Gantt View in Odoo 14
-
25-Advanced Views - Kanban View in Odoo 14
-
26-Odoo Security - Groups and Access Rights
-
27-Odoo Security - Record Rules
-
28-Odoo wizards - Creating and Launching
-
29-Odoo Reporting - Printed Report(PDF).mp4
-
30-Odoo Reporting - Setup a Dashboard
-
20-Advanced Views - Tree View Decoration Attribute in Odoo 14
Odoo Tree Views can take supplementary attributes to further customize their behavior: decoration-{$name} allow changing the style of a row’s text based on the corresponding record’s attributes. 0:00 Introduction 1:44 Tree view of course 6:11 open the openacademy app to view the changes 10:11 Give the value as top and view the changes 17:20 Define model in the python file 19:45 Define separate order for the list view In this video, we will discuss how you can add colors to the tree view based on conditions. As in the Odoo backend, we have a tree view for the listing of the records and a kanban view. The kanban view shows records as “cards”, midway between a list view and a non-editable form view. In the list view, we have a default data grid table with rows and columns. if we have a requirement where we need to highlight certain rows in the list view based on certain conditions in the current model. We highlight the rows using colors. The decorators that can be used are decoration-it – ITALICS decoration-bf – BOLD decoration-danger – LIGHT RED decoration-primary – LIGHT PURPLE decoration-info – LIGHT BLUE decoration-warning – LIGHT BROWN decoration-muted – LIGHT GRAY decoration-success – LIGHT GREEN
Vues | |
---|---|
0 | Total des vues |
0 | Vues Membres |
0 | Vues publiques |
Partager par email
Veuillez S'identifier afin de partager ce video par email