[6.0.1][project] do not hardcode that project durations are in hours

Bug #742135 reported by Raphaël Valyi - http://www.akretion.com
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 1

Bug Description

OpenERP has a great feature: in the company you can choose if you want to use, days, hours or weeks as you project time unit. Cool!

Now if you look in the project form, you'll see that no matter what, the project planned_hours and effective_hours are expressed in hours.

In my opinion, at least at the widget level this should match your time unit company selection.
The bug comes from:

                                <field name="planned_hours" widget="float_time"/>
                                <field name="effective_hours" widget="float_time"/>

In the project.project.form view. I don't really know what you can do. May be switch the widget in in a fields_view_get override according to the company of the current user_id (because with Open Object framework, you could not have different views for the same menu entry even if project belong to companies with different time unit settings).

Tags: project
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
importance: Low → Wishlist
status: In Progress → Confirmed
tags: added: project
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.