~tempo-openerp/+junk/loewert-report-name

« back to all changes in this revision

Viewing changes to addons/account/test/account_fiscalyear_close_state.yml

  • Committer: jbe at tempo-consulting
  • Date: 2013-08-21 08:48:11 UTC
  • Revision ID: jbe@tempo-consulting.fr-20130821084811-913uo4l7b5ayxq8m
[NEW] Création de la branche trunk Loewert

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-
 
2
  I run the Close a Fiscalyear wizard to close the demo fiscalyear
 
3
-
 
4
  !record {model: account.fiscalyear.close.state, id: account_fiscalyear_close_state_0}:
 
5
    fy_id: data_fiscalyear
 
6
-
 
7
  I clicked on Close States Button to close fiscalyear
 
8
 
 
9
-
 
10
  !python {model: account.fiscalyear.close.state}: |
 
11
    self.data_save(cr, uid, [ref("account_fiscalyear_close_state_0")], {"lang": 'en_US',
 
12
      "active_model": "ir.ui.menu", "active_ids": [ref("account.menu_wizard_fy_close_state")],
 
13
      "tz": False, "active_id": ref("account.menu_wizard_fy_close_state"), })
 
14
-
 
15
  I check that the fiscalyear state is now "Done"
 
16
-
 
17
  !assert {model: account.fiscalyear, id: data_fiscalyear, string: Fiscal Year is in Done state}:
 
18
    - state == 'done'
 
19