xml - How to disable hour in calendar view in odoo? -


is there generic way disable hours in calendar views in odoo?

i'm using following code:

<record model="ir.ui.view" id="topay_pay_calendar_view">     <field name="name">topay_pay.calendar</field>     <field name="model">topay.pay</field>     <field name="arch" type="xml">         <calendar string="to pay calendar" date_start="date_start" date_end="date_exp" color="id">             <field name="name"/>             <field name="amount"/>         </calendar>     </field> </record> 

for have code in xml :

<xpath expr="//kanban/templates//div[@class='oe_kanban_footer_left']" position="replace">        <div class="oe_kanban_footer_left">            </div>  </xpath>


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -