تخطي للذهاب إلى المحتوى
أودو القائمة
  • تسجيل الدخول
  • جرب مجاناً
  • التطبيقات
    المالية
    • المحاسبة
    • فوترة
    • النفقات
    • جدول البيانات (BI)
    • المستندات
    • توقيع إلكتروني
    المبيعات
    • إدارة علاقات العملاء
    • المبيعات
    • نقطة البيع للمتاجر
    • نقطة البيع للمطاعم
    • الاشتراكات
    • تأجير
    المواقع الإلكترونية
    • أداة بناء المواقع الإلكترونية
    • متاجر إلكترونية
    • مدونة
    • المنتدى
    • دردشة مباشرة
    • التعليم الإلكتروني
    سلسلة التوريد
    • المستودعات
    • التصنيع
    • إدارة دورة حياة المنتج
    • المشتريات
    • الصيانة
    • الجودة
    الموارد البشرية
    • موظفون
    • التوظيف
    • إجازة عمل
    • التقييمات
    • الإحالات
    • تطبيق الأسطول
    التسويق
    • التسويق الإجتماعي
    • التسويق عبر البريد الإلكتروني
    • التسويق عبر الرسائل النصية
    • فعاليات
    • أتمتة التسويق
    • الاستطلاعات
    الخدمات
    • المشاريع
    • الجداول الزمنية
    • الخدمة الميدانية
    • مكتب المساعدة
    • التخطيط
    • مواعيد
    اﻹنتاجية
    • مناقشة
    • الموافقات
    • إنترنت الأشياء "IoT"
    • بروتوكول ربط المحادثات الصوتية عبر الإنترنت
    • المعرفة
    • WhatsApp
    التطبيقات الخارجية ستوديو أودو منصة أودو السحابية
  • قطاعات الأعمال
    البيع بالتجزئة
    • متجر كتب
    • متجر ملابس
    • متجر أثاث
    • متجر بقالة
    • متجر معدات
    • متجر ألعاب
    الطعام والضيافة
    • بار وحانة
    • المطعم
    • مطعم للوجبات السريعة
    • نزل للضيوف
    • موزّع مشروبات
    • فندق
    العقارات
    • وكالة عقارات
    • شركة هندسة معمارية
    • البناء
    • إدارة العقارات
    • العناية بالحدائق
    • اتحاد مُلاّك العقارات
    استشارة
    • مؤسسة محاسبية
    • شريك أودو
    • وكالة تسويقية
    • منشأة قانونية
    • استقطاب المواهب
    • التدقيق والتوثيق
    التصنيع
    • الأقمشة
    • معدني
    • الأثاث
    • الطعام
    • مصنع خمور
    • هدايا الشركات
    الصحة واللياقة البدنية
    • نادي رياضي
    • متجر نظارات
    • مركز لياقة بدنية
    • الممارسون الصحيون
    • صيدلية
    • صالون تصفيف الشعر
    التجارة
    • عامل صيانة
    • الأجهزة والمعدات التقنية ودعمها
    • أنظمة الطاقة الشمسية
    • صانع أحذية
    • خدمات التنظيف
    • خدمات التكييف (HVAC)
    غير ذلك
    • منظمة غير ربحية
    • وكالة بيئية
    • تأجير لوحات إعلانية
    • تصوير
    • تأجير دراجات
    • بائع وسيط للبرمجيات
    تصفح كافة قطاعات الأعمال
  • مجتمع أودو
    تعلم
    • دروس
    • التوثيق
    • شهادات
    • التدريب
    • مدونة
    • بودكاست
    قم بتعزيز التعليم
    • برنامج تعليم
    • Scale UP! لعبة الأعمال
    • قم بزيارة أودو
    احصل على البرنامج
    • تحميل
    • قارنْ الإصدارات
    • إطلاق
    تعاون
    • جيت هاب "Github"
    • المنتدى
    • فعاليات
    • الترجمات
    • كنْ شريكاً
    • خدمات الشركاء
    • سجل مكتب المحاسبة الخاص بك
    احصل على الخدمات
    • اعثر على شريك
    • اعثر على محاسب
    • قابل أحد مرشدي الأعمال
    • خدمات التنفيذ
    • مراجع العملاء
    • الدعم
    • الترقيات
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    الحصول على عرض توضيحي
  • الأسعار
  • المساعدة

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

  • إدارة علاقات العملاء
  • e-Commerce
  • المحاسبة
  • المخزون
  • PoS
  • المشروع
  • MRP
All apps
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
المساعدة

How to change the POS Button Invoice print to an other report?

اشتراك

تسلم الإشعارات عندما يكون هناك نشاط في هذا المنشور

لقد تم الإبلاغ عن هذا السؤال
posqwebbuttonspoint_of_saleodoo9
3 الردود
11113 أدوات العرض
الصورة الرمزية
wizardz

I want to change the report behind this button:



Behind that button is the "point_of_sale.report_invoice".

Now I want to change that, that another report is printed out.

What is the best way to do that?


How can I add this to the invoice in pos ?


Thank you

0
الصورة الرمزية
إهمال
الصورة الرمزية
Jainesh Shah(Aktiv Software)
أفضل إجابة

