File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed
Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change 9292 </field >
9393 </record >
9494
95+ <record id =" estate_property_view_kanban" model =" ir.ui.view" >
96+ <field name =" name" >estate.property.kanban</field >
97+ <field name =" model" >estate.property</field >
98+ <field name =" arch" type =" xml" >
99+ <kanban default_group_by =" property_type_id" group_create =" false" records_draggable =" False" >
100+ <field name =" state" />
101+ <templates >
102+ <t t-name =" card" >
103+ <div class =" o_kanban_record" >
104+ <field class =" o_kanban_record_title" name =" name" />
105+ <div class =" o_kanban_record_body" >
106+ <div >
107+ Expected Price
108+ <field name =" expected_price" />
109+ </div >
110+ <div t-if =" record.state.raw_value == 'offer-received'" >
111+ Best Price:
112+ <field name =" best_price" />
113+ </div >
114+ <div t-if =" record.state.raw_value == 'offer-accepted'" >
115+ Selling Price:
116+ <field name =" selling_price" />
117+ </div >
118+ </div >
119+ <field name =" tag_ids" widget =" many2many_tags" options =" {'color_field': 'color'}" />
120+ </div >
121+ </t >
122+ </templates >
123+ </kanban >
124+ </field >
125+ </record >
126+
95127 <record id =" estate_property_action" model =" ir.actions.act_window" >
96128 <field name =" name" >Properties</field >
97129 <field name =" res_model" >estate.property</field >
98- <field name =" view_mode" >list,form</field >
130+ <field name =" view_mode" >list,form,kanban </field >
99131 <field name =" context" >{'search_default_state': True}</field >
100132 </record >
101133</odoo >
You can’t perform that action at this time.
0 commit comments