Backward compatibilty fix.

This commit is contained in:
ndeet committed 2026-08-12 22:15:19 +02:00
1 parent c3d32a04ce
commit 457455edf0
1 file changed
+4
@@ -37,6 +37,10 @@ class PaymentTransaction(models.Model):
return {
'api_url': '/btcpay/checkout',
'reference': self.reference,
# Keep the pre-19.0.1.1 key during rolling deployments. QWeb
# templates live in the database, so an instance restarted before
# the module is upgraded can still render the previous template.
'item_number': self.reference,
}
@api.model
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.