023e4060c5bbd0877bf7ea3849cbfaea04533e86
The override guarded on self.code, which is empty on the model-level recordset passed to create(), so the branch never ran. The private key is generated during pairing (in the onchange) instead, so the override is dead code; removing it also keeps copying a provider from regenerating (and thus invalidating) an already paired key.
BTCPay Server payment gateway for Odoo 16, 17, 18 and 19
Accept bitcoin payments on Odoo 16, 17, 18 and 19
This odoo addon allows you to accept bitcoin and Lightning Network (and other cryptocurrency) payments in your Odoo e-commerce store.

How to install
Please find the installation instructions here:
Languages
Python
75.4%
HTML
24.6%