Skip to content

Commit b91b88f

Browse files
authored
Merge pull request OCA#424 from jcoux/11_l10n_ch_pain_base_fix
[11.0][FIX] l10n_ch_pain_base - Fix migration script
2 parents a114c2d + 40ae4bf commit b91b88f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

l10n_ch_pain_base/migrations/11.0.1.0.0/post-migration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
def reference_type_bvr_to_isr(cr):
77
"""Change BVR to ISR in reference_type field"""
88
cr.execute("""
9-
UPDATE account_invoice SET communication_type='isr'
9+
UPDATE account_payment_line SET communication_type='isr'
1010
WHERE communication_type = 'bvr';
1111
""")
1212

0 commit comments

Comments
 (0)