Skip to main content
These tools work on the workspace’s own Odoo connection (see Odoo). They reach every record the Odoo integration user can see, not only what has been synced. Each workspace has its own Odoo connection, so one client’s assistant can never reach another client’s Odoo. Nothing in Odoo can be deleted through Morton Street. Reads records straight from Odoo. Scope: crm.read. Typical uses: find a product’s id and list price before create_quote, look up a customer’s open quotes, or check an invoice’s payment state.

odoo_fields

Lists the fields on a model, with each field’s label, type, whether it is required or read-only, and the allowed values for selection fields. Binary and one-to-many fields are left out. Scope: crm.read. Call it before enriching a record, so the assistant writes to fields that exist on your Odoo (custom fields included).

update_odoo_record

Edits fields on one Odoo contact, lead or opportunity, or quote. The preview shows each field’s current and new value. Scope: crm.write.

create_quote

Creates an Odoo quotation (sale.order) with product lines. Scope: crm.write. Prices default to each product’s list price, so Odoo’s pricing stays the source of truth. The preview lists every line and an estimated total before tax. After it runs:
  • the quote is linked to the deal’s Odoo opportunity, when the deal came from Odoo
  • a quote activity with a link to the quote is added to the contact’s timeline
  • a deal at lead, qualified or meeting moves to proposal

confirm_quote

Confirms a draft or sent quotation, turning it into a sales order in Odoo. Because this books an order, it always returns a preview and runs only after the user approves it, whatever the workspace’s settings. Scope: crm.write.

Example

Acme wants four of the 2” rotary meters. Make them a quote and add their new buyer’s phone number.
  1. search_contacts finds the buyer; odoo_search on product.product with query: "rotary" returns the product id and list price.
  2. create_quote with the contact and quantity: 4 returns a preview: one line, the unit price and the total.
  3. update_odoo_record on res.partner previews the phone change, from empty to the new number.
  4. You approve both. The quote appears in Odoo, the deal moves to Proposal, and the quote shows on Acme’s timeline in Morton Street.