[MERGE] point_of_sale: acconting entries generation failed if a tax was defined with...
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>
Wed, 6 Mar 2013 17:46:16 +0000 (18:46 +0100)
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>
Wed, 6 Mar 2013 17:46:16 +0000 (18:46 +0100)
commite2576590e3b4ad5cef9ca2503e6d1d2eb5801e9b
treee9eb710a8d8b42e67ea752be189220412666907e
parent96267bdfce9602d3eae44245830c9e36348de06f
parent7577488134c4faca90aa05669fa69141891fc67d
[MERGE] point_of_sale: acconting entries generation failed if a tax was defined with no account for tax collected.

this hack is pretty stupid, don't mention it. We need to refactor the whole function, the sooner the better. At least it's not worst than before as we were already using 'line' without being sure it was defined (and now, with the assert, we are)

bzr revid: qdp-launchpad@openerp.com-20130306174616-rb5sr2a6wv8nef3v
addons/point_of_sale/point_of_sale.py