Invalid parent field #17
-
Hello, Since a few days the connector is not working anymore, i have been using it for almost 2 years without any issue. I cannot refresh anymore the datasource as it says "Invalid parent field : res.users.parent_id". `Odoo Server Error : Invalid parent field: res.users.parent_id The above exception was the direct cause of the following exception: Traceback (most recent call last): Do you have any idea ? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
That's an error in Odoo. I've ran into similar issues before. It usually means that there's a corrupted record in your database or that there's a bug in a calculated field. Can you show me the complete code (from the Advanced Editor) of the query that's throwing the error? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply.
Here is the query :
let
Source = Odoo.Contents("xxx.odoo.com", "xxx"),
Tables = Source{[Key="Tables"]}[Data],
product.product = Tables{[Model="product.product"]}[Data],
product.product1 = product.product{[Key="product.product"]}[Data],
#"product_variant_id développé" =
Table.ExpandRecordColumn(product.product1, "product_variant_id", {"id",
"name"}, {"product_variant_id.id", "product_variant_id.name"}),
#"categ_id développé" = Table.ExpandRecordColumn(#"product_variant_id
développé", "categ_id", {"id", "name"}, {"categ_id.id", "categ_id.name"}),
#"pos_categ_id développé" = Table.ExpandRecordColumn(#"categ_id
développé", "pos_categ_id", {"id", "name"}, {"pos_categ_id.id", "
pos_categ_id.name"})
in
#"pos_categ_id développé"
Le jeu. 1 juin 2023 à 21:58, Mijail Todorovich ***@***.***> a
écrit :
… That's an error in Odoo. I've ran into similar issues before. It usually
means that there's a corrupted record in your database or that there's a
bug in a calculated field.
Can you show me the complete code (from the Advanced Editor) of the query
that's throwing the error?
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAH5MHD4RVTTZOAJUTXTDXLXJDX7DANCNFSM6AAAAAAYXFJCCI>
.
You are receiving this because you authored the thread.Message ID:
<tmijail/Odoo-Power-BI-Connector/repo-discussions/17/comments/6065020@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Try adding a new blank query named
Then, modify your product query so it looks like this:
Modify the For more info, see this section of the readme. |
Beta Was this translation helpful? Give feedback.
-
@quantixdream did you manage to solve this problem |
Beta Was this translation helpful? Give feedback.
-
Hi,
No. I don't know how to solve this.
Many thanks for your help!
Le mar. 27 juin 2023 à 08:42, Iqbal Nurhabib ***@***.***> a
écrit :
… @quantixdream <https://github.com/quantixdream> did you manage to solve
this problem
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BANRPOVI7S65ZZGN3BMDDY3XNJ6GBANCNFSM6AAAAAAYXFJCCI>
.
You are receiving this because you commented.Message ID:
<tmijail/Odoo-Power-BI-Connector/repo-discussions/17/comments/6289508@
github.com>
|
Beta Was this translation helpful? Give feedback.
This is fixed in the new releases v1.0.0 and v0.2.0.