Ujjvala Collins (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-789658-uco into
lp:openobject-addons.
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-dev/openobject-addons/trunk-bug-789658-uco/+merge/63824
[FIX] account:
----------------------
* Fixed: account tax template object has no selection value 'balance' in type
field.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-789658-uco/+merge/63824
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-789658-uco.
=== modified file 'account/account.py'
--- account/account.py 2011-05-18 15:36:04 +0000
+++ account/account.py 2011-06-08 08:56:01 +0000
@@ -2473,7 +2473,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'),
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp