I have erased the contact form, and im trying to get it back manually. Tried putting the form code in the html editor but breaks and odoo ask me to rebuild from template. what code should i put in order to get the form back?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Thanks Karam, didnt work, but gave me some ideas.
worked deleting all "templates" somehow restarted the module.
Ermin, didnt help. Isn't easy to find out what and where inherit what or overides what.
you can try to import it through the View list.
export the original from a new empty database.
1) In settings, Activate Debug mode
2) in setting navigate to Technical > user interface > Views
3) look for res.partner.form
4) export it with the data you need (or try to copy the code from there if you havent completely deleted your Base view) and import back into your original DB
if you cannot create a new DB, you can open the odoo runbot.
http://runbot.odoo.com/runbot
You should try to update the "Contact Us" module.
1) As Ermin Trevisan mentioned the easiest way would be to update the "Contact us" module.
2) You can edit or remove the view from the backend - go to the Settings/Views and search for "Contact"
- odoo will display two "Contact Us" views - the one without external id is that was edited by you.
Now you can remove it, refactor your code or replace it with code from another Odoo instance
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up