This commit is contained in:
Bertrand Chenal committed 2008-05-28 20:46:39 +02:00
1 parent a14d643fbf
commit ca6279699a
1 file changed
+3 -3
+3 -3
View File
@@ -1650,7 +1650,7 @@ Party()
class Category(OSV):
_name = 'product.category'
account_expense = fields.Property(type='many2one',
relation='account.account', string='Account Expence',
relation='account.account', string='Account Expense',
group_name='Accounting Properties', view_load=True,
domain="[('type.code', '=', 'expense'), ('company', '=', company)]",
states={
@@ -1670,7 +1670,7 @@ Category()
class Template(OSV):
_name = 'product.template'
account_expense = fields.Property(type='many2one',
string='Account Expence', group_name='Accounting Properties',
string='Account Expense', group_name='Accounting Properties',
view_load=True, relation='account.account',
domain="[('type.code', '=', 'expense'), ('company', '=', company)]",
states={
@@ -1686,7 +1686,7 @@ class Template(OSV):
}, help='This account will be used instead of the one defined ' \
'on the category.')
account_expense_used = fields.Function('get_account', type='many2one',
relation='account.account', string='Account Expence Used')
relation='account.account', string='Account Expense Used')
account_revenue_used = fields.Function('get_account', type='many2one',
relation='account.account', string='Account Revenue Used')
customer_taxes = fields.Many2Many('account.tax',