-
Committer:
Stefan Rijnhart
-
Date:
2014-03-20 15:12:21 UTC
-
Revision ID:
stefan@therp.nl-20140320151221-ls94093svivb2t39
[RFR] Unify _get_period methods on statement and statement line. As a result,
always return a non-opening period. Small API change:
date is always passed as argument, not in context.
[RFR] Override of _check_company_id (unrelated to the fix):
Don't call super, but integrate its check (while being tolerant when
there is no period).
Refresh statement so as not to overwrite the period for every line
[RFR] PEP8 in affected code and unrelated _get_period method on voucher
Remove obsolete class instantiations