[IMP] pms: add image to data for original sale channels

This commit is contained in:
miguelpadin
2023-09-06 13:57:05 +02:00
committed by Darío Lodeiros
parent c11de4b5aa
commit 70da420f74
4 changed files with 27 additions and 0 deletions

8
pms/data/icon-door.svg Normal file
View File

@@ -0,0 +1,8 @@
<svg width="31" height="31" viewBox="0 0 31 31" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="mask0_2723_1520" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="31" height="31">
<rect x="0.689453" y="0.695801" width="30" height="30" fill="#D9D9D9"/>
</mask>
<g mask="url(#mask0_2723_1520)">
<path d="M11.9395 16.9458C11.5853 16.9458 11.2884 16.826 11.0488 16.5864C10.8092 16.3468 10.6895 16.05 10.6895 15.6958C10.6895 15.3416 10.8092 15.0448 11.0488 14.8052C11.2884 14.5656 11.5853 14.4458 11.9395 14.4458C12.2936 14.4458 12.5905 14.5656 12.8301 14.8052C13.0697 15.0448 13.1895 15.3416 13.1895 15.6958C13.1895 16.05 13.0697 16.3468 12.8301 16.5864C12.5905 16.826 12.2936 16.9458 11.9395 16.9458ZM19.4395 16.9458C19.0853 16.9458 18.7884 16.826 18.5488 16.5864C18.3092 16.3468 18.1895 16.05 18.1895 15.6958C18.1895 15.3416 18.3092 15.0448 18.5488 14.8052C18.7884 14.5656 19.0853 14.4458 19.4395 14.4458C19.7936 14.4458 20.0905 14.5656 20.3301 14.8052C20.5697 15.0448 20.6895 15.3416 20.6895 15.6958C20.6895 16.05 20.5697 16.3468 20.3301 16.5864C20.0905 16.826 19.7936 16.9458 19.4395 16.9458ZM4.43945 26.9458V24.4458H5.68945V6.9458C5.68945 6.2583 5.93424 5.66976 6.42383 5.18018C6.91341 4.69059 7.50195 4.4458 8.18945 4.4458H23.1895C23.877 4.4458 24.4655 4.69059 24.9551 5.18018C25.4447 5.66976 25.6895 6.2583 25.6895 6.9458V24.4458H26.9395V26.9458H4.43945ZM8.18945 24.4458H14.4395V6.9458H8.18945V24.4458ZM16.9395 24.4458H23.1895V6.9458H16.9395V24.4458Z" fill="#00B5E2"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

8
pms/data/icon-mail.svg Normal file
View File

@@ -0,0 +1,8 @@
<svg width="31" height="31" viewBox="0 0 31 31" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="mask0_2723_1508" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="31" height="31">
<rect x="0.852539" y="0.695801" width="30" height="30" fill="#D9D9D9"/>
</mask>
<g mask="url(#mask0_2723_1508)">
<path d="M5.85254 25.6958C5.16504 25.6958 4.5765 25.451 4.08691 24.9614C3.59733 24.4718 3.35254 23.8833 3.35254 23.1958V8.1958C3.35254 7.5083 3.59733 6.91976 4.08691 6.43018C4.5765 5.94059 5.16504 5.6958 5.85254 5.6958H25.8525C26.54 5.6958 27.1286 5.94059 27.6182 6.43018C28.1078 6.91976 28.3525 7.5083 28.3525 8.1958V23.1958C28.3525 23.8833 28.1078 24.4718 27.6182 24.9614C27.1286 25.451 26.54 25.6958 25.8525 25.6958H5.85254ZM15.8525 16.9458L5.85254 10.6958V23.1958H25.8525V10.6958L15.8525 16.9458ZM15.8525 14.4458L25.8525 8.1958H5.85254L15.8525 14.4458ZM5.85254 10.6958V8.1958V23.1958V10.6958Z" fill="#00B5E2"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 950 B

8
pms/data/icon-phone.svg Normal file
View File

@@ -0,0 +1,8 @@
<svg width="31" height="30" viewBox="0 0 31 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="mask0_2723_1478" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="31" height="30">
<rect x="0.970703" width="30" height="30" fill="#D9D9D9"/>
</mask>
<g mask="url(#mask0_2723_1478)">
<path d="M16.9707 13.75V6.25H19.4707V9.5L25.7207 3.25L27.4707 5L21.2207 11.25H24.4707V13.75H16.9707ZM25.9082 26.25C23.2207 26.25 20.6009 25.651 18.0488 24.4531C15.4967 23.2552 13.2363 21.6719 11.2676 19.7031C9.29883 17.7344 7.7155 15.474 6.51758 12.9219C5.31966 10.3698 4.7207 7.75 4.7207 5.0625C4.7207 4.6875 4.8457 4.375 5.0957 4.125C5.3457 3.875 5.6582 3.75 6.0332 3.75H11.0957C11.3874 3.75 11.6478 3.84375 11.877 4.03125C12.1061 4.21875 12.2415 4.45833 12.2832 4.75L13.0957 9.125C13.1374 9.41667 13.1322 9.68229 13.0801 9.92188C13.028 10.1615 12.9082 10.375 12.7207 10.5625L9.7207 13.625C10.5957 15.125 11.6895 16.5312 13.002 17.8438C14.3145 19.1563 15.7624 20.2917 17.3457 21.25L20.2832 18.3125C20.4707 18.125 20.7155 17.9844 21.0176 17.8906C21.3197 17.7969 21.6165 17.7708 21.9082 17.8125L26.2207 18.6875C26.5124 18.75 26.752 18.8906 26.9395 19.1094C27.127 19.3281 27.2207 19.5833 27.2207 19.875V24.9375C27.2207 25.3125 27.0957 25.625 26.8457 25.875C26.5957 26.125 26.2832 26.25 25.9082 26.25Z" fill="#00B5E2"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -49,14 +49,17 @@
<record id="main_pms_sale_channel_door" model="pms.sale.channel">
<field name="name">Door</field>
<field name="channel_type">direct</field>
<field name="icon" type="base64" file="pms/data/icon-door.svg"/>
</record>
<record id="main_pms_sale_channel_phone" model="pms.sale.channel">
<field name="name">Phone</field>
<field name="channel_type">direct</field>
<field name="icon" type="base64" file="pms/data/icon-phone.svg"/>
</record>
<record id="main_pms_sale_channel_mail" model="pms.sale.channel">
<field name="name">Mail</field>
<field name="channel_type">direct</field>
<field name="icon" type="base64" file="pms/data/icon-mail.svg"/>
</record>
<record id="main_pms_sale_channel_agency" model="pms.sale.channel">
<field name="name">Agency</field>