Closed Saran440 closed 1 year ago
/ocabot merge patch
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). 🤖
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 15.0-ocabot-merge-pr-581-by-AaronHForgeFlow-bump-patch, awaiting test results.
Congratulations, your PR was merged at 3ada08289ebc16f0a0703f4ff14376b9a8993d21. Thanks a lot for contributing to OCA. ❤️
Bug: Expense can't register payment when we config self-balance. it will error "Configuration error. The operating unit is mandatory for each line as the operating unit has been defined as self-balanced at company level."
it because this module get
reconciled_moves
frompayment.reconciled_bill_ids + payment.reconciled_invoice_ids
(payment from expense don't have bills)This PR is split function for expense_operating_unit hook and change it to move on expense