コンテンツへスキップ
Odoo メニュー
  • サインイン
  • 無料で15日試す
  • アプリ
    財務
    • 会計
    • 請求
    • 経費
    • スプレッドシート(BI)
    • ドキュメント管理
    • 署名
    販売
    • CRM
    • 販売
    • POS店舗
    • POSレストラン
    • サブスクリプション
    • レンタル
    ウェブサイト
    • ウェブサイトビルダー
    • eコマース
    • ブログ
    • フォーラム
    • ライブチャット
    • eラーニング
    サプライチェーン
    • 在庫
    • 製造
    • 製品ライフサイクル管理 (PLM)
    • 購買
    • 整備
    • 品質
    人事業務
    • 従業員管理
    • 採用
    • 休暇管理
    • 人事評価
    • リファラル
    • フリート
    マーケティング
    • ソーシャルマーケティング
    • メールマーケティング
    • SMSマーケティング
    • イベント
    • マーケティングオートメーション
    • アンケート調査
    サービス
    • プロジェクト管理
    • タイムシート
    • フィールドサービス
    • ヘルプデスク
    • 計画
    • アポイントメント
    生産性向上ツール
    • ディスカッション
    • 承認
    • IoT
    • VoIP
    • ナレッジ
    • WhatsApp
    サードパーティアプリ Odooスタジオ Odooクラウドプラットホーム
  • インダストリー(業種別ソリューション)
    小売
    • 書店
    • アパレルショップ
    • 家具専門店
    • 食料品店
    • 金物店
    • 玩具店
    飲食・ホスピタリティ業界
    • バー・パブ
    • レストラン
    • ファストフード
    • ゲストハウス
    • 飲料販売代理店
    • ホテル
    不動産
    • 不動産会社
    • 建築事務所
    • 建設
    • 不動産管理
    • 造園
    • 住宅所有者組合
    コンサルティング
    • 会計事務所
    • Odooパートナー
    • マーケティングエージェンシー
    • 法律事務所
    • 人材派遣
    • 監査・認証
    製造
    • テキスタイル
    • 金属
    • 家具
    • 飲食
    • 醸造所
    • コーポレートギフト
    ヘルス & フィットネス
    • スポーツクラブ
    • 眼鏡店
    • フィットネスセンター
    • ウェルネス専門家
    • 薬局
    • ヘアサロン
    業種
    • 便利屋
    • IT ハードウェア・サポート
    • 太陽エネルギーシステム
    • 靴メーカー
    • クリーニングサービス
    • 空調設備サービス
    その他
    • 非営利団体
    • 環境機関
    • ビルボードレンタル
    • 写真
    • 自転車リース
    • ソフトウェアリセラー
    すべての業種を見る
  • コミュニティ
    学ぶ
    • チュートリアル
    • ドキュメンテーション
    • 認定
    • トレーニング
    • ブログ
    • ポッドキャスト
    教育サポート
    • 教育プログラム
    • Scale Up! ビジネスゲーム
    • Odooオフィス訪問
    ソフトを入手
    • ダウンロード
    • エディションを比較
    • リリース
    コラボレーション
    • 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:

  • CRM
  • e-Commerce
  • 会計
  • 在庫
  • PoS
  • プロジェクト
  • MRP
All apps
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
ヘルプ

How to call a server action depending of the state of the record ?

購読

この投稿に活動があった際に通知を受け取ります

この質問にフラグが付けられました
localhoststudio
1 返信
5513 ビュー
アバター
Mandresy Randriatavy

Hi,

I started using Docker to create a local instance of Odoo but I can't download the Studio App.. I realised that the Automated Action option create a Server Action to call but I don't understand how it's detect the state of the record to call the action dependending of if it's a new record, an update, a deletion etc..

I don't want to go into the code because with the Dev Mode + Studio + Attachements + Assets I can do all the things without the need of coding (my head is also in 3 differents languages at the same time so it's burning the head to switch everytime, so let's not talk about adding Python) so it's allow me to go fast and work in multple project..

Does someone have an answer to the way it's detect the state ?


Yours faithfully,

RANDRIATAVY Mandresy

0
アバター
破棄
Peter Park

Yes, it is possible to call a server action depending on the state of the record. Odoo allows you to use triggers to detect when a record is created, modified, or deleted. You can then use the appropriate server action to respond accordingly.

To set up a trigger for a record, you need to go to the Settings page and select Automated Actions. From there, you can set up a trigger for a particular record. You can choose which action to take when the record is created, modified, or deleted. You can also specify what type of action to take (e.g. create a task, send an email, etc.).

