コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3269 ビュー

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.

アバター
破棄
最善の回答

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.

アバター
破棄

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>

著作者 最善の回答

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

アバター
破棄

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>

関連投稿 返信 ビュー 活動
2
2月 24
1385
7
10月 24
12893
1
5月 20
11881
2
1月 25
4775
1
5月 23
2638