~openbias/bias-trunk/bias-public-trunk

« back to all changes in this revision

Viewing changes to bias_tax_model_v6/__openerp__.py

  • Committer: Jose Patricio
  • Date: 2011-10-19 03:16:40 UTC
  • Revision ID: josepato@bias.com.mx-20111019031640-05zd7r5lxwx084qu
el push inicial

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- encoding: utf-8 -*-
 
2
##############################################################################
 
3
#
 
4
#    OpenERP, Open Source Management Solution   
 
5
#    Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
 
6
#    $Id$
 
7
#
 
8
#    This program is free software: you can redistribute it and/or modify
 
9
#    it under the terms of the GNU General Public License as published by
 
10
#    the Free Software Foundation, either version 3 of the License, or
 
11
#    (at your option) any later version.
 
12
#
 
13
#    This program is distributed in the hope that it will be useful,
 
14
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
#    GNU General Public License for more details.
 
17
#
 
18
#    You should have received a copy of the GNU General Public License
 
19
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
20
#
 
21
##############################################################################
 
22
 
 
23
 
 
24
{
 
25
    'name': 'Bias Account',
 
26
    'version': '1.0',
 
27
    'category': 'Generic Modules/Account',
 
28
    'description': """ Tax Model:
 
29
- Open menu Sales/Configuration/Address Book/Operation Type and set:
 
30
- "Name" and "Code", 
 
31
- Set "Auto Tax Transfer" if you want create tax transfer entry lines when bank entry is created and the conditions set in operation type are fulfilled, else, only fiscal lines are created,
 
32
- "Tax Income Details" operate in bank journal input entries
 
33
- "Tax Outcome Details" operate in bank journal output entries
 
34
- In "Operation Tax" select Tax, Tax Type, 
 
35
- If you want tax transfer, fill "From Account" with the source account and "To Account" with the target account,
 
36
- In "Accounts Where Operation Apply", set all accounts that when payed, a fiscal entry must be created.
 
37
- Open Sale/Address Book/Customer and select a customer, now go to Accounting an select the "Operation Type" for this customer.
 
38
- Open Purchase/Address Book/Suppliers and select a supplier, now go to Accounting an select the "Operation Type" for this supplier.
 
39
- When a new bank journal entry is created, and a this entry have a partner set, and Operation Type is set in this partner, and this entry use some account from the "Accounts Where Operation Apply" set in partner operation type, the model creates new fiscal lines and if Auto Tax Transfer is set, it create the tax transfer lines to.
 
40
""",
 
41
    'author': 'BIAS',
 
42
    'depends': ['account'],
 
43
    'update_xml': [
 
44
        'security/ir.model.access.csv',
 
45
        'account_view.xml',
 
46
        'partner_view.xml',
 
47
                   ],
 
48
    'installable': True,
 
49
    'active': False,
 
50
}
 
51
 
 
52
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: