openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #00380
[Merge] lp:~openerp-community/openobject-addons/6.0_bug_789658 into lp:openobject-addons/6.0
Lorenzo Battistini - Agile BG - Domsense has proposed merging lp:~openerp-community/openobject-addons/6.0_bug_789658 into lp:openobject-addons/6.0.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #789658 in OpenERP Addons: "Impossible to create tax of type 'balance' through chart of accounts"
https://bugs.launchpad.net/openobject-addons/+bug/789658
For more details, see:
https://code.launchpad.net/~openerp-community/openobject-addons/6.0_bug_789658/+merge/65633
This fixes bug 789658 for 6.0 series
--
https://code.launchpad.net/~openerp-community/openobject-addons/6.0_bug_789658/+merge/65633
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openobject-addons/6.0_bug_789658.
=== modified file 'account/account.py'
--- account/account.py 2011-06-22 20:05:58 +0000
+++ account/account.py 2011-06-23 09:26:02 +0000
@@ -2494,7 +2494,7 @@
'name': fields.char('Tax Name', size=64, required=True),
'sequence': fields.integer('Sequence', required=True, help="The sequence field is used to order the taxes lines from lower sequences to higher ones. The order is important if you have a tax that has several tax children. In this case, the evaluation order is important."),
'amount': fields.float('Amount', required=True, digits=(14,4), help="For Tax Type percent enter % ratio between 0-1."),
- 'type': fields.selection( [('percent','Percent'), ('fixed','Fixed'), ('none','None'), ('code','Python Code')], 'Tax Type', required=True),
+ 'type': fields.selection( [('percent','Percent'), ('fixed','Fixed'), ('none','None'), ('code','Python Code'), ('balance','Balance')], 'Tax Type', required=True),
'applicable_type': fields.selection( [('true','True'), ('code','Python Code')], 'Applicable Type', required=True, help="If not applicable (computed through a Python code), the tax won't appear on the invoice."),
'domain':fields.char('Domain', size=32, help="This field is only used if you develop your own module allowing developers to create specific taxes in a custom domain."),
'account_collected_id':fields.many2one('account.account.template', 'Invoice Tax Account'),