Initial commit: OCA Mrp packages (117 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:05 +02:00
commit 277e84fd7a
4403 changed files with 395154 additions and 0 deletions

View file

@ -0,0 +1,25 @@
Go to a project and set the following fields according to your needs:
* Timesheet rounding unit
Defines the rounding unit.
For instance, if you want to round to 1 hour, you can set `1.0`.
If you want to round to 15 min set `0.25`.
* Timesheet rounding method
Options: "No" (default), "Closest", "Up", "Down".
Please refer to `odoo.tools.float_utils.float_round` to understand the difference.
* Timesheet rounding factor (percentage)
When round unit is not defined you can round by a fixed %.
When using both a unit and a factor, the factor will be applied first:
result = round(amount * percentage, unit)

View file

@ -0,0 +1,5 @@
* Simone Orsi <simone.orsi@camptocamp.com>
* Thomas Nowicki <thomas.nowicki@camptocamp.com>
* Akim Juillerat <akim.juillerat@camptocamp.com>
* Foram Shah <foram.shah@initos.com>
* Phuc Kieu <phuckh@trobz.com>

View file

@ -0,0 +1 @@
The migration of this sale_timesheet_rounded from 15.0 to 16.0 was financially supported by Camptocamp

View file

@ -0,0 +1,18 @@
Round timesheet lines amounts in sales based on project' settings.
A typical use case is: you work 5 minutes but you want to invoice 15 minutes.
With this module you can configure a rounding unit or factor on the project
and all the lines tracked on this project's tasks will show a rounded amount.
If you want you can override the value manually on each entry.
The delivered quantity on the sale order line - and by consequence on the
invoice - will be computed using the rounded amount.
Therefore, expense lines and other non-timesheet lines will be updated with
a rounded amount that is equal to the amount.
WARNING: This module cannot be used with `timesheet_grid` without further
adapation as an update of an existing timesheet line will NOT update the
rounded amount. To achieve this, you need to override `adjust_grid` function
to pass the `force_compute` context key.

View file

@ -0,0 +1 @@
* improve test coverage