[IMP]improve yml for account_voucher
bzr revid: sgo@tinyerp.com-20130221111728-jlvv0lf5w258ujbz
This commit is contained in:
@@ -61,6 +61,7 @@ This module manages:
|
||||
'account_voucher_data.xml',
|
||||
],
|
||||
'test' : [
|
||||
'test/account_voucher_users.yml',
|
||||
'test/case5_suppl_usd_usd.yml',
|
||||
'test/account_voucher.yml',
|
||||
'test/sales_receipt.yml',
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
-
|
||||
I check the voucher module with user who is accountant.
|
||||
-
|
||||
!context
|
||||
uid: 'res_users_account_voucher_user'
|
||||
|
||||
-
|
||||
In order to check account voucher module in OpenERP I create a customer voucher
|
||||
-
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
-
|
||||
Create a user as 'Accountant for voucher'
|
||||
-
|
||||
!record {model: res.users, id: res_users_account_voucher_user}:
|
||||
company_id: base.main_company
|
||||
name: Voucher Accountant
|
||||
login: vacc
|
||||
password: acc
|
||||
groups_id:
|
||||
- account.group_account_user
|
||||
-
|
||||
Create a user as 'Financial Manager for account voucher'
|
||||
-
|
||||
!record {model: res.users, id: res_users_account_voucher_manager}:
|
||||
company_id: base.main_company
|
||||
name: Financial Manager for voucher
|
||||
login: fmv
|
||||
password: fmv
|
||||
groups_id:
|
||||
- account.group_account_manager
|
||||
@@ -1,4 +1,9 @@
|
||||
##YAML test on the account_voucher as depicted in this bug report: https://bugs.launchpad.net/openobject-addons/+bug/954155
|
||||
-
|
||||
Only manager can create and take decision about bank and currency there I checkd this test with user who is finance manager.
|
||||
-
|
||||
!context
|
||||
uid: 'res_users_account_voucher_manager'
|
||||
-
|
||||
In order to check the payment with multi-currency in OpenERP,
|
||||
I create an invoice in EUR and make payment in USD based on the currency rating.
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
-
|
||||
I test sales payment with user who is accountant.
|
||||
-
|
||||
!context
|
||||
uid: 'res_users_account_voucher_user'
|
||||
-
|
||||
Create an invoice for the partner Seagate with amount 450.0
|
||||
-
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
-
|
||||
Accountant can also be created receipt and validate it there for I checked it with that user who is accountant.
|
||||
-
|
||||
!context
|
||||
uid: 'res_users_account_voucher_user'
|
||||
-
|
||||
Creating a Voucher Receipt for partner Seagate with amount 30000.0
|
||||
-
|
||||
|
||||
Reference in New Issue
Block a user