[REF] Corrections

bzr revid: jvo@tinyerp.com-20100927175335-0drt398ro1lgbxyg
This commit is contained in:
SKH(OpenERP) 2010-09-27 23:23:35 +05:30 committed by Jay (OpenERP)
parent 4f09434067
commit 88ea0ea234
10 changed files with 12 additions and 12 deletions

View File

@ -32,7 +32,7 @@
Customer and Supplier Invoices Customer and Supplier Invoices
Bank statements Bank statements
Reconciliation process by partner Reconciliation process by partner
Creates a dashboards for accountants that includes: Creates a dashboard for accountants that includes:
* List of uninvoiced quotations * List of uninvoiced quotations
* Graph of aged receivables * Graph of aged receivables
* Graph of aged incomes * Graph of aged incomes

View File

@ -50,7 +50,7 @@
!assert {model: account.invoice, id: account_invoice_currency}: !assert {model: account.invoice, id: account_invoice_currency}:
- state == 'proforma2' - state == 'proforma2'
- -
I can't change the currency of invoice when it is not in draft state so i change the state to cancel I can't change the currency of invoice when it is not in draft state so I change the state to cancel
- -
!workflow {model: account.invoice, action: invoice_cancel, ref: account_invoice_currency} !workflow {model: account.invoice, action: invoice_cancel, ref: account_invoice_currency}
- -

View File

@ -1,5 +1,5 @@
- -
In order to test the PDF reports defined on an invoice, we will print an invoice In order to test the PDF reports defined on an invoice, we will print an Invoice Report
- -
!python {model: account.invoice}: | !python {model: account.invoice}: |
import netsvc, tools, os import netsvc, tools, os

View File

@ -32,7 +32,7 @@
reference_type: none reference_type: none
period_id: period_1 period_id: period_1
- I create the invoice, as is I clicked on the "Create" button - I create the invoice, as I clicked on the "Create" button
- !workflow {model: account.invoice, action: invoice_open, ref: invoice_seq_test} - !workflow {model: account.invoice, action: invoice_open, ref: invoice_seq_test}
- I check that the invoice state is "Open" - I check that the invoice state is "Open"

View File

@ -1,5 +1,5 @@
- -
We retrieve all accounts and test they are in a tree data structure. We retrieve all accounts and test that those are in a tree data structure.
- -
!python {model: account.account}: | !python {model: account.account}: |
ids = self.search(cr, uid, []) ids = self.search(cr, uid, [])

View File

@ -1,5 +1,5 @@
- -
Print the Cross Overed Report in Normal mode Print the Crossovered Analytic Report in Normal mode
- -
!python {model: account.analytic.account}: | !python {model: account.analytic.account}: |
import netsvc, tools, os, time import netsvc, tools, os, time

View File

@ -26,7 +26,7 @@
'category': 'Generic Modules/Accounting', 'category': 'Generic Modules/Accounting',
'description': """This module allows accountants to manage analytic and crossovered budgets. 'description': """This module allows accountants to manage analytic and crossovered budgets.
Once the Master Budgets and the Budgets defined (in Financial Once the Master Budgets and the Budgets are defined (in Financial
Management/Budgets/), the Project Managers can set the planned amount on each Management/Budgets/), the Project Managers can set the planned amount on each
Analytic Account. Analytic Account.

View File

@ -1,5 +1,5 @@
- -
In order to check account budget module in OpenERP I created a budget with few budget position In order to check account budget module in OpenERP I created a budget with few budget positions
- -
Creating a crossovered.budget record Creating a crossovered.budget record
- -
@ -58,7 +58,7 @@
- state == 'validate' - state == 'validate'
- -
I pressed the done button to done the Budget I pressed the done button to set the Budget to "Done" state
- -
Performing a workflow action done on module crossovered.budget Performing a workflow action done on module crossovered.budget
- -

View File

@ -17,7 +17,7 @@
if tools.config['test_report_directory']: if tools.config['test_report_directory']:
file(os.path.join(tools.config['test_report_directory'], 'account_budget-budget_report.'+format), 'wb+').write(data) file(os.path.join(tools.config['test_report_directory'], 'account_budget-budget_report.'+format), 'wb+').write(data)
- -
Print the Cross Overed Budget Report in Normal mode Print the CrossOvered Budget Report in Normal mode
- -
!python {model: crossovered.budget}: | !python {model: crossovered.budget}: |
import netsvc, tools, os, time import netsvc, tools, os, time

View File

@ -1,5 +1,5 @@
- -
In order to test Spread Wizard of account module I spread record with amount=1000 In order to test Spread Wizard of account_budget module I spread record with amount=1000
- -
Creating a account.budget.spread record Creating a account.budget.spread record
- -
@ -9,7 +9,7 @@
- -
Performing an osv_memory action check_spread on module account.budget.spread Performing an osv_memory action check_spread on model account.budget.spread
- -
!python {model: account.budget.spread}: | !python {model: account.budget.spread}: |
self.check_spread(cr, uid, [ref("account_budget_spread_0")], {"lang": 'en_US', self.check_spread(cr, uid, [ref("account_budget_spread_0")], {"lang": 'en_US',