@Jörg,
in regards to fixing the view, i'd recommend going to the runbots:
runbot.odoo.com
and checking the view that you have edited on the 8.0 test database. You should just be able to replace this modified view with the original/default from the runbots to be back to normal on your database.
I'd recommend doing a database backup before making any changes to the database or installing a new module, as it makes it far easier to rollback once you inevitably break something during development/testing.

Could you post your module code to a public repository so that others can take a look? I've been working on another module to add multiple product images to product.template with the help of another developer that may be of interest to you:

https://github.com/OdooCommunityWidgets/website_multi_image/tree/8.0

If you are trying to add an image directly next to the other image widget on the product.template I think you will need to first check that you have your field inside product.template and then you will need to inherit the product_template_form_view and use xpath to insert your custom field directly after the following line:

<field name="image_medium" widget="image" class="oe_avatar oe_left"/>

I've built a very basic module to achieve what you've described above here:

on a side note, I would recommend making all customisations like this (custom fields, etc.) by creating your own custom module. Editing through the developer mode is not easily transferable to other databases and is not recommended if you're trying to add customisations.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just
use the commenting tool. Please remember that you can always revise your answers
- no need to answer the same question twice. Also, please don't forget to vote
- it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines