Files
@ c6dc2d83aca7
Branch filter:
Location: NPO-Accounting/conservancy_beancount/tests/test_data_iter_postings.py
c6dc2d83aca7
1.8 KiB
text/x-python
data.Amount: Introduce class and simplify code to use it.
See docstring for full rationale. This greatly reduces the need for other
plugin code to handle the case of `post.units.number is None`, eliminating
the need for entire methods and letting it do plain numeric comparisons.
See docstring for full rationale. This greatly reduces the need for other
plugin code to handle the case of `post.units.number is None`, eliminating
the need for entire methods and letting it do plain numeric comparisons.