请试着把C:Program Files TinyERP Serveraddonspurchase目录下的purchase.py在195行的下述代码:
[quote]raise osv.except_osv('Error !', 'There is no expense account defined for this product: "%s" (id:%d)' % (line.product_id.name, line.product_id.id,))[/quote]
改为:
[quote]raise osv.except_osv(_('Error !'), _('There is no expense account defined for this product: "%s" (id:%d)') % (ol.product_id.name, ol.product_id.id,))[/quote]
不过,不管如何,Tiny实际上要告诉你“有某个产品没有定义”费用科目“(expense account).
[[i] 本帖最后由 digitalsatori 于 2008-8-5 20:16 编辑 [/i]]