sql_buche(): automatic S <-> H switching on negative amount
Merge commit 'github/testing' into beta