Browse Source

Merge pull request #85 from acsone/8.0-greenify-runbot-sbi

[8.0] greenify runbot and travis
pull/87/head
Pedro M. Baeza 10 years ago
parent
commit
d4aa591298
  1. 2
      account_financial_report_webkit/report_menus.xml
  2. 7
      account_financial_report_webkit/tests/aged_trial_balance.yml
  3. 1
      account_financial_report_webkit/wizard/general_ledger_wizard_view.xml
  4. 1
      account_financial_report_webkit/wizard/partner_balance_wizard_view.xml
  5. 1
      account_financial_report_webkit/wizard/partners_ledger_wizard_view.xml
  6. 1
      account_financial_report_webkit/wizard/print_journal_view.xml
  7. 1
      account_financial_report_webkit/wizard/trial_balance_wizard_view.xml

2
account_financial_report_webkit/report_menus.xml

@ -35,7 +35,7 @@
"Journals" menu
-->
<record id="account.menu_account_print_sale_purchase_journal" model="ir.ui.menu">
<field name="groups">base.group_no_one</field>
<field name="groups_id" eval="[(4, ref('base.group_no_one')), ]"/>
</record>
</data>

7
account_financial_report_webkit/tests/aged_trial_balance.yml

@ -6,6 +6,7 @@
ctx={}
data_dict = {'chart_account_id':ref('account.chart0'), 'until_date': '%s-12-31' %(datetime.now().year),
'fiscalyear_id': ref('account.data_fiscalyear'),
'period_from': ref('account.period_1'),
'period_to': ref('account.period_12')}
from openerp.tools import test_reports
test_reports.try_report_action(cr, uid, 'action_account_aged_trial_balance_menu_webkit',wiz_data=data_dict, context=ctx, our_module='account_financial_report_webkit')
@ -19,6 +20,7 @@
data_dict = {'chart_account_id':ref('account.chart0'), 'fiscalyear_id': ref('account.data_fiscalyear'),
'until_date': '%s-12-31' %(datetime.now().year), 'target_move': 'posted',
'amount_currency': True, 'result_selection': 'customer_supplier',
'period_from': ref('account.period_1'),
'period_to': ref('account.period_12')}
from openerp.tools import test_reports
test_reports.try_report_action(cr, uid, 'action_account_aged_trial_balance_menu_webkit',wiz_data=data_dict, context=ctx, our_module='account_financial_report_webkit')
@ -33,6 +35,7 @@
'until_date': '%s-12-31' %(datetime.now().year), 'target_move': 'posted',
'amount_currency': True, 'result_selection': 'customer_supplier',
'partner_ids': [ref('base.res_partner_2'), ref('base.res_partner_1')],
'period_from': ref('account.period_1'),
'period_to': ref('account.period_12')}
from openerp.tools import test_reports
test_reports.try_report_action(cr, uid, 'action_account_aged_trial_balance_menu_webkit',wiz_data=data_dict, context=ctx, our_module='account_financial_report_webkit')
@ -46,6 +49,8 @@
data_dict = {'chart_account_id':ref('account.chart0'), 'fiscalyear_id': ref('account.data_fiscalyear'),
'until_date': '%s-12-31' %(datetime.now().year), 'target_move': 'posted',
'amount_currency': True, 'result_selection': 'customer_supplier',
'filter': 'filter_period', 'period_to': ref('account.period_12')}
'filter': 'filter_period',
'period_from': ref('account.period_1'),
'period_to': ref('account.period_12')}
from openerp.tools import test_reports
test_reports.try_report_action(cr, uid, 'action_account_aged_trial_balance_menu_webkit',wiz_data=data_dict, context=ctx, our_module='account_financial_report_webkit')

1
account_financial_report_webkit/wizard/general_ledger_wizard_view.xml

@ -76,7 +76,6 @@
<record model="ir.values" id="action_account_general_ledger_values_webkit">
<field name="model_id" ref="account.model_account_account"/>
<field name="object" eval="1"/>
<field name="name">General Ledger</field>
<field name="key2">client_print_multi</field>
<field name="value"

1
account_financial_report_webkit/wizard/partner_balance_wizard_view.xml

@ -72,7 +72,6 @@
<record model="ir.values" id="action_account_partner_balance_values_webkit">
<field name="model_id" ref="account.model_account_account"/>
<field name="object" eval="1"/>
<field name="name">Partner Balance</field>
<field name="key2">client_print_multi</field>
<field name="value"

1
account_financial_report_webkit/wizard/partners_ledger_wizard_view.xml

@ -58,7 +58,6 @@
<record model="ir.values" id="action_account_partners_ledger_values_webkit">
<field name="model_id" ref="account.model_account_account"/>
<field name="object" eval="1"/>
<field name="name">Partner Ledger</field>
<field name="key2">client_print_multi</field>
<field name="value"

1
account_financial_report_webkit/wizard/print_journal_view.xml

@ -77,7 +77,6 @@
<record model="ir.values" id="action_account_print_journal_values_webkit">
<field name="model_id" ref="account.model_account_account"/>
<field name="object" eval="1"/>
<field name="name">Journals</field>
<field name="key2">client_print_multi</field>
<field name="value"

1
account_financial_report_webkit/wizard/trial_balance_wizard_view.xml

@ -64,7 +64,6 @@
<record model="ir.values" id="action_account_trial_balance_values_webkit">
<field name="model_id" ref="account.model_account_account"/>
<field name="object" eval="1"/>
<field name="name">Trial Balance</field>
<field name="key2">client_print_multi</field>
<field name="value"

Loading…
Cancel
Save