Skip to main content
Most CodeCobra documentation assumes you want something built. Often you don’t. You want to know why a number is wrong, or what last quarter actually looked like, or which orders are stuck — and you want an answer, not a project. CodeCobra answers questions directly from your live Odoo database. Nothing is written, nothing is changed, no code is produced.

What this looks like

“Our inventory valuation is off by about $40,000 against the GL. Where?”
“How many orders shipped late last month, and is it getting worse?”
“Why does this customer’s balance say 12,400whentheinvoicesaddupto12,400 when the invoices add up to 9,800?”
CodeCobra goes into the records, follows the trail, and comes back with an answer and the records that prove it — so you can check the work rather than take its word.

Why this is different from a report

A saved Odoo report answers a question you already knew you’d have. This answers the one you just thought of. You don’t need to know which models hold the data, how they join, or what the field is called — you describe the business question in business terms.
This is also the cheapest way to use CodeCobra. An investigation that reads data costs a fraction of a build, and it often ends with “you don’t need a customization for this, here’s the setting.”

Staying read-only

Every Odoo connection carries an access level you set: Read, Write or Delete. A connection set to Read cannot change anything, no matter what you or CodeCobra ask it to do. If all you want is answers, set the connection to Read and leave it there. You get the full investigative capability with no possibility of a write.

Access levels

How to set what a connection is allowed to do.

Where it goes next

Investigations often end in one of three places:
  • An answer, and that’s it. The number was right; the report was reading a different date range.
  • A deliverable. Ask for the findings as a spreadsheet or a written summary you can circulate.
  • A change. Now that you know what’s wrong, ask CodeCobra to fix it — which becomes a normal build with a plan you approve.

Answer a question

How to ask so you get a useful answer.

Deliverables

Turn the answer into something you can send.