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
Post a Comment