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

« back to all changes in this revision

Viewing changes to l10n_ve_fiscal_requirements/account_tax.py.moved

 
[MERGE] Merge to:
        [IMP] Changed references to original view because these changed its structure in version 7.0
        [IMP] Removed reference to res.partner.address model, this resulted in the elimination of related fields to this model and its validation

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
 
2
# -*- encoding: utf-8 -*-
 
3
###########################################################################
 
4
#    Module Writen to OpenERP, Open Source Management Solution
 
5
#    Copyright (C) OpenERP Venezuela (<http://openerp.com.ve>).
 
6
#    All Rights Reserved
 
7
###############Credits######################################################
 
8
#    Coded by: Vauxoo C.A.           
 
9
#    Planified by: Nhomar Hernandez
 
10
#    Audited by: Vauxoo C.A.
 
11
#############################################################################
 
12
#    This program is free software: you can redistribute it and/or modify
 
13
#    it under the terms of the GNU Affero General Public License as published by
 
14
#    the Free Software Foundation, either version 3 of the License, or
 
15
#    (at your option) any later version.
 
16
#
 
17
#    This program is distributed in the hope that it will be useful,
 
18
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20
#    GNU Affero General Public License for more details.
 
21
#
 
22
#    You should have received a copy of the GNU Affero General Public License
 
23
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
24
################################################################################
 
25
 
 
26
from osv import fields, osv
 
27
 
 
28
 
 
29
class account_tax(osv.osv):
 
30
    _inherit = 'account.tax'
 
31
    _columns = {
 
32
        'appl_type': fields.selection(
 
33
            [('exento', 'Exempt'), 
 
34
            ('sdcf', 'Not entitled to tax credit'), 
 
35
            ('general', 'General Aliquot'),
 
36
            ('reducido', 'Reducted Aliquot'),
 
37
            ('adicional', 'General Aliquot + Additional')], 
 
38
        'Aliquot Type', 
 
39
        required=False, 
 
40
        help='Specify the aliquote type for the tax so it can be processed accrordly when the sale/purchase book is generatred'),
 
41
   }
 
42
 
 
43
account_tax()