Browse Source

Aug 25 [FIX] : Bug Fixed 'pos_theme_sapphire'

pull/277/head
AjmalCybro 2 years ago
parent
commit
1b45e99e49
  1. 2
      pos_theme_sapphire/__manifest__.py
  2. 6
      pos_theme_sapphire/doc/RELEASE_NOTES.md
  3. 6
      pos_theme_sapphire/static/src/css/custom.css
  4. 11
      pos_theme_sapphire/static/src/xml/ChromeWidgets/CashierName.xml

2
pos_theme_sapphire/__manifest__.py

@ -21,7 +21,7 @@
################################################################################ ################################################################################
{ {
'name': 'POS Theme Sapphire V16', 'name': 'POS Theme Sapphire V16',
'version': '16.0.1.0.0', 'version': '16.0.1.0.1',
'summary': 'The POS Theme Sapphire Is A Responsive And Ultimate Theme For Your Odoo V16.' 'summary': 'The POS Theme Sapphire Is A Responsive And Ultimate Theme For Your Odoo V16.'
'This Theme Will Give You A New Experience With Odoo.', 'This Theme Will Give You A New Experience With Odoo.',
'description': """Minimalist and elegant backend POS theme for Odoo 16""", 'description': """Minimalist and elegant backend POS theme for Odoo 16""",

6
pos_theme_sapphire/doc/RELEASE_NOTES.md

@ -5,3 +5,9 @@
#### ADD #### ADD
- Initial commit POS Theme Sapphire - Initial commit POS Theme Sapphire
#### 21.08.2023
#### Version 16.0.1.0.1
#### FIX
- Resolved Multi Employees per session not working inside POS.

6
pos_theme_sapphire/static/src/css/custom.css

@ -131,7 +131,7 @@
font-weight: bold; font-weight: bold;
color: #251F1F; color: #251F1F;
position: relative; position: relative;
top: 8px; top: 0px;
} }
.custom-header .mail{ .custom-header .mail{
font-size: 14px !important; font-size: 14px !important;
@ -297,6 +297,10 @@
cursor: default; cursor: default;
} }
.pos .oe_status .d-inline-block{
display: inline-block;
}
.pos .mode-button.selected-mode:hover { .pos .mode-button.selected-mode:hover {
background: linear-gradient(to right bottom, rgb(74 82 131), rgb(58, 46, 141)) !important; background: linear-gradient(to right bottom, rgb(74 82 131), rgb(58, 46, 141)) !important;
} }

11
pos_theme_sapphire/static/src/xml/ChromeWidgets/CashierName.xml

@ -2,10 +2,13 @@
<templates id="template" xml:space="preserve"> <templates id="template" xml:space="preserve">
<!-- Current cashier details --> <!-- Current cashier details -->
<t t-name="CashierName" t-inherit="point_of_sale.CashierName" t-inherit-mode="extension" owl="1"> <t t-name="CashierName" t-inherit="point_of_sale.CashierName" t-inherit-mode="extension" owl="1">
<xpath expr="//div[hasclass('oe_status')]" position="replace"> <xpath expr="//div[hasclass('oe_status')]//img[hasclass('avatar')]" position="attributes">
<img t-att-src="avatar" t-att-alt="username" class="img-fluid profile-image avatar" <attribute name="class" remove="avatar" add="img-fluid profile-image avatar" separator=" "/>
width="70"/> <attribute name="width">70</attribute>
<div style="margin-left: 20px"> </xpath>
<xpath expr="//div[hasclass('oe_status')]//span[hasclass('username')]" position="replace"/>
<xpath expr="//div[hasclass('oe_status')]//img[hasclass('avatar')]" position="after">
<div style="margin-left: 20px" class="d-inline-block">
<h5 class="name username"><t t-esc="username"/></h5> <h5 class="name username"><t t-esc="username"/></h5>
<p class="mail">clark@zmail.com</p> <p class="mail">clark@zmail.com</p>
</div> </div>

Loading…
Cancel
Save