Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Odoo14: increment time precision for BoM operations

by
ProLinear/PONTECH, Inc., Jacob Christ
- 14/04/2025 18:49:16
I don't know how this is used downstream in Odoo but could you just assume that the field is in millisecond and just dividing any totals by 1000 later on?  Manual and yucky but it might be helpful until a better solution presents itself.

Jacob Christ
+1 (714) 269-7256 Cell

On Mon, Apr 14, 2025, 2:39 AM Francesco Ballerini <notifications@odoo-community.org> wrote:
Hi, 

We have a customer who needs a better precision for the "Duration" field of the BoM operations. 

By default this field is handled with a precision of 1.0 seconds, so if you produce a single unit in, for example, 1.44 seconds, the overall production time cannot be properly estimated as you can only round by 1 second or 2 seconds.

Do you have any recommendations on how to effectively handle this scenario?

Thanks

--Francesco Ballerini

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference