Launchpad automatic translations update.
[odoo/odoo.git] / addons / account_budget / test / account_budget_spread.yml
1 -
2  In order to test Spread Wizard of account_budget module I spread record with amount=1000
3
4   Creating a account.budget.spread record
5
6   !record {model: account.budget.spread, id: account_budget_spread_0}:
7     amount: 1000.0
8     fiscalyear: account.data_fiscalyear
9     
10     
11
12   Performing an osv_memory action check_spread on model account.budget.spread
13
14   !python {model: account.budget.spread}: |
15     self.check_spread(cr, uid, [ref("account_budget_spread_0")], {"lang": 'en_US',
16       "active_model": "account.budget.post", "active_ids": [ref("account_budget.account_budget_post_sales0")],
17       "tz": False, "active_id": ref("account_budget.account_budget_post_sales0"),
18       })
19