diff options
| author | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2013-04-18 12:24:33 +0200 |
|---|---|---|
| committer | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2013-04-18 12:24:33 +0200 |
| commit | c46929268d4f94374fcb64430d92cc138e1864f3 (patch) | |
| tree | 2d716ac6503186ee44ee228d7e80dbd40ba5fe25 /addons/gamification/static/src/xml/gamification.xml | |
| parent | 56b54464312ef4e5de05c948883079f9361efc87 (diff) | |
[FIX] account* modules: added 'account_period_prefer_normal':True in context when trying to find the period related to a date.
This patch will be forward ported in trunk by changing the behaviour of account_period.find() in order to fetch the normal periods by default (account_period_prefer_normal will be True by default) because there are no business case i could think of where you'd like to get the opening period (except in the closure but it's held in a different way there). On the other hand, it's pretty easy to forget to put that key in the context and introduce a new bug that will select the opening period instead of the wanted one
bzr revid: qdp-launchpad@openerp.com-20130418102433-t52uj23trkpr8vnb
Diffstat (limited to 'addons/gamification/static/src/xml/gamification.xml')
0 files changed, 0 insertions, 0 deletions
