-
Notifications
You must be signed in to change notification settings - Fork 91
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
QWeb Select component: dict value with data source URL #157
Comments
Hi, |
@zuher83 What's your question actually? |
@bobslee , I'm looking for an idea to help solve the bug because it's been unresolved for a long time. I've spent a few hours debugging and I still haven't found anything... Url returns a dictionary eg: When debugging with ipb I see that it has an object but it's empty. My question is, do you have any idea how to fix this bug or a different way of displaying the values? |
@zuher83 Can you provide some test data:
Maybe I can find some time to fix this... upcoming days, weeks. |
@bobslee ok thanks This is form builder JSON
Create test controller:
result in form submission:
|
@zuher83 Why the (test) controller is need? I suppose the endpoint fetches partner records to load into a Select component? |
@bobslee Yes, I know, this is an easy example for URL, because the forms in my case are integrated into a complex logic and other endpoints than Odoo 🙂 |
@zuher83 Concerning the form submission JSON. I didn't expect the label, but the ID value. Also I expect it will take a few hours to analyse and develop this. |
Regular select component stores the selected value.
However, with datasource URL it stores a dict.
Problem:
This results in empty select component (input) in the QWeb report.
No value visible.
The text was updated successfully, but these errors were encountered: