mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Guard against 0 New Jersey WorkForce rate. Remove broken New York test.
This commit is contained in:
@@ -201,6 +201,9 @@ else:
|
|||||||
<field name="amount_python_compute">
|
<field name="amount_python_compute">
|
||||||
result_rate = -contract.nj_wf_rate(2018)
|
result_rate = -contract.nj_wf_rate(2018)
|
||||||
result = categories.NJ_WF_WAGES
|
result = categories.NJ_WF_WAGES
|
||||||
|
|
||||||
|
if result_rate == 0.0:
|
||||||
|
result = 0.0
|
||||||
</field>
|
</field>
|
||||||
<field name="register_id" ref="contrib_register_njdor_wf"/>
|
<field name="register_id" ref="contrib_register_njdor_wf"/>
|
||||||
<field name="appears_on_payslip" eval="False"/>
|
<field name="appears_on_payslip" eval="False"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user