İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

hide customer button in the post

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
posPoint Of Saleclientes
1 Cevapla
1864 Görünümler
Avatar
Gibran Quiroz

Good day everyone, could you help me with the code to hide the client selection button in the Odoo 18 post, I have been trying but I have not been able to achieve it, I have seen tutorials but unfortunately only for Odoo 16 and it does not serve as an example, I understand that I must create two files, a js and an xml, but I still do not get results, in the same way know how I can modify this in the Odoo views from the graphical interface, thanks for your support.

0
Avatar
Vazgeç
Gibran Quiroz
Üretici

Thanks a lot it works


Avatar
DataInteger Consultancy Services LLP
En İyi Yanıt
Step-by-Step Implementation:

1.Create a custom module

Directory structure:

pos_hide_customer_button/
├── __init__.py
├── __manifest__.py
├── static/
│ └── src/
│ └── js/
│ └── pos_hide_customer_button.js
├── views/
│ └── assets.xml
2. __manifest__.py
{
    'name': 'POS Hide Customer Button',
    'version': '1.0',
    'category': 'Point of Sale',
    'summary': 'Hide customer button in POS screen',
    'depends': ['point_of_sale'],
    'data': [
        'views/assets.xml',
    ],
    'assets': {
        'point_of_sale._assets_pos': [
            'pos_hide_customer_button/static/src/js/pos_hide_customer_button.js',
        ],
    },
    'installable': True,
    'auto_install': False,
    'license': 'LGPL-3',
}
3. views/assets.xml
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <template id="assets_pos" inherit_id="point_of_sale.assets">
        <xpath expr="." position="inside">
            <script type="module" src="/pos_hide_customer_button/static/src/js/pos_hide_customer_button.js"/>
        </xpath>
    </template>
</odoo>
4. static/src/js/pos_hide_customer_button.js
/** @odoo-module **/

import { PosComponent } from "@point_of_sale/app/components/pos_component";
import ProductScreen from "@point_of_sale/app/screens/product_screen/product_screen";
import { patch } from "@web/core/utils/patch";

patch(ProductScreen.prototype, {
    setup() {
        super.setup();
        // Hide the customer button by not rendering it at all
        this.showCustomerButton = false;
    },
});
5. Restart and Update


Or update from the Apps menu:

  • Activate Developer Mode.
  • Go to Apps > Update Apps List.
  • Search POS Hide Customer Button and install it.

Optional: Hide via Odoo Studio (GUI)

If you have Odoo Studio (Enterprise) :

  • Open POS > Settings > UI Configuration.
  • Use Studio to edit the POS screen.
  • Try hiding the customer button by editing screen widgets. (This is limited; not always available for POS.)


Thanks & Regards,

Email: contact@datainteger.com

1
Avatar
Vazgeç
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
Different opening when i have two or more POS
pos Point Of Sale
Avatar
Avatar
1
Mar 24
3289
How to open POS from another module? Çözüldü
pos Point Of Sale
Avatar
Avatar
1
Kas 18
5557
Point of Sale, block waiters from printng the ticket and opening the cashdrawer
pos Point Of Sale
Avatar
Avatar
2
Mar 15
5167
Odoo 18 - is there a way to get taxes per item in POS receipt printout?
pos receipt Point Of Sale
Avatar
Avatar
1
Kas 25
2223
Discount for first purchase at POS
pos discount Point Of Sale
Avatar
Avatar
1
Haz 25
1595
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now