一键导入
odoo-payments
Odoo Payment Provider operations — manage payment providers, transactions, and payment methods.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Odoo Payment Provider operations — manage payment providers, transactions, and payment methods.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Odoo ERP integration for all 37 business modules. Entry point for Odoo operations — CRM, Sales, Inventory, Manufacturing, Purchase, Accounting, HR, Expenses, Contacts, Calendar, Discuss, Project, Timesheets, Time Off, Attendances, Recruitment, Fleet, Email Marketing, Events, Website, Link Tracker, Dashboards, POS, Delivery, Loyalty, Payments, SMS, Live Chat, Maintenance, Survey, Forum, eLearning, Planning, Restaurant, Certificate, and Data Recycle.
Cross-skill workflow: Odoo ERP health audit, infographic summary, PPTX report, and email delivery via Gmail.
Odoo Accounting operations — manage invoices, bills, journal entries, payments, and financial reports.
Odoo Attendances operations — manage employee check-ins, check-outs, and attendance records.
Odoo Calendar operations — manage events, meetings, and attendee tracking.
Odoo Certificate operations — manage certificates, templates, and certificate issuance.
| name | odoo-payments |
| description | Odoo Payment Provider operations — manage payment providers, transactions, and payment methods. |
| version | 1.0.0 |
| author | Hermes |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["odoo","payments","payment-providers","transactions","razorpay","stripe","paypal"],"parent_skill":"odoo"}} |
Manage payment providers, transactions, and payment methods. Integrated into the Invoicing and Sales apps — no standalone menu. Access payment providers from Invoicing > Configuration > Payment Providers.
Prerequisite: odoo skill must be set up. ODOO = python scripts/odoo_api.py.
ODOO model payment.provider search --limit 20 --fields name,code,state,is_published,company_id
ODOO model payment.provider search --domain '[["state","=","enabled"]]' --fields name,code,is_published
ODOO model payment.provider read 1 --fields name,code,state,is_published,module_id,company_id,redirect_form_view_id
ODOO model payment.transaction search --limit 20 --fields reference,provider_id,partner_id,amount,currency_id,state,operation
ODOO model payment.transaction search --domain '[["state","!=","draft"]]' --fields reference,provider_id,amount,state
ODOO model payment.transaction read 1 --fields reference,provider_id,partner_id,amount,currency_id,state,operation,last_state_change,payment_method_id
ODOO model payment.method search --fields name,code,primary_payment_method_id
ODOO model payment.method line search --domain '[["provider_id","=",1]]' --fields name,payment_method_id,provider_id
ODOO model account.payment search --limit 20 --fields name,partner_id,payment_type,amount,state,date
| Model | Use |
|---|---|
payment.provider | Payment providers (Stripe, Razorpay, PayPal, etc.) |
payment.transaction | Individual payment transactions |
payment.method | Payment method types (card, bank, digital wallet) |
account.payment | Accounting payment records |
| State | Meaning |
|---|---|
disabled | Provider is not available |
enabled | Provider is active and accepting payments |
test | Provider is in test/sandbox mode |
state = enabled before processing payments through a provider.state = draft or state = pending.payment_razorpay is installed and available for INR payments.# Authenticate
UID=$(curl -s -X POST $ODOO_URL/jsonrpc -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"call","params":{"service":"common","method":"authenticate","args":[$ODOO_DB,"$ODOO_USER","$ODOO_PASS",{}]},"id":1}' | python3 -c "import sys,json;print(json.load(sys.stdin)['result'])")
# List payment transactions
curl -s -X POST $ODOO_URL/jsonrpc -H "Content-Type: application/json" -d "{\"jsonrpc\":\"2.0\",\"method\":\"call\",\"params\":{\"service\":\"object\",\"method\":\"execute_kw\",\"args\":[\"$ODOO_DB\",$UID,\"$ODOO_PASS\",\"payment.transaction\",\"search_read\",[[]],{\"limit\":10,\"fields\":[\"reference\",\"amount\",\"state\",\"provider_id\"]}]},\"id\":2}"