MIG l10n_us_fl_hr_payroll to 12.0

This commit is contained in:
Jared Kipe
2019-02-10 15:20:04 -08:00
parent cb78bc54f8
commit 46bca4915e
2 changed files with 2 additions and 3 deletions

View File

@@ -1,11 +1,10 @@
# -*- encoding: utf-8 -*-
{
'name': 'USA - Florida - Payroll',
'author': 'Hibou Corp. <hello@hibou.io>',
'license': 'AGPL-3',
'category': 'Localization',
'depends': ['l10n_us_hr_payroll'],
'version': '11.0.2019.0.0',
'version': '12.0.2019.0.0',
'description': """
USA::Florida Payroll Rules.
===========================

View File

@@ -13,7 +13,7 @@
<field name="amount_select">code</field>
<field name="amount_python_compute">
###
year = int(payslip.dict.date_to[:4])
year = payslip.dict.date_to.year
rate = payslip.dict.get_rate('US_FL_UNEMP')
ytd = payslip.sum('WAGE_US_FL_UNEMP', str(year) + '-01-01', str(year+1) + '-01-01')
ytd += contract.external_wages