coopiteasy / addons

Various modules that extend or improve Odoo Community.
GNU Affero General Public License v3.0
21 stars 17 forks source link

[FIX] account_customer_wallet: Prevent error when creating partner #306

Closed carmenbianca closed 1 year ago

carmenbianca commented 1 year ago

Description

In Odoo 16, it is mandatory to provide a value for computed fields. If you don't, the creation of NewId objects results in error 'Compute method failed to assign res.partner(<NewId ...>,).customer_wallet_balance'.

Odoo task (if applicable)

https://gestion.coopiteasy.be/web#id=11080&action=475&active_id=264&model=project.task&view_type=form&menu_id=536

Checklist before approval

carmenbianca commented 1 year ago

/ocabot merge patch

github-grap-bot commented 1 year ago

What a great day to merge this nice PR. Let's do it! Prepared branch 16.0-ocabot-merge-pr-306-by-carmenbianca-bump-patch, awaiting test results.

github-grap-bot commented 1 year ago

Congratulations, your PR was merged at 6ff80107776ee80bfc85fe54ac292ab827d31a49. Thanks a lot for contributing to coopiteasy. ❤️