Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[10.0][ADD] website_form_builder: Exactly what the title says #402
Dec 15, 2017
tarteo left a comment
@Yajo Very useful module!
I followed the steps provided by the readme using model project and task but I got stuck when I tried to whitelist a field. The error I got was: "Properties of base fields cannot be altered in this manner! Please modify them through Python code, preferably through a custom addon!".
It also would be nice to be able to edit "Blacklisted in web forms" from the Model form. Now it's only available through the Field form (Settings -> Technical -> Database Structure -> Fields).
AFAIK the setting is available in the model form too:
Could you provide the steps please?
It seems you can't alter fields properties through UI unless it's a manually-created model. I'm not sure I want to change that... Should I then just change the docs?
Done. Now, instead of having the previously ugly and unusable UI for hidden data, now the user can simply set the field as hidden and use it as usual. Since hidden fields are expected to have a value, when hiding a field without it, the user will be asked for it automatically.
Please @rafaelbn review
Please try the form I've created in http://3315250-402-88cc0c.runbot1.odoo-community.org/#scrollTop=0
Form says "An error has occured, the form has not been sent."
Answer says: false