Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

widget="float_time" not working in calendar view.

By
Ghanshyam Prajapati
on 6/9/13, 5:08 AM 1,837 views

Hi, I m working with OpenERP 7.0 Version, I want to display time from float field, I used widget="float_time" in form view and tree view. It works fine in both form and tree view, but now when i am using widget="float_time" in calendar view, it display float value instead of displaying time.

My field is

'start_time': fields.float('Time Start'),

My calendar view is

<record model="ir.ui.view" id="crm.crm_case_phone_calendar_view">
    <field name="name">CRM - Phone Calls Calendar</field>
    <field name="model">crm.phonecall</field>
    <field name="priority" eval="2"/>
    <field name="arch" type="xml">
        <calendar string="Phone Calls" date_start="date" color="user_id" date_delay="start_time">
            <field name="name"/>
            <field name="partner_id"/>
            <field name="duration" widget="float_time"/>
            <field name="start_time" widget="float_time"/>
        </calendar>
    </field>
</record>

How can I solve this issue..?????

Please help me.

Thanks in advance.

0
Abdullah Sofan
On 12/3/14, 2:14 PM

I am also looking for an answer to this problem... anyone?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/9/13, 5:08 AM
Seen: 1837 times
Last updated: 3/16/15, 8:10 AM