To replace default invoice report in POS, you need to extend "push_and_invoice_order" function of models.js file in point_of_sale and replace following code:

self.chrome.do_action('pos_custom_module.custom_report_id',{additional_context:{active_ids:order_server_id,}});


2
الصورة الرمزية
إهمال
wizardz
الكاتب

hello, thank you for your fast answer, when I change it to this with the name of my own report, the old invoice report is still printed out:

self.chrome.do_action('own_report',{additional_context:{active_ids:order_server_id,}});

Jainesh Shah(Aktiv Software)

Will you please check with new POS Session?

wizardz
الكاتب

same problem...

الصورة الرمزية
Niyas Raphy (Walnut Software Solutions)
أفضل إجابة

Hi Wizards,

To change the default report into another one, you can make change in the original code or you can do it by a custom module,

if you are looking to change it by custom module then you can do it as follows, you can mention the new report name at

<field name="report_name">module_name.report_id</field>
<record id="point_of_sale.pos_invoice_report" model="ir.actions.report.xml">
<field name="name">Invoice</field>
<field name="model">pos.order</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">module_name.report_id</field>
</record>

if you are going to do it in original code, then point of sale -> views -> point_of_sale_report.xml then you can change the record in the id "pos_invoice_report" like this.

<record id="pos_invoice_report" model="ir.actions.report.xml">
<field name="name">Invoice</field>
<field name="model">pos.order</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">module_name.report_id</field>
</record>
1
الصورة الرمزية
إهمال
wizardz
الكاتب

hi, thank you for the fast answer.

when I try to change that to my own report, I get an error.

Is this because my report comes not from the point_of_sale module?:

In Odoo9 :

<report

id="pos_invoice_report"

string="Invoice"

model="pos.order"

report_type="qweb-pdf"

name="own_report"

file="own_report"

/>

Niyas Raphy (Walnut Software Solutions)

hi, what error you got ? you have to mention the report name as module_name.report_id

wizardz
الكاتب

and what if the report doesn't come from a module, I made that directly in odoo xml reports?

Niyas Raphy (Walnut Software Solutions)

So you created the report from the user interface, to get the external id of that report you can activate the developer mode then , go to settings-> technical->reports -> reports , then select the report, then from the lady debug button (button in top menu bar near logged in user) select view meta data, on clicking it you will get the id of the report from XML ID, give this id

wizardz
الكاتب

yes but my problem is, that I don't have any xml ID

Niyas Raphy (Walnut Software Solutions)

Did you checked the way i have mentioned above to get XML ID?

wizardz
الكاتب

the problem is that this report doesn't have any xml id , because it's made with aeroo reports

Gersjan Nano

@Niyas I changed the report_name as you mentioned above but when I try to print the report from POS, a message is shown, saying that I should print the invoice from the backend. Any idea what may be causing this?

Gersjan Nano

@Niyas I forgot to mention, I am using odoo 12

الصورة الرمزية
Itachi
أفضل إجابة

hello sir how can i keep highlighted the invoice button in pos payment screen 

0
الصورة الرمزية
إهمال
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!

أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!

تسجيل
المنشورات ذات الصلة الردود أدوات العرض النشاط
Rupee symbol problem
chrome pos point_of_sale odoo9
الصورة الرمزية
0
أكتوبر 20
3509
print pos receipt
pos qweb reporting point_of_sale
الصورة الرمزية
0
يوليو 15
3767
how to print POS order name as Barcode in receipt ?
pos ticket qweb barcode point_of_sale
الصورة الرمزية
الصورة الرمزية
1
سبتمبر 21
4704
css load bundle error 'point_of_sale.assets'
pos css point_of_sale odoo9 odoo9.0
الصورة الرمزية
الصورة الرمزية
1
سبتمبر 24
7535
Extend POS receipt. Append barcode with order id
pos qweb receipt posticket point_of_sale
الصورة الرمزية
الصورة الرمزية
1
سبتمبر 17
6849
المجتمع
  • دروس
  • التوثيق
  • المنتدى
مصدر مفتوح
  • تحميل
  • جيت هاب "Github"
  • المشغل الآلي رنبوت
  • الترجمات
خدماتنا
  • استضافة أودو إس إتش
  • الدعم
  • الترقية
  • التطويرات المخصصة
  • التعليم
  • اعثر على محاسب
  • اعثر على شريك
  • كنْ شريكاً
معلومات عنا
  • شركتنا
  • أصول العلامة التجارية
  • اتصلْ بنا
  • الوظائف
  • فعاليات
  • بودكاست
  • مدونة
  • عملاء
  • قانوني • الخصوصية
  • الحماية
الْعَرَبيّة 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

أودو هو عبارة عن مجموعة من تطبيقات الأعمال مفتوحة المصدر التي تغطي جميع احتياجات شركتك، مثل: إدارة علاقات العملاء والتجارة الإلكترونية والمحاسبة والمخزون ونقاط البيع وإدارة المشاريع وما إلى ذلك.

ما يجعل من أودو مميزاً هو هدفه بأن يكون سهل الاستخدام للغاية ومتكاملاً تمامًا في الوقت ذاته.

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