lambda-erp 0.1.22__tar.gz → 0.1.23__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/PKG-INFO +1 -1
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/chat.py +6 -4
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/pyproject.toml +1 -1
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/.gitignore +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/LICENSE +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/README.md +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/__init__.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/attachments.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/auth.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/bootstrap.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/demo_limits.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/deps.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/errors.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/main.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/pdf.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/providers.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/routers/__init__.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/routers/accounting.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/routers/admin.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/routers/analytics.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/routers/bank_reconciliation.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/routers/documents.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/routers/masters.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/routers/proposals.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/routers/reports.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/routers/setup.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/services.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/templates/document.html +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/api/templates/proposal.html +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/docs/agents/README.md +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/frontend/README.md +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/frontend/src/api/client.ts +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/__init__.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/accounting/__init__.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/accounting/bank_transaction.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/accounting/budget.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/accounting/chart_of_accounts.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/accounting/general_ledger.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/accounting/journal_entry.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/accounting/payment_entry.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/accounting/pos_invoice.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/accounting/purchase_invoice.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/accounting/revaluation.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/accounting/sales_invoice.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/accounting/subscription.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/buying/__init__.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/buying/purchase_order.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/controllers/__init__.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/controllers/currency.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/controllers/defaults.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/controllers/pricing_rule.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/controllers/taxes_and_totals.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/database.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/exceptions.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/hooks.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/model.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/selling/__init__.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/selling/proposal.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/selling/quotation.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/selling/sales_order.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/simulation.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/stock/__init__.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/stock/delivery_note.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/stock/purchase_receipt.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/stock/stock_entry.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/stock/stock_ledger.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/lambda_erp/utils.py +0 -0
- {lambda_erp-0.1.22 → lambda_erp-0.1.23}/terraform/README.md +0 -0
|
@@ -1560,14 +1560,16 @@ Shortcuts: Quotation can also convert directly to Sales Invoice or Delivery Note
|
|
|
1560
1560
|
- **Sales Invoice:** Bills the customer. **Posts GL entries:** Debit Accounts Receivable, Credit Sales Revenue (+ Credit Tax Payable if taxes). Creates outstanding amount.
|
|
1561
1561
|
- **Payment Entry (Receive):** Records customer payment. **Posts GL entries:** Debit Bank, Credit Accounts Receivable. Reduces invoice outstanding.
|
|
1562
1562
|
|
|
1563
|
-
### Proposal (
|
|
1563
|
+
### Proposal (slug `proposal`) — combine several offers into one PDF
|
|
1564
|
+
German names for this doctype: **Sammelofferte / Sammelofferten**, also called a Sammelangebot, Offertenbündel, or "kombinierte Offerte". If a user asks about their "Sammelofferten", "Sammelaufträge" in the sense of bundled offers, or "proposals", they mean THIS doctype — use `list_documents(doctype="proposal")`, don't ask whether they mean sales/purchase orders.
|
|
1565
|
+
|
|
1564
1566
|
A **Proposal** bundles several EXISTING quotations into one branded, customer-facing PDF, each shown as a lettered position (A, B, C…). It is **print-only**: no financial or stock impact, it references the quotations without changing them, and it is **never submitted** — to deliver it you just generate its PDF.
|
|
1565
1567
|
|
|
1566
|
-
Shape
|
|
1568
|
+
Shape — note it does NOT use `items`:
|
|
1567
1569
|
- Parent fields: `title` (e.g. "Offerte"), `customer`, `company`, `proposal_date`, `partner_name`, `partner_email`, `cover_letter` (the intro/greeting letter text).
|
|
1568
|
-
- Child table `quotations[]` — one row per offer to include, in display order. Each row: `
|
|
1570
|
+
- Child table `quotations[]` — one row per offer to include, in display order. Each row has: `quotation` (the name of an existing Quotation), optional `position_title` and `position_blurb` (default from the quotation), and `is_recommended` (0 or 1 — set 1 on the offer you recommend, which draws an "Empfehlung" badge).
|
|
1569
1571
|
|
|
1570
|
-
To build one: ensure each offer already exists as its own Quotation (create them first if needed), then
|
|
1572
|
+
To build one: ensure each offer already exists as its own Quotation (create them first if needed), then call create_document with doctype "proposal" and a data object whose `quotations` array references those quotations by name. Do NOT submit it; link the user to the PDF at `/api/documents/proposal/<name>/pdf` (and the editor at `/app/proposal/<name>`).
|
|
1571
1573
|
|
|
1572
1574
|
### Purchase Cycle
|
|
1573
1575
|
Purchase Order → Purchase Receipt (receiving) / Purchase Invoice (billing) → Payment Entry
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|