David Arnold 9a95781439 [FIX] hr_payroll: Fix localdict ambiguity on rule computation
Purpose
=======

On a payslip rule computation you can return 3 parameters:
- result_qty
- result_rate
- result

From this, we compute the total amount as following:

tot_rule = amount * qty * rate / 100.0

If we set parameters result_qty=0 or result_rate=0 to force the tot_rule to
be equal to 0, then their values are set to the default one, which is ambiguous.

So
result_qty = 0
result_rate = 0

Become
qty=1
amount=100

We can't fix this in a stable release as this could imply unwanted
behavior changes for customers, and also quite difficult to spot.

closes odoo/odoo#29206
2018-12-07 10:02:12 +00:00
2015-09-08 15:45:09 +02:00
2018-10-09 13:44:38 +00:00
…
2015-09-08 17:58:38 +02:00
2018-04-18 15:59:05 +02:00

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

Then follow the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%