554
554
args = [('price_include', '=', '1'),
555
555
('id', '=', tax_line[2]['account_tax_id'])]
556
556
tax_ids = tax_obj.search(cr, uid, args, limit=1,
559
559
raise osv.except_osv(_('Error'),
560
560
_('Tax included in price can not be tied to the whole invoice.'))