[IMP] hr_payroll: default value for scheduled pay field

bzr revid: qdp-launchpad@openerp.com-20110914142450-au5t6fkg6h420qwg
This commit is contained in:
Quentin (OpenERP)
2011-09-14 16:24:50 +02:00
parent 9ab8acb858
commit 7dfc61350c
+4
View File
@@ -132,6 +132,10 @@ class hr_contract(osv.osv):
], 'Scheduled Pay', select=True),
}
_defaults = {
'schedule_pay': 'monthly',
}
def get_all_structures(self, cr, uid, contract_ids, context=None):
"""
@param contract_ids: list of contracts