File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change 106106 </field >
107107 </record >
108108
109+ <record id =" estate_property_view_kanban" model =" ir.ui.view" >
110+ <field name =" name" >estate.property.kanban</field >
111+ <field name =" model" >estate.property</field >
112+ <field name =" arch" type =" xml" >
113+ <kanban default_group_by =' property_type_id' records_draggable =' False' >
114+ <field name =' state' />
115+ <templates >
116+ <t t-name =' card' >
117+ <h4 >
118+ <field name =' name' />
119+ </h4 >
120+ <div >
121+ Expected Price: <field name =' expected_price' />
122+ </div >
123+ <div t-if =' record.state.raw_value == "offer_received"' >
124+ Best Offer: <field name =' best_price' />
125+ </div >
126+ <div t-if =' record.state.raw_value == "offer_accepted"' >
127+ Selling Price: <field name =' selling_price' />
128+ </div >
129+ <field name =' property_tag_ids' widget =' many2many_tags' />
130+ </t >
131+ </templates >
132+ </kanban >
133+ </field >
134+ </record >
135+
109136 <record id =" estate_property_action" model =" ir.actions.act_window" >
110137 <field name =" name" >Property</field >
111138 <field name =" res_model" >estate.property</field >
112- <field name =" view_mode" >list,form</field >
139+ <field name =" view_mode" >list,kanban, form</field >
113140 <field name =" context" >{'search_default_state': True}</field >
114141 </record >
115142</odoo >
You can’t perform that action at this time.
0 commit comments