- Remove a debug print
- Do not use Hy version
1.0aX
- Fix bug with CSV stat export when no VAT on an invoice
- Fix bug with
price_formula
and empty string prices
- Migrate to Hy
>= 0.26
- Add decimal number format arguments (
--decimals-csv-locale
and--decimals-csv-format
) to statistics CSV ouput command
- Add a parser option
options.price_formula.enabled
in definition to be set toTrue
for allowing to set price as formula. The formula starts with=
and follow with valid Python code. For eg.prestations.0.price: =1000*0.7
will yield a price of 700 on the first prestation.
- Add a
rounding-decimals
kwarg toparse_invoices
andparse_quote
, which default to2
- Fix
setup.py
to includetqwgp_parser.files
module files
- Missing
__init__.py
for moduletqwgp_parser.files
(wrong fix)
- Fix missing dependencies
- Introduce statistics feature, allowing to parse a directory of invoices and generating revenue statistics (experimental)
- To use it, run
tqwgp stats <project(s)_dir>
,tqwgp show <project(s)_dir>
ortqwgp csv --extract=invoices <project(s)_dir>
- To use it, run
- Migrate to Hy 1.0a4 and support Python 3.10
- Fix counts optional prestations inside sections for
optional_prestations
- Fix inverted
price
andoptional_price
indocument.sections
)
- Each section (
document.sections
) return now both aprice
andoptional_price
properties, which decompose VAT:total_vat_excl
,total_vat_incl
andvat
- Requires Hy
>=1.0a1
- Works with Hy
0.20.0