Once you have configured the trigger, you can then create a server action and specify the conditions that must be met for it to be executed. In the Conditions tab, you can select the record state (created, modified, or deleted). When the record meets the conditions, the server action will be triggered and the action will take place.

I hope this has been helpful in understanding how to call a server action depending on the state of the record. you want to call depending of the record state.

Click “Save” and you are done.

Now, whenever the state of the record is changed, the server action will be called automatically.

Mandresy Randriatavy
著作者

Thanks you Peter spark, but the thing is without Studio the option Automated Action are unavailable..

Mandresy Randriatavy
著作者

Peter Park*

Bhavin Patel

To call a server action in Odoo depending on the state of the record, you can use Automated Actions. Automated Actions are a way to automate certain actions in Odoo based on specific events or conditions.

To set up an Automated Action that calls a server action depending on the state of the record, follow these steps:

Go to the model that you want to create the Automated Action for (e.g. Sales Order, Purchase Order, etc.).
Open the "Automation" tab in the model's configuration.
Click on "Create" to create a new Automated Action.
Give the Automated Action a name and select the event that should trigger the action (e.g. "On Creation", "On Update", etc.).
In the "Conditions" section, define the conditions that must be met in order for the Automated Action to be triggered. For example, you can specify that the server action should only be called if a certain field has a specific value, or if a related record meets certain criteria.
In the "Actions" section, select "Create a Server Action" and choose the server action that you want to execute when the Automated Action is triggered. You can specify additional parameters to pass to the server action, such as the record ID or values of specific fields.
Save the Automated Action.

When the specified event occurs and the conditions are met, the Automated Action will trigger and execute the server action. The server action can then perform various actions based on the state of the record, such as sending an email, updating a record, or creating a new record.

アバター
Bhavin Patel
最善の回答

When creating an Automated Action in Odoo, you can configure it to trigger on specific events, such as when a new record is created, an existing record is updated, or a record is deleted.

To do this, you can set the "Trigger Condition" field in the Automated Action configuration to one of the following values:

On Creation
On Update
On Deletion
On Change

When you select one of these options, the Automated Action will be triggered based on the corresponding event. For example, if you select "On Creation", the Automated Action will be triggered whenever a new record is created.

Under the "Action to Do" field, you can then select the "Server Action" option, which allows you to create a new server action that will be executed when the Automated Action is triggered. The server action can perform various actions based on the event that triggered the Automated Action, such as sending an email, updating a record, or creating a new record.

Regarding the Studio App, it is possible that it is not available in your Docker instance of Odoo because it may require additional dependencies or configurations that are not included in the Docker image. If you require the Studio App, you may want to consider setting up a local instance of Odoo outside of Docker, or contacting the Odoo support team for assistance with installing the Studio App in your Docker instance.

1
アバター
破棄
ディスカッションを楽しんでいますか?読むだけでなく、参加しましょう!

今すぐアカウントを作成して、限定機能を利用したり、素晴らしいコミュニティと交流しましょう!

登録
関連投稿 返信 ビュー 活動
debit and credit in currency
studio
アバター
アバター
1
11月 25
2046
Menu's with different default filter 解決済
studio
アバター
アバター
1
7月 25
2152
Digest mails - any good resources for Studio 解決済
studio
アバター
アバター
2
3月 25
2276
Payment terms format change
studio
アバター
0
2月 25
1875
V18 of odoo, How to add a computed field in a stock report? Example: Total weight of my available product.
studio
アバター
0
2月 25
2350
コミュニティ
  • チュートリアル
  • ドキュメンテーション
  • フォーラム
オープンソース
  • ダウンロード
  • Github
  • Runbot
  • 翻訳
サービス
  • Odoo.shホスティング
  • サポート
  • アップグレード
  • カスタム開発
  • 教育プログラム
  • 会計事務所一覧
  • パートナー一覧
  • パートナーになる
企業情報
  • 会社概要
  • ブランドアセット
  • お問い合わせ
  • 採用情報
  • イベント
  • ポッドキャスト
  • ブログ
  • お客様一覧
  • リーガル情報 • プライバシーポリシー
  • セキュリティ
الْعَرَبيّة 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(オドゥー)は、CRM、eコマース、会計、在庫管理、POS、プロジェクト管理など、企業のさまざまな業務を一つのシステムで管理できる、ベルギー発のオープンソースのERPソフトウェアです。

高機能で使いやすく、完全に統合されたERPとして、ユニークな価値を提供しています。

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