diff --git a/open_workshop_pos/__manifest__.py b/open_workshop_pos/__manifest__.py index 5c1b696..e2b5542 100644 --- a/open_workshop_pos/__manifest__.py +++ b/open_workshop_pos/__manifest__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- { 'name': 'Open Workshop POS', - 'version': '18.0.1.0.2', + 'version': '18.0.1.0.3', 'category': 'Point of Sale', 'summary': 'POS Integration für Open Workshop - Machine Access & Customer UI', 'description': """ diff --git a/open_workshop_pos/static/src/css/pos.css b/open_workshop_pos/static/src/css/pos.css index fbecbdc..2c42798 100644 --- a/open_workshop_pos/static/src/css/pos.css +++ b/open_workshop_pos/static/src/css/pos.css @@ -7,7 +7,7 @@ .ows-sidebar { flex: 1 1 auto; - width: 220px; + width: 300px; display: flex; flex-direction: column; overflow: hidden; @@ -50,7 +50,7 @@ } .sidebar-name { - flex-shrink: 1; + flex: 1; text-align: right; overflow: hidden; text-overflow: ellipsis; @@ -58,10 +58,11 @@ .partner-note-icon { flex-shrink: 0; + width: 1.4em; + text-align: center; cursor: pointer; font-size: 0.85em; opacity: 0.7; - margin-left: 0.25em; } .partner-note-icon:hover { opacity: 1; diff --git a/open_workshop_pos/static/src/js/ows_pos_customer_sidebar.js b/open_workshop_pos/static/src/js/ows_pos_customer_sidebar.js index 27afd20..b06758b 100644 --- a/open_workshop_pos/static/src/js/ows_pos_customer_sidebar.js +++ b/open_workshop_pos/static/src/js/ows_pos_customer_sidebar.js @@ -1,6 +1,6 @@ // @odoo-module ows_pos_customer_sidebar.js -import { Component } from "@odoo/owl"; +import { Component, markup } from "@odoo/owl"; import { useService } from "@web/core/utils/hooks"; import { usePos } from "@point_of_sale/app/store/pos_hook"; import { _t } from "@web/core/l10n/translation"; @@ -71,7 +71,7 @@ export class OwsPosCustomerSidebar extends Component { if (!comment) return; this.dialog.add(AlertDialog, { title: _t("Interne Notizen"), - body: comment, + body: markup(comment), }); } } diff --git a/open_workshop_pos/static/src/xml/ows_pos_customer_sidebar.xml b/open_workshop_pos/static/src/xml/ows_pos_customer_sidebar.xml index f9d2f04..1f6cc12 100644 --- a/open_workshop_pos/static/src/xml/ows_pos_customer_sidebar.xml +++ b/open_workshop_pos/static/src/xml/ows_pos_customer_sidebar.xml @@ -18,8 +18,8 @@