~vauxoo/openerp-venezuela-localization/ovl70-wh-rev-hbto

« back to all changes in this revision

Viewing changes to l10n_ve_withholding_src/model/partner.py

  • Committer: Humberto Arocha
  • Date: 2013-01-14 15:05:07 UTC
  • mfrom: (764.3.8 ovl70)
  • Revision ID: humbertoarocha@gmail.com-20130114150507-o2smjt7wh3eqxmb5
  
[MERGE] Merge from main trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
class res_partner(osv.osv):
33
33
    _inherit = 'res.partner'
34
 
    #~ logger = netsvc.Logger()
35
 
    #~ _columns = {
36
 
        #~ 'wh_src_agent': fields.boolean('Wh. Agent', help="Indicate if the partner is a withholding vat agent"),
37
 
        #~ 'wh_src_rate': fields.float(string='Rate', digits_compute= dp.get_precision('Withhold'), help="Withholding vat rate"),
38
 
    #~ }
39
 
    #~ _defaults = {
40
 
        #~ 'wh_src_rate': lambda *a: 0,
41
 
    #~ }
42
 
 
43
 
 
 
34
    logger = netsvc.Logger()
 
35
    _columns = {
 
36
        'wh_src_agent': fields.boolean('Wh. Agent', help="Indicate if the partner is a withholding vat agent"),
 
37
        'wh_src_rate': fields.float(string='Rate', digits_compute= dp.get_precision('Withhold'), help="Withholding vat rate"),
 
38
    }
 
39
    _defaults = {
 
40
        'wh_src_rate': lambda *a: 0,
 
41
    }
44
42
res_partner()