[IMP] pms: add icon field in pms_sale_channel

This commit is contained in:
Sara Lago
2023-06-01 12:00:37 +02:00
committed by Darío Lodeiros
parent d17d2145d4
commit 657dc2e6bc
2 changed files with 2 additions and 0 deletions

View File

@@ -39,3 +39,4 @@ class PmsSaleChannel(models.Model):
column2="pms_property_id", column2="pms_property_id",
check_pms_properties=True, check_pms_properties=True,
) )
icon = fields.Image(string="Logo", max_width=1024, max_height=1024, store=True)

View File

@@ -7,6 +7,7 @@
<form string="Sale Channel"> <form string="Sale Channel">
<sheet> <sheet>
<group> <group>
<field name="icon" widget="image"/>
<field name="name" colspan="1" /> <field name="name" colspan="1" />
<field name="channel_type" /> <field name="channel_type" />
<field name="is_on_line" /> <field name="is_on_line" />