~yannick-buron/odoo-vertical-community/8.0

« back to all changes in this revision

Viewing changes to __unreviewed__/account_wallet/account_wallet.py

  • Committer: Yannick Buron
  • Date: 2014-12-03 11:22:18 UTC
  • mfrom: (102.1.16)
  • Revision ID: git-v1:de55f9b9427b3e74fb7e1121ceb0c1ac609132a1
Merge pull request #17 from YannickB/menufix

[Unreviewed][FIX] Resolve an issue with transaction

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
        config = proxy.get_object(cr, uid, 'base_community', 'community_settings')
164
164
        return [(0, 0, {
165
165
            'model': self._name,
 
166
            'field': 'currency_ids',
166
167
            'price_unit': 1.0,
167
168
            'currency_id': config.default_currency_id.id
168
169
        })]