Merge lp:~vauxoo/openerp-venezuela-localization/edgar_responsabilidad_social into lp:~openerp-venezuela/openerp-venezuela-localization/6.0-trunk

Proposed by [SISB] Edgar Rivero
Status: Merged
Merged at revision: 622
Proposed branch: lp:~vauxoo/openerp-venezuela-localization/edgar_responsabilidad_social
Merge into: lp:~openerp-venezuela/openerp-venezuela-localization/6.0-trunk
Diff against target: 14 lines (+1/-3)
1 file modified
l10n_ve_withholding_src/model/wh_src.py (+1/-3)
To merge this branch: bzr merge lp:~vauxoo/openerp-venezuela-localization/edgar_responsabilidad_social
Reviewer Review Type Date Requested Status
hbto [Vauxoo] http://www.vauxoo.com Pending
Review via email: mp+93840@code.launchpad.net

Description of the change

[FIX] Cambio del default de withholding_src, para corregir error de permiso

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'l10n_ve_withholding_src/model/wh_src.py'
2--- l10n_ve_withholding_src/model/wh_src.py 2012-01-30 20:48:44 +0000
3+++ l10n_ve_withholding_src/model/wh_src.py 2012-02-20 14:01:26 +0000
4@@ -98,9 +98,7 @@
5
6 _defaults = {
7 'state': lambda *a: 'draft',
8- 'currency_id': lambda self, cr, uid, context: \
9- self.pool.get('res.company').browse(cr, uid, uid,
10- context=context).currency_id.id,
11+ 'currency_id': lambda self, cr, uid, c: self.pool.get('res.users').browse(cr, uid, uid, c).company_id.currency_id.id,
12 'journal_id':lambda self, cr, uid, context: \
13 self._diario(cr, uid, uid, context),
14 'company_id': lambda self, cr, uid, c: self.pool.get('res.users').browse(cr, uid, uid, c).company_id.id,