pybill #4360 Library of config files and processing instruction to choose one [resolved]

pybill works with a config file that gives various data (name of the company, translation of the text fields, etc.) A default config file is saved in /etc/pybill/config.xml .

Sometimes, you have to produce bills with different configurations (different languages, different companies, etc.) Today, you must pass the alternate config file on the command line ( --config my_config_file.xml ).

We could imagine a library of standard config files in /etc/pybill/config/ and processing instructions in the xml bill that choose which configuration will be used.

appeared in<not specified>
done in1.0.0
load left0.000
closed by<not specified>