2010-09-16 13:27:57 +00:00
|
|
|
-
|
2010-12-23 05:55:14 +00:00
|
|
|
Print the Analytic Budget Report through wizard
|
2010-09-16 13:27:57 +00:00
|
|
|
-
|
|
|
|
!python {model: account.analytic.account}: |
|
2014-04-02 16:40:53 +00:00
|
|
|
ctx = {'model': 'account.analytic.account','active_ids': [ref('account.analytic_root')]}
|
2013-02-09 06:24:36 +00:00
|
|
|
from openerp.tools import test_reports
|
2014-04-02 16:40:53 +00:00
|
|
|
test_reports.try_report_action(cr, uid, 'action_account_budget_analytic',wiz_data={}, context=ctx, our_module='account_budget')
|
2010-12-22 13:00:49 +00:00
|
|
|
|
2010-09-16 13:27:57 +00:00
|
|
|
-
|
2010-12-23 05:55:14 +00:00
|
|
|
Print the Budget Report through wizard
|
2010-09-16 13:27:57 +00:00
|
|
|
-
|
|
|
|
!python {model: account.budget.post}: |
|
2014-04-02 16:40:53 +00:00
|
|
|
ctx = {'model': 'account.budget.post','active_ids': [ref('account_budget.account_budget_post_sales0')]}
|
2013-02-09 06:24:36 +00:00
|
|
|
from openerp.tools import test_reports
|
2014-04-02 16:40:53 +00:00
|
|
|
test_reports.try_report_action(cr, uid, 'action_account_budget_report',wiz_data={}, context=ctx, our_module='account_budget')
|
2010-12-22 13:00:49 +00:00
|
|
|
|
2010-09-16 13:27:57 +00:00
|
|
|
-
|
2010-12-22 13:00:49 +00:00
|
|
|
Print the CrossOvered Budget Report mode through wizard
|
2010-09-16 13:27:57 +00:00
|
|
|
-
|
|
|
|
!python {model: crossovered.budget}: |
|
2014-04-02 16:40:53 +00:00
|
|
|
ctx = {'model': 'account.budget.post','active_ids': [ref('account_budget.crossovered_budget_budgetoptimistic0')]}
|
2013-02-09 06:24:36 +00:00
|
|
|
from openerp.tools import test_reports
|
2014-04-02 16:40:53 +00:00
|
|
|
test_reports.try_report_action(cr, uid, 'action_account_budget_crossvered_report',wiz_data={}, context=ctx, our_module='account_budget')
|