[MIG] temporary_change_image_size to 18.0

This commit is contained in:
Marc Durepos 2025-09-10 13:47:48 -04:00
parent 2d748d7b4e
commit 6accef74e2
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{
"name": "Temporary Change for Image Full Size",
"version": "18.0.0.0.0",
"category": "Extra Tools",
"summary": "Temporary Change for Image Full Size",
"description": """
This module is developed by Bemade to change the image size to full size temporarily
""",
"depends": ["product"],
"data": ["views/product_template_views.xml"],
"license": "AGPL-3",
"author": "Bemade",
"website": "https://bemade.org/",
"installable": True,
"auto_install": False,
}

View file

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<odoo>
<record id="product_template_view_form_image" model="ir.ui.view">
<field name="name">temporary_change_image_size.product_template_view_form_image</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_form_view"/>
<field name="arch" type="xml">
<field name="image_1920" position="replace">
<field name="image_1920" widget="image" class="oe_avatar" options="{'preview_image': 'image_1920'}"/>
</field>
</field>
</record>
</odoo>