Nothing in Odoo can be deleted through Morton Street.
odoo_search
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
quoteactivity with a link to the quote is added to the contact’s timeline - a deal at
lead,qualifiedormeetingmoves toproposal
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.
search_contactsfinds the buyer;odoo_searchonproduct.productwithquery: "rotary"returns the product id and list price.create_quotewith the contact andquantity: 4returns a preview: one line, the unit price and the total.update_odoo_recordonres.partnerpreviews the phone change, from empty to the new number.- You approve both. The quote appears in Odoo, the deal moves to Proposal, and the quote shows on Acme’s timeline in Morton Street.