I'm trying to build a custom payment acquirer, for odoo 14.0
I'm stuck at figuring how what's causing the installer to fail at a ParseError when reading the payment acquirer data record xml.
I don't see any obvious spelling errors, and I've gone through each line to figure out which one is causing the error. I've eliminated a few fields.
These fields install without any errors: name, company_id, payment_flow, pre_msg, pending_msg, done_msg
The fields that cause the installation of the payment acquirer to fail are as follows: provider, view_template_id, registration_view_template_id, environment, and all my custom fields.
The code is publicly available here: https://github.com/t-900-a/odoo-solana-payments
The file in question is here: https://github.com/t-900-a/odoo-solana-payments/blob/main/data/solana_sol_payment_acquirer.xml
The log from the failed installation is here: https://siasky.net/CAAOumg4APg9bRC12s0IxfL1epH6s3dsc8573HFH3o1Y3A
Here is a snippet of the log error, but see the file for complete error message:
odoo.tools.convert.ParseError: while parsing file:/c:/users/anon/pycharmprojects/odoo-solana-payments/data/solana_sol_payment_acquirer.xml:25, near
<record id="payment_acquirer_solana_sol" model="payment.acquirer">
Thank you for your help
Edit: github issue created https://github.com/odoo/odoo/issues/61335