[IMP] account:checked compute method of account.payment.term

bzr revid: mtr@tinyerp.com-20110921124902-dahblg9b8pkpgws2
This commit is contained in:
psi(Open ERP) 2011-09-21 18:19:02 +05:30 committed by Meera Trambadia (OpenERP)
parent 613fdc7eda
commit bf7ca9620e
1 changed files with 16 additions and 0 deletions

View File

@ -1,5 +1,18 @@
-
In order to test account invoice I create a new customer invoice
-
I will create bank detail
-
!record {model: res.partner.bank, id: res_partner_bank_0}:
state: bank
company_id: base.main_company
partner_id: base.main_partner
acc_number: 123456789
footer: True
bank: base.res_bank_1
bank_name: Reserve
-
I will create a customer invoice
-
!record {model: account.invoice, id: account_invoice_customer0}:
account_id: account.a_recv
@ -8,6 +21,8 @@
company_id: base.main_company
currency_id: base.EUR
date_invoice: !eval time.strftime('%Y-%m-%d')
payment_term: account.account_payment_term_advance
partner_bank_id: res_partner_bank_0
invoice_line:
- account_id: account.a_sale
name: '[PC3] Medium PC'
@ -18,6 +33,7 @@
journal_id: account.sales_journal
partner_id: base.res_partner_3
reference_type: none
-
I check that Initially customer invoice is in the "Draft" state
-