[IMP]: hr_expense: Minor problem in yaml of hr_expense module.
bzr revid: atp@tinyerp.co.in-20100528095841-z986keukabhju9pj
This commit is contained in:
parent
1b251b2e01
commit
057034e60f
|
@ -52,7 +52,7 @@
|
|||
'report/hr_expense_report_view.xml'
|
||||
],
|
||||
'demo_xml': ['hr_expense_demo.xml',
|
||||
# '''hr.expense.expense.csv'
|
||||
# 'hr.expense.expense.csv'
|
||||
],
|
||||
'test': ['test/test_hr_expense.yml'],
|
||||
'installable': True,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- |
|
||||
In order to test hr_expenses for OpenERP, I create expense for employee and manage employee's expenses.
|
||||
-
|
||||
- |
|
||||
Creating unit of measure category "Working Time".
|
||||
-
|
||||
!record {model: product.uom.categ, id: product_uom_categ_workingtime0}:
|
||||
|
@ -8,13 +8,11 @@
|
|||
|
||||
- |
|
||||
Given that I have employee "employee1" and that address.
|
||||
|
||||
-
|
||||
!record {model: hr.employee, id: hr.employee1}:
|
||||
address_home_id: base.res_partner_address_1
|
||||
address_id: base.main_address
|
||||
|
||||
-
|
||||
- |
|
||||
I create product unit of measure "Hour".
|
||||
-
|
||||
!record {model: product.uom, id: product_uom_hour0}:
|
||||
|
@ -22,7 +20,7 @@
|
|||
factor: 8.0
|
||||
name: Hour
|
||||
rounding: 0.01
|
||||
-
|
||||
- |
|
||||
Creating a product "travel" and select uom "Hour" and category "Working Time".
|
||||
-
|
||||
!record {model: product.product, id: product_product_travel0}:
|
||||
|
@ -43,7 +41,7 @@
|
|||
weight: 0.0
|
||||
weight_net: 0.0
|
||||
|
||||
-
|
||||
- |
|
||||
Now I create Expense "September Expenses" for employee1.and select product "travel".
|
||||
-
|
||||
!record {model: hr.expense.expense, id: hr_expense_expense_september0}:
|
||||
|
@ -68,7 +66,7 @@
|
|||
- |
|
||||
I confirm this expenses by click on "Confirm" button.
|
||||
-
|
||||
!workflow {model: hr.expense.expense, action: confirm, ref:hr_expense_expense_september0}
|
||||
!workflow {model: hr.expense.expense, action: confirm, ref: hr_expense_expense_september0}
|
||||
|
||||
- |
|
||||
I check that state is "Waiting Confirmation".
|
||||
|
|
Loading…
Reference in New Issue