hit-pay / odoo-extension

0 stars 0 forks source link

Odoo Server Error #3

Closed gurdianimda closed 9 months ago

gurdianimda commented 10 months ago

Hi, there is a problem when trying to install on Odoo V16:

RPC_ERROR Odoo Server Error Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 698, in _tag_root f(rec) File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 599, in _tag_record record = model._load_records([data], self.mode == 'update') File "/usr/lib/python3/dist-packages/odoo/models.py", line 4397, in _load_records records = self._load_records_create([data['values'] for data in to_create]) File "/usr/lib/python3/dist-packages/odoo/models.py", line 4308, in _load_records_create return self.create(values) File "", line 2, in create File "/usr/lib/python3/dist-packages/odoo/api.py", line 410, in _model_create_multi return create(self, arg) File "/usr/lib/python3/dist-packages/odoo/addons/payment/models/payment_provider.py", line 325, in create providers = super().create(values_list) File "", line 2, in create File "/usr/lib/python3/dist-packages/odoo/api.py", line 410, in _model_create_multi return create(self, arg) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_fields.py", line 670, in create recs = super().create(vals_list) File "", line 2, in create File "/usr/lib/python3/dist-packages/odoo/api.py", line 410, in _model_create_multi return create(self, arg) File "/usr/lib/python3/dist-packages/odoo/models.py", line 3920, in create raise ValueError("Invalid field %r on model %r" % (key, self._name)) ValueError: Invalid field 'image' on model 'payment.provider'

committedpro commented 10 months ago

Installed on Odoo community or enterprise?

gurdianimda commented 10 months ago

Community

On Fri, Sep 22, 2023, 1:15 AM PRABU KUPPUSAMY @.***> wrote:

Installed on Odoo community or enterprise?

— Reply to this email directly, view it on GitHub https://github.com/hit-pay/odoo-extension/issues/3#issuecomment-1729989951, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCXQIA3LHNBAGPPZ2FFJ3ULX3RY3PANCNFSM6AAAAAA5BYHQ54 . You are receiving this because you authored the thread.Message ID: @.***>

committedpro commented 10 months ago

Thank you. Let us try to reproduce this and revert back to you.

gurdianimda commented 10 months ago

Thanks, looking forward

gurdianimda commented 10 months ago

Thanks, looking forward

Hi, any updates?

committedpro commented 10 months ago

Hi, it works in my server odoo 16 community.

Anyway, could you please try this?

payment_hitpay\data\payment_provider_data.xml

Remove this line

<field name="image" type="base64" file="payment_hitpay/static/description/logo.png" />

And restart the odoo server and upgrade the module in developer mode.

Let me know anything else.

Thank you

gurdianimda commented 10 months ago

Hi, I can't edit the code. My Odoo deployment for third party apps pulls through the github repo directly. Could you please create it and make it available via the repo?

committedpro commented 9 months ago

Sorry for the late reply, I was busy with another work. I will send you the new git repo tomorrow.

gurdianimda commented 9 months ago

Please do. Thank you .

On Fri, Oct 6, 2023, 2:02 AM PRABU KUPPUSAMY @.***> wrote:

Sorry for the late reply, I was busy with another work. I will send you the new git repo tomorrow.

— Reply to this email directly, view it on GitHub https://github.com/hit-pay/odoo-extension/issues/3#issuecomment-1749400409, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCXQIA5YUQQPAFE3H2OQI2DX53Y35AVCNFSM6AAAAAA5BYHQ56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZGQYDANBQHE . You are receiving this because you authored the thread.Message ID: @.***>

committedpro commented 9 months ago

Hi I uploaded the updated package here: https://github.com/committedpro/odoo-extension.git

Please pull and test it and let us know.

gurdianimda commented 9 months ago

thanks for your kind assistance. the repo you shared with that specific edit allowed for the installation and the payment is working during our testing. thank you again. will close the issue.