Hi,

on sale[1] and purchase[2] there are checks in get_invoice_line()
for account_revenue and account_expense. It is hard to extend the 
get_invoice_line() method when you want to introduce an alternative
conception, like account_product_rule[3] does. 

Is a patch welcome which factors out these checks?

Regards Udo

[1] http://hg.tryton.org/modules/sale/file/8a0414095b30/sale.py#l1250
[2]
http://hg.tryton.org/modules/purchase/file/38bca07037aa/purchase.py#l1156
[3] https://bitbucket.org/ukoma/account_product_rule/
-- 
_____________________________
virtual things
Preisler & Spallek GbR
München - Aachen

Windeckstr. 77
81375 München
Tel: +49 (89) 710 481 55
Fax: +49 (89) 710 481 56

i...@virtual-things.biz
http://www.virtual-things.biz

Reply via email to