Closed amcor closed 2 years ago
@astirpe thanks for the review !! I think i've done all suggestions.
@amcor In Accounting -> Management -> budget: After clicking at "Add line" (in Budget lines) This error appears:
File "/home/.../account/account_budget_oca/models/account_budget.py", line 186, in _compute_theoretical_amount
line_timedelta = from_string(line.date_to) - from_string(line.date_from)
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'
@amcor In Accounting -> Management -> budget: After clicking at "Add line" (in Budget lines) This error appears:
File "/home/.../account/account_budget_oca/models/account_budget.py", line 186, in _compute_theoretical_amount line_timedelta = from_string(line.date_to) - from_string(line.date_from) TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'
I have just performed the operations you describe and the problem does not appear. The dates on the lines are now required. I don't know if when you tested the module they were
This PR has the approved
label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
All check passed, why is this PR not merged?
/ocabot merge nobump
This PR looks fantastic, let's merge it! Prepared branch 13.0-ocabot-merge-pr-37-by-dreispt-bump-nobump, awaiting test results.
Congratulations, your PR was merged at f1fd49313a466895d5040b5e4fe78d3abb709c93. Thanks a lot for contributing to OCA. ❤️
cc @guadaltech