Server Action Library
Server Action Library
STORY BEHIND THE FEATURES
ODOO BEHAVIOUR
In Odoo, you can create Server Action in order to create action for all module through execute code.
CLUEDOO BEHAVIOUR
Cluedoo extend this function by allowing using JSON in code.
MODULE +
This module help developers easier on using JSON in their code, lead to more convenience on developing module
CLUEDOO RECOMMENDATION
Install this template in 100% of your databases as a useful tool for user creation and management.
HOW TO USE MODULE
HOW TO USE MODULE
1. Go to Setting > Technical > Server Action > Create a new

2.
- Choose type: Execute code, Model: depend yourself
- Copy this code:
raw = '''
'''
message = json.loads(raw)
log(message["payment_transactions"][0]["transaction_id"], "info")
,filename)

3. Go to project Nutripure -> e-commerce integration -> External Order Data -> Choose a random "record" -> Raw data

4. Cope and paste to raw data in Server Action

5. Run server action. Go to Settings > Technical > Database Structure > Logging. If success, you can see a line as beside
