Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
3260 Tampilan

Hi guys, I'm using the flutter webview to display the odoo system inside the app. I want to use notifications so that if a message comes, I want to show it as a notification, even if the application is closed, i.e. like the basic Odoo application, how is this done? , and thanks for your suggestions.

Avatar
Buang
Jawaban Terbai

Like other applications on iOS and Android, you can use Firebase to send notifications to your app. The configuration for receiving notifications is described in detail in the Firebase documentation. After configuring the notification reception, you need to override the notification sending event in Odoo, following the instructions provided by Firebase. I hope this is helpful.

Avatar
Buang

The components in Odoo can indeed be inherited or replaced. You can refer to the inheritance documentation `https://www.odoo.com/documentation/16.0/developer/tutorials/getting_started/13_inheritance.html ` for detailed instructions. As an example of overriding a confirm button

<xpath expr="//button[@id='draft_confirm']" position="replace">
<button name="button_confirm" type="object" states="draft" string="confirm button" id="draft_confirm"
groups="purchase.group_purchase_manager" />

</xpath>

Penulis Jawaban Terbai

Thanks for your answer, but how can to override the notification sending event in Odoo?
can you gev me example please

Avatar
Buang

The components in Odoo can indeed be inherited or replaced. You can refer to the inheritance documentation `https://www.odoo.com/documentation/16.0/developer/tutorials/getting_started/13_inheritance.html ` for detailed instructions. As an example of overriding a confirm button

<xpath expr="//button[@id='draft_confirm']" position="replace">
<button name="button_confirm" type="object" states="draft" string="confirm button" id="draft_confirm"
groups="purchase.group_purchase_manager" />

</xpath>

Post Terkait Replies Tampilan Aktivitas
2
Feb 24
1383
7
Okt 24
12890
1
Mei 20
11879
2
Jan 25
4771
1
Mei 23
2632