Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NullNaveen/openclaw-odoo-skill
/ functions
Functions
196 in github.com/NullNaveen/openclaw-odoo-skill
⨍
Functions
196
◇
Types & classes
25
Function
format_customer_list
Format a list of customers for chat display. Args: customers: List of partner dicts. Returns: Markdown-formatted string.
odoo_skill/utils/formatting.py:74
Function
format_daily_summary
Format a daily business summary for chat display. Args: data: Dict with keys like ``new_orders_count``, ``overdue_invoices_count``, etc.
odoo_skill/utils/formatting.py:410
Function
format_invoice
Format an invoice for chat display. Args: invoice: Invoice (account.move) dict from Odoo. Returns: Markdown-formatted string
odoo_skill/utils/formatting.py:202
Function
format_invoice_list
Format a list of invoices for chat display. Args: invoices: List of invoice dicts. title: Section title. Returns: Ma
odoo_skill/utils/formatting.py:230
Function
format_lead
Format a CRM lead/opportunity for chat display. Args: lead: CRM lead dict from Odoo. Returns: Markdown-formatted string.
odoo_skill/utils/formatting.py:335
Function
format_order
Format a sales order for chat display. Args: order: Sale order dict from Odoo. Returns: Markdown-formatted string.
odoo_skill/utils/formatting.py:106
Function
format_order_lines
Format order line items for chat display. Args: lines_data: List of order line dicts. Returns: Markdown-formatted string.
odoo_skill/utils/formatting.py:137
Function
format_order_list
Format a list of sales orders for chat display. Args: orders: List of order dicts. Returns: Markdown-formatted string.
odoo_skill/utils/formatting.py:167
Function
format_pipeline
Format the CRM pipeline for chat display. Groups opportunities by stage. Args: opportunities: List of opportunity dicts. Return
odoo_skill/utils/formatting.py:366
Function
format_product_availability
Format product stock availability for chat display. Args: product: Product availability dict (from InventoryOps.check_product_availabilit
odoo_skill/utils/formatting.py:263
Function
format_stock_levels
Format a list of products with stock levels. Args: products: List of product dicts (from search or low-stock query). Returns:
odoo_skill/utils/formatting.py:299
Method
from_values
Create a client from explicit connection values.
odoo_skill/client.py:63
Method
get_cart_info
Get details of a specific website cart/order. Args: order_id: The sale order ID. Returns: Order dict with li
odoo_skill/models/ecommerce.py:69
Method
get_customer_summary
Get a customer's full summary including sales statistics. Args: partner_id: The partner record ID. Returns:
odoo_skill/models/partner.py:98
Method
get_departments
Get all departments. Args: limit: Max results. Returns: List of department records.
odoo_skill/models/hr.py:165
Method
get_employee
Get full details of an employee. Args: employee_id: The employee ID. Returns: Employee record dict, or empty
odoo_skill/models/hr.py:110
Method
get_events
Get calendar events. Args: limit: Max results. upcoming_only: If ``True``, only return future events. Return
odoo_skill/models/calendar_ops.py:105
Method
get_expenses
Get expenses with optional filters. Args: employee_id: Filter by employee. state: Filter by state (``draft``, ``repor
odoo_skill/models/hr.py:348
Method
get_leave_types
Get all available leave types. Returns: List of leave type records.
odoo_skill/models/hr.py:292
Method
get_leaves
Get leave requests with optional filters. Args: employee_id: Filter by employee. state: Filter by state (``draft``, `
odoo_skill/models/hr.py:249
Method
get_low_stock_products
Find storable products whose on-hand quantity is at or below a threshold. Note: ``qty_available`` is a computed (non-stored) fiel
odoo_skill/models/inventory.py:133
Method
get_order_lines
Get the line items for a specific order. Args: order_id: The sale order ID. Returns: List of order line dict
odoo_skill/models/sale_order.py:173
Method
get_overdue_invoices
Get all overdue customer invoices. Returns invoices that are posted, not fully paid, and past their due date. Args:
odoo_skill/models/invoice.py:144
Method
get_pipeline
Get the active opportunity pipeline. Args: user_id: Filter by salesperson. team_id: Filter by sales team.
odoo_skill/models/crm.py:114
Method
get_po_lines
Get the line items for a specific purchase order. Args: po_id: The purchase order ID. Returns: List of purch
odoo_skill/models/purchase.py:184
Method
get_project
Get full details of a project. Args: project_id: The project ID. Returns: Project record dict, or empty dict
odoo_skill/models/project.py:92
Method
get_project_stages
Get all task stages, optionally filtered by project. Args: project_id: If given, return stages associated with this project.
odoo_skill/models/project.py:255
Method
get_published_products
Get all products currently published on the website. Args: limit: Max results. Returns: List of published pr
odoo_skill/models/ecommerce.py:136
Method
get_service_types
Get all available fleet service types. Returns: List of service type records.
odoo_skill/models/fleet.py:248
Method
get_stages
Get all CRM pipeline stages. Returns: List of stage records, ordered by sequence.
odoo_skill/models/crm.py:188
Method
get_stock_levels
Get current stock quantities from ``stock.quant``. Args: product_id: Filter by product. warehouse_id: Filter by wareh
odoo_skill/models/inventory.py:107
Method
get_unpaid_invoices
Get customer invoices that are not fully paid. Args: partner_id: Optionally filter by customer. limit: Max results.
odoo_skill/models/invoice.py:117
Method
get_vehicle_brands
Get all vehicle brands. Returns: List of brand records.
odoo_skill/models/fleet.py:279
Method
get_vehicle_costs
Get service/cost records for a vehicle. In Odoo 19+, vehicle costs are tracked via service logs. Args: vehicle_id: The v
odoo_skill/models/fleet.py:183
Method
get_vehicle_models
Get available vehicle models, optionally filtered by brand. Args: brand_id: Filter by brand (``fleet.vehicle.model.brand``).
odoo_skill/models/fleet.py:260
Method
get_vehicles
Get all active vehicles. Args: limit: Max results. Returns: List of vehicle records.
odoo_skill/models/fleet.py:100
Method
get_website_orders
Get orders placed through the website. Args: state: Filter by state (``draft`` for carts, ``sale`` for confirmed
odoo_skill/models/ecommerce.py:44
Method
is_running
(self)
odoo_skill/sync/webhook.py:175
Method
is_running
(self)
odoo_skill/sync/poller.py:132
Method
is_valid
(self)
odoo_skill/config.py:78
Method
log_message
Redirect HTTP server log to our logger.
odoo_skill/sync/webhook.py:96
Method
log_odometer
Log an odometer reading for a vehicle. Args: vehicle_id: The vehicle ID. value: Odometer value (total mileage/km).
odoo_skill/models/fleet.py:150
Method
log_timesheet
Log a timesheet entry for a task. Args: project_id: The project ID. task_id: The task ID. hours: Number o
odoo_skill/models/project.py:276
Method
mark_done_mo
Mark a manufacturing order as done (produce the quantity). Sets the produced quantity and validates the order. Args: mo_
odoo_skill/models/manufacturing.py:211
Method
mark_lost
Mark an opportunity as Lost. Args: lead_id: The opportunity ID. lost_reason_id: Optional ``crm.lost.reason`` ID.
odoo_skill/models/crm.py:170
Method
mark_won
Mark an opportunity as Won. Args: lead_id: The opportunity ID. Returns: The updated lead record.
odoo_skill/models/crm.py:157
Method
models
``/xmlrpc/2/object`` endpoint (lazy, cached).
odoo_skill/client.py:97
Method
move_stage
Move a lead/opportunity to a different pipeline stage. Args: lead_id: The lead/opportunity ID. stage_id: Target ``crm
odoo_skill/models/crm.py:143
Method
on
Register a callback for a specific event type. Args: event_type: Event name to listen for (e.g. ``partner.created``).
odoo_skill/sync/webhook.py:135
Method
on_default
Register a fallback callback for unrecognised events. Args: callback: Function called with ``(event_type, payload)``.
odoo_skill/sync/webhook.py:144
Method
post_invoice
Post (validate) a draft invoice. Args: invoice_id: The invoice (``account.move``) ID. Returns: The updated i
odoo_skill/models/invoice.py:90
Method
publish_product
Publish a product on the website. Args: product_tmpl_id: The product template ID. Returns: The updated produ
odoo_skill/models/ecommerce.py:96
Method
receive_products
Validate (receive) all pending receipts for a purchase order. Finds all incoming stock pickings associated with the PO and validates
odoo_skill/models/purchase.py:201
Function
require
Assert that a value is not None/empty. Args: value: The value to check. field_name: Human-readable field name (for error messages
odoo_skill/utils/validators.py:16
Function
retry_on_connection_error
Decorator: retry a function on transient connection errors. Uses exponential backoff between retries. Non-retryable errors (access denied, va
odoo_skill/retry.py:37
Method
search
Search for record IDs matching *domain*. Args: model: Odoo model name. domain: Odoo domain filter (default: ``[]``).
odoo_skill/client.py:189
Method
search_boms
Search bills of materials. Args: product_tmpl_id: Filter by product template. limit: Max results. Returns:
odoo_skill/models/manufacturing.py:134
Method
search_count
Count records matching *domain*. Args: model: Odoo model name. domain: Odoo domain filter. Returns:
odoo_skill/client.py:313
Method
search_employees
Search employees by name or department. Args: query: Text to search in employee name. department_id: Filter by depart
odoo_skill/models/hr.py:121
Method
search_events_by_date
Search events within a date range. Args: date_from: Start date as ``YYYY-MM-DD`` or ``YYYY-MM-DD HH:MM:SS``. date_to:
odoo_skill/models/calendar_ops.py:130
Method
search_manufacturing_orders
Search manufacturing orders with optional filters. Args: product_id: Filter by product. state: Filter by state (``dra
odoo_skill/models/manufacturing.py:246
Method
search_orders
Search sales orders with optional filters. Args: partner_id: Filter by customer. state: Filter by state (``draft``, `
odoo_skill/models/sale_order.py:144
Method
search_pos
Search purchase orders with optional filters. Args: partner_id: Filter by vendor. state: Filter by state (``draft``,
odoo_skill/models/purchase.py:154
Method
search_products
Search products by name or internal reference (SKU). Args: query: Search text (matched against name and default_code).
odoo_skill/models/inventory.py:48
Method
search_projects
Search projects by name or customer. Args: query: Text to search in project name. partner_id: Filter by associated cu
odoo_skill/models/project.py:103
Method
search_tasks
Search tasks with optional filters. Args: project_id: Filter by project. query: Text to search in task name.
odoo_skill/models/project.py:219
Method
search_vehicles
Search vehicles by name, plate, or driver. Args: query: Text to search in vehicle name or license plate. driver_id: F
odoo_skill/models/fleet.py:116
Method
set_task_stage
Move a task to a different stage. Args: task_id: The task ID. stage_id: Target ``project.task.type`` ID. Ret
odoo_skill/models/project.py:205
Method
smart_create_employee
Create an employee, resolving department by name. Args: name: Employee's full name. job_title: Job title/position.
odoo_skill/smart_actions.py:547
Method
smart_create_event
Create a calendar event, resolving attendees by name. Args: name: Event title. start: Start datetime as ``YYYY-MM-DD
odoo_skill/smart_actions.py:619
Method
smart_create_invoice
Create an invoice from names (not IDs). Args: customer_name: Customer/company name. lines: List of dicts with ``name`
odoo_skill/smart_actions.py:303
Method
smart_create_lead
Create a CRM lead with optional partner linking. If ``contact_name`` is provided, attempts to find and link an existing partner.
odoo_skill/smart_actions.py:367
Method
smart_create_purchase
Create a purchase order from names (not IDs). Args: vendor_name: Vendor/supplier name. product_lines: List of dicts w
odoo_skill/smart_actions.py:418
Method
smart_create_quotation
Create a quotation from names (not IDs). Resolves customer and products by name, creating them if needed, then builds the sales quota
odoo_skill/smart_actions.py:214
Method
smart_create_task
Create a task in a project, resolving project by name. Args: project_name: Name of the project (found or created). ta
odoo_skill/smart_actions.py:488
Method
start
Start the webhook server in a background thread.
odoo_skill/sync/webhook.py:152
Method
start
Start the polling loop in a daemon thread.
odoo_skill/sync/poller.py:109
Method
stop
Shut down the webhook server.
odoo_skill/sync/webhook.py:168
Method
stop
Stop the polling loop and persist state.
odoo_skill/sync/poller.py:123
Method
submit_expense
Submit expenses for approval. In Odoo 19+, expenses are submitted directly (no expense sheets). Calls ``action_submit`` on the expens
odoo_skill/models/hr.py:377
Method
test_connection
Test the connection and return a status summary. Returns: Dict with ``status``, ``server_version``, ``uid``, ``database``, ``url`
odoo_skill/client.py:354
Method
uid
Authenticated user ID (lazy — authenticates on first access).
odoo_skill/client.py:107
Method
unpublish_product
Unpublish (hide) a product from the website. Args: product_tmpl_id: The product template ID. Returns: The up
odoo_skill/models/ecommerce.py:116
Method
unwatch
Stop watching a model. Args: model: The Odoo model name to stop polling.
odoo_skill/sync/poller.py:97
Method
update_customer
Update a customer's fields. Args: partner_id: The partner record ID. **values: Field values to update. Retur
odoo_skill/models/partner.py:114
Method
update_employee
Update an employee's fields. Args: employee_id: The employee ID. **values: Field values to update. Returns:
odoo_skill/models/hr.py:149
Method
update_event
Update a calendar event. Args: event_id: The event ID. **values: Field values to update (e.g. ``name``, ``start``,
odoo_skill/models/calendar_ops.py:167
Method
update_task
Update a task's fields. Args: task_id: The task ID. **values: Field values to update. Returns: T
odoo_skill/models/project.py:175
Function
validate_date
Validate a ``YYYY-MM-DD`` date string. Args: date_str: Date string to validate. field_name: Human-readable name for error message
odoo_skill/utils/validators.py:130
Function
validate_email
Basic email format validation. Args: email: Email address string. Returns: The trimmed email if valid. Raises:
odoo_skill/utils/validators.py:34
Function
validate_order_lines
Validate a list of order/invoice line dicts. Each line must have ``product_id`` (int) and optionally ``quantity`` (positive float) and ``pric
odoo_skill/utils/validators.py:175
Function
validate_phone
Basic phone number cleanup and validation. Accepts digits, spaces, dashes, parentheses, and a leading ``+``. Args: phone: Phone numb
odoo_skill/utils/validators.py:53
Function
validate_state
Validate that a state value is in the allowed set. Args: state: The state string. allowed: List of valid states. field_na
odoo_skill/utils/validators.py:150
Method
watch
Register a model to watch for changes. Args: model: Odoo model name (e.g. ``res.partner``). callback: Function called
odoo_skill/sync/poller.py:66
Method
watched_models
(self)
odoo_skill/sync/poller.py:136
Function
wrapper
(*args: Any, **kwargs: Any)
odoo_skill/retry.py:66
← previous
101–196 of 196, ranked by callers