~account-core-editors/account-closing/7.0

« back to all changes in this revision

Viewing changes to account_unrealized_currency_gain_loss/res_currency.py

  • Committer: Guewen Baconnier @ Camptocamp
  • Date: 2012-03-02 09:52:21 UTC
  • Revision ID: guewen.baconnier@camptocamp.com-20120302095221-hdo0m3xkee3ckb0m
[IMP] pep8
(lp:c2c-addons/6.1  rev 29.1.4)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
class res_currency(osv.osv):
29
29
 
30
 
    _inherit='res.currency'
 
30
    _inherit = 'res.currency'
31
31
 
32
 
    def _get_conversion_rate(self, cr, uid, from_currency, to_currency, context=None):
 
32
    def _get_conversion_rate(self, cr, uid, from_currency,
 
33
                             to_currency, context=None):
33
34
        if context is None:
34
35
            context = {}
35
36
        if 'revaluation' in context: