openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #03912
[Bug 908704] Re: account_voucher - class res_company must be defined first
well I could not load account_voucher because
this is at the end
class res_company(osv.osv):
_inherit = "res.company"
_columns = {
'income_currency_exchange_account_id': fields.many2one(
'account.account',
string="Income Currency Rate",
domain="[('type', '=', 'other')]",),
'expense_currency_exchange_account_id': fields.many2one(
'account.account',
string="Expense Currency Rate",
domain="[('type', '=', 'other')]",),
}
res_company()
and
921 if amount_residual > 0:
922 account_id = line.voucher_id.company_id.expense_currency_exchange_account_id
fails
** Changed in: openobject-addons
Status: Incomplete => New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/908704
Title:
account_voucher - class res_company must be defined first
Status in OpenERP Addons (modules):
New
Bug description:
expense_currency_exchange_account_id never gets created , because
module fails to install
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/908704/+subscriptions
References