c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #20309
[Bug 742135] Re: [6.0.1][project] do not hardcode that project durations are in hours
** Changed in: openobject-addons
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/742135
Title:
[6.0.1][project] do not hardcode that project durations are in hours
Status in OpenERP Modules (addons):
In Progress
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).
References