mirror of
https://github.com/bringout/oca-mrp.git
synced 2026-04-25 22:52:01 +02:00
Initial commit: OCA Mrp packages (117 packages)
This commit is contained in:
commit
277e84fd7a
4403 changed files with 395154 additions and 0 deletions
|
|
@ -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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue