I humbly suggest you take different for v5.0 and 6.0/trunk :
- on v5.0 the branch I pushed may be OK, please review it
- on v6.0 and trunk, I suggest you rewrite _get_stock() and get rid of the SQL view once for all. Sorry, I can't make a proposal for that at the moment.
Lionel Sausin.
I humbly suggest you take different for v5.0 and 6.0/trunk :
- on v5.0 the branch I pushed may be OK, please review it
- on v6.0 and trunk, I suggest you rewrite _get_stock() and get rid of the SQL view once for all. Sorry, I can't make a proposal for that at the moment.
Lionel Sausin.