v1.0.90

Product variants (colour, size…) in sales, purchases, invoices, inventory and web, and a Whiteboard in Pincel

What's new in ERPSqlite 1.0.90

  • Products → Attributes: attributes such as Colour or Size with their values, each value's colour and a default extra price; how it is chosen on the website (buttons, pills, drop-down or colour swatches).
  • On the product, the “Attributes & variants” section: pick the attributes and their values and one variant is created per combination (“Phone (Red, XL)”), priced at the product price plus its values' extras (adjustable per product).
  • Each variant has its own stock, reference, barcode, cost and image; the rest (category, taxes, type…) is copied from the product. Removing a value archives its variants and adding it back restores them.
  • Sales and purchase orders, invoices, deliveries, receipts, inventory adjustments and POS choose the variant; a product with variants shows the stock of all of them and what was sold and bought across them.
  • “Product variants” menu in Products, Sales and Inventory, and “Attributes” in Products and Inventory → Configuration.
  • Web shop: the catalogue shows the product and its page lets the customer choose each attribute; price, stock and what goes into the cart follow the variant (sold-out ones can't be ordered).
  • Odoo migrator: brings attributes, their values and extra prices, creates the variants and links each Odoo variant (with its reference and cost) to its own; orders and invoices keep the right variant.
  • Pincel → Whiteboard: an Excalidraw-like freehand whiteboard with a hand-drawn look; rectangles, diamonds, ellipses, arrows that connect to shapes and follow them, lines, pencil, text (also inside shapes by double-clicking) and eraser, with keyboard shortcuts (1-8, 0, R, O, A, T…).
  • Properties panel: stroke and background colour, hatched, cross-hatched or solid fill, stroke width and style, sharp or rounded edges, text size, family and alignment, opacity, layers (to back, backward, forward, to front), duplicate, delete and link.
  • Select with a marquee or Shift, drag handles to resize or rotate, zoom and pan with the wheel, trackpad or space + drag, undo and redo, copy and paste; a library to save and reuse elements; grid and canvas colour.
  • Autosave, PNG export, sharing via WhatsApp or Documents, opening and saving files (including .excalidraw), and a whiteboard list with previews.
  • Variants also in Manufacturing and Pricelists: the product's bill of materials or pricelist price applies to all its variants (unless they have their own); inventory counts, the stock view and the QR menu show the variants, not the product.
  • Strong passwords: from the user menu (their photo, top right) each user changes their own password by confirming the current one; creating a user in Settings or changing their password requires at least 8 characters with uppercase, lowercase and special characters, with the rules ticked as you type and 3 random examples to use or copy.
  • Database backups in your choice of format: PostgreSQL (.sql, standard SQL that loads with psql on any server, with tables, data, indexes, keys and id counters) or SQLite (.sqlite, a portable file); server databases default to .sql. “Restore” also accepts the .sql and restores it into PostgreSQL, MySQL or SQLite directly.
  • CAD API for AI: CAD → “AI API” enables the API, creates a key and copies a ready-made prompt for the AI. The AI (Claude Code, an agent, a ChatGPT GPT…) can list, create, read, modify, rename and delete drawings at /api/cad with the assistant's JSON operations (including a whole floor plan) or with every command-line command; objects are picked by typing a point on them. SVG preview, DXF, command catalogue and OpenAPI; it respects the key user's permissions.
  • Public documentation of the CAD API on the website (erp-sqlite.xyz/en/cad-api, also as Markdown to hand to the AI) with examples, every command and the prompt.
  • The CAD exports and imports drawings as JSON (the whole model, nothing lost): “Download JSON”, “File → Save as JSON…” and “Open DXF/DWG/JSON”; also through the API.
  • ERP command console: a button at the bottom right of the home screen. Drive the ERP by typing, in English or Spanish: “create product DEMO 100 REF12121”, create contacts, opportunities, tasks, notes, sales and purchase quotations (“create sale "Obras Sur" REF12121:3”), confirm them, invoice them and validate the invoice, list, show, change and archive, set stock and open apps by name or code; “help” lists every command with examples.
  • Live autocomplete in the console: commands, fields and real data (product references, contacts, orders and invoices, apps), with the suggestion greyed in; Tab or → complete it and ↑/↓ choose. History with ↑/↓. It respects the user's permissions.
  • Public documentation of the CAD drawing JSON format (erp-sqlite.xyz/en/cad-json-format, also as Markdown) with a full example so an AI can read or generate drawings. The Docker, CAD API and JSON format links move to the website footer.
  • Structures: clicking a load (point or distributed) selects and highlights it; a panel changes its values (trapezoidal too) and direction, or deletes it (Delete key too). With overlapping loads, each click moves to the next one. Everything can be undone.
  • Projects: each card shows the hours done against the planned hours, with their percentage and a bar that turns red when exceeded. Timesheets: “Planned hours” and “Remaining hours” columns for the task (red when more than planned has been logged).
  • Clocking: pressing “Clock out” shows the time worked and lets you set the project, the task and a note; they are kept in the attendance and, with a task, the time is logged to its timesheet.
  • Command console: now a panel docked at the bottom that does not block the ERP (minimize, maximize and close; it keeps what was typed); “ai <text>” talks to the AI, which looks up the data it needs and runs the commands; Enter completes the chosen or half-typed suggestion; only administrators and the new “Command console” user group see it.
  • The console is also a calculator: type the operation as it is (1200*1.21, 1200*21%, (350+120)/3, sqrt(16)) and “ans” reuses the last result. A console mini course on the blog: eight lessons with examples and exercises.
This is no longer the latest version: see what's new in 1.1.74 or download the latest version.

← All releases