Skip to Content
Menu
This question has been flagged

I had an issue where we couldn't get the check numbers for bill payments to show on the bank reconciliation widget. This is helpful for us in the way we do reconciliations by making the matching process simpler by cross referencing the check number to the bank line's label.  

Since the widget couldn't be modified via studio, I thought there was nothing that could be done until I came across this very helpful response from Ray Carnes to a similar question posed by the community.

https://www.odoo.com/forum/help-1/how-can-i-add-the-check-number-to-the-bank-reconcilation-screen-for-faster-matching-216961#comment_forum_post_216962

I followed his instructions exactly and it worked great. However, we recently upgraded from V16 to V17 and this customization no longer works. I believe the issue is the custom field added to account.move.line has been killed in the upgrade process. However, the inherited views that reference the custom field were not harmed during the upgrade. So it appears then that a view was trying to reference a field that no longer exists and naturally creates an error.

I know that customizing base models is inherently dangerous and prone to issues at upgrades. I was assuming that adding a custom field to a model (rather than modifying an existing field) would have been safe. Was there anything I should have done differently when deploying Ray's solution so that it could have survived the upgrade? 

Thanks!


Avatar
Discard
Related Posts Replies Views Activity
0
Apr 25
1101
4
Feb 25
2386
2
Jan 25
2323
1
Aug 24
2005
2
Nov 24
3193