Merge lp:~vauxoo/openerp-venezuela-localization/ovl70-whiva-rev2-kty into lp:openerp-venezuela-localization

Proposed by Katherine Zaoral (Vauxoo)
Status: Merged
Merged at revision: 784
Proposed branch: lp:~vauxoo/openerp-venezuela-localization/ovl70-whiva-rev2-kty
Merge into: lp:openerp-venezuela-localization
Diff against target: 12 lines (+2/-0)
1 file modified
l10n_ve_withholding_iva/model/wh_iva.py (+2/-0)
To merge this branch: bzr merge lp:~vauxoo/openerp-venezuela-localization/ovl70-whiva-rev2-kty
Reviewer Review Type Date Requested Status
hbto [Vauxoo] http://www.vauxoo.com Pending
Review via email: mp+151816@code.launchpad.net

Commit message

[IMP] new related fields 'date' and 'date_ret' from 'account.wh.iva' model.

Description of the change

[IMP] new related fields 'date' and 'date_ret' from 'account.wh.iva' model.

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
=== modified file 'l10n_ve_withholding_iva/model/wh_iva.py'
--- l10n_ve_withholding_iva/model/wh_iva.py 2013-03-01 10:53:41 +0000
+++ l10n_ve_withholding_iva/model/wh_iva.py 2013-03-05 18:38:21 +0000
@@ -148,6 +148,8 @@
148 'base_ret': fields.function(_amount_all, method=True, digits=(16,4), string='Wh. amount', multi='all', help="Withholding without tax amount"),148 'base_ret': fields.function(_amount_all, method=True, digits=(16,4), string='Wh. amount', multi='all', help="Withholding without tax amount"),
149 'move_id': fields.many2one('account.move', 'Account Entry', readonly=True, help="Account entry"),149 'move_id': fields.many2one('account.move', 'Account Entry', readonly=True, help="Account entry"),
150 'wh_iva_rate': fields.float(string='Withholding Vat Rate', digits_compute= dp.get_precision('Withhold'), help="Withholding vat rate"),150 'wh_iva_rate': fields.float(string='Withholding Vat Rate', digits_compute= dp.get_precision('Withhold'), help="Withholding vat rate"),
151 'date': field.related('retention_id', 'date', type='date', relation='account.wh.iva', string='Date')
152 'date_ret': field.related('retention_id', 'date_ret', type='date', relation='account.wh.iva', string='Date Withholding')
151 }153 }
152154
153 _sql_constraints = [155 _sql_constraints = [