[IMP] hr_payroll_account: Minor improvement in payslip.yml

bzr revid: mra@mra-laptop-20110607085259-ikf0uy2d7b3jta9u
This commit is contained in:
Mustufa Rangwala 2011-06-07 14:22:59 +05:30
parent 1a1ee753b8
commit 06c119ef26
1 changed files with 11 additions and 11 deletions

View File

@ -1,5 +1,5 @@
-
I test the 'Payslip' in order to check the hr_payroll_account module in OpenERP
I test the "Payslip" in order to check the hr_payroll_account module in OpenERP
-
I create a bank record
-
@ -10,7 +10,7 @@
state: bank
bank: base.res_bank_1
-
I create a new employee “John”
I create a new employee "John"
-
!record {model: hr.employee, id: hr_employee_john}:
address_home_id: base.res_partner_address_2
@ -40,7 +40,7 @@
- hr_payroll.hr_salary_rule_meal_voucher
- hr_payroll.hr_salary_rule_sales_commission
-
I create a contract for 'John'
I create a contract for "John"
-
!record {model: hr.contract, id: hr_contract_john}:
date_end: !eval "'%s-%s-%s' %(datetime.now().year+1,datetime.now().month,datetime.now().day)"
@ -90,7 +90,7 @@
payslip_brw=self.browse(cr, uid, ref("hr_payslip_0"))
assert(payslip_brw.state == 'draft'), _('State not changed!')
-
I click on 'Compute Sheet' button
I click on "Compute Sheet" button
-
!python {model: hr.payslip}: |
self.compute_sheet(cr, uid, [ref("hr_payslip_0")], {"lang": "en_US", "tz": False,
@ -98,7 +98,7 @@
"section_id": False, "active_id": ref("hr_payroll.menu_department_tree"),
})
-
Then I click on the 'Confirm' button
Then I click on the "Confirm" button
-
!workflow {model: hr.payslip, action: hr_verify_sheet, ref: hr_payslip_0}
-