Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] Better error handling when loading records #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BT-aestebanez
Copy link
Contributor

Hi,

During our tests, we had the following error constantly:
[Ljava.lang.Object; cannot be cast to [Ljava.util.Map;

Our improvement only catches the error in order to use a more general approach to obtain the information given by Odoo

@flotho
Copy link
Collaborator

flotho commented Oct 5, 2018

Hi @BT-aestebanez , thanks for this new contribution.
Could you please give me more precisions of your process for testing.
Thanks

@BT-aestebanez
Copy link
Contributor Author

OK,
What you need to do is

  1. to read an object (ID=X) (Odoo object input)
  2. To write an object (Odoo object output) with id = id as keys values to map; and as fields to update, on the left a datetime field, and on the right a date field.
  3. Link them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants