- 24 Jul, 2022 17 commits
- 23 Jul, 2022 5 commits
- 31 Jan, 2022 3 commits
- 27 Jan, 2022 2 commits
- 21 Mar, 2020 1 commit
-
-
WhilelM authored
-
- 17 Mar, 2020 1 commit
-
-
WhilelM authored
-
- 17 Nov, 2019 1 commit
-
-
WhilelM authored
-
- 30 May, 2019 4 commits
-
-
WhilelM authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
- 05 Mar, 2019 1 commit
-
-
Baptiste Jonglez authored
Avec python3, l'ordre d'itération sur les dictionnaires est aléatoire. Lorsqu'un règlement concerne plusieurs factures, celles-ci sont donc listées dans un ordre aléatoire, ce qui génère une écriture différente à chaque lancement de himport. Pour résoudre ce problème, on liste les factures dans l'ordre alphabétique (ce qui correspond normalement à un ordre chronologique).
-
- 04 Mar, 2019 1 commit
-
-
Baptiste Jonglez authored
This caused Python3 (3.7.2 to be precise) to fail to print to stdout: Traceback (most recent call last): File "/home/zorun/.local/bin/himport", line 11, in <module> load_entry_point('himport', 'console_scripts', 'himport')() File "/home/zorun/tmp/himport/himport/cli.py", line 99, in main options = process_args() File "/home/zorun/tmp/himport/himport/cli.py", line 44, in process_args print(usage) File "/usr/lib/python3.7/codecs.py", line 378, in write self.stream.write(data) TypeError: write() argument must be str, not bytes After removing the sys.stdout redefinition, python3 is now happy, and python2 seems to still be able to print to stdout even with unicode characters.
-
- 28 Jan, 2019 2 commits
- 24 Jan, 2019 2 commits
-
-
Baptiste Jonglez authored
Dolibarr allows to group invoice lines under a title (actually, there can be up to 9 levels of title/subtitle/etc). Unfortunately, the title of each group appears in the database as a legitimate invoice line, so it gets imported by himport even though it does not make any sense. This patch ignores these "fake" invoice lines by filtering on the 'special_code' column.
-
Baptiste Jonglez authored
-