MODULES / OPERATIONS

Vendor GRN Billing

Receive supplier goods into inventory and create a matched vendor bill from the GRN.

Overview

Module idask_grn_picking
Version1.0.0
Who uses itAnyone who uses the screens listed below.
InstalledOn demand, from Settings → Modules. Anything it needs is installed with it.

Where to find it

InventoryVendor GRN

The menu entries appear once the module is installed and your role allows them.

How it links to other modules

A module that is needed cannot be turned off while the module that needs it is on.

Details

Vendor GRN Billing

Port of D:/Odoo18/sparkosol/custom-addons.odoo18/ask_grn_picking using ASKERP's inventory and accounting services. Install Vendor GRN Billing from Settings > Modules; it depends on Inventory and Purchase. The Vendor GRN screen records a supplier-linked goods receipt and creates one draft vendor bill from that receipt.

The receipt is posted through the normal AVCO inventory service and credits Goods Received Not Invoiced. The bill begins with the receipt's saved unit cost and exact received quantity, links to that GRN, and must pass the existing vendor, quantity, GRNI account, date and purchase-price-tolerance checks before posting. The bill remains a draft for an accountant to review; approval and posting use the existing accounting services. A unique receipt link and parent row lock prevent competing bill requests from producing duplicate bills.

ASKERP already supports PO-linked partial receipts and bills; this addon fills the separate source workflow for standalone GRNs without inventing a purchase order or changing existing PO matching. It replaces the Odoo source's product standard-cost estimate and direct bill creation with the inventory movement's actual saved cost and a reviewable draft. Each GRN is a single tracked-goods line and is billed once at full receipt quantity; multiple or partial bills against one GRN are not supported. Tax and supplier invoice pricing can be reviewed on the draft; the ledger price tolerance remains authoritative.

Migration 0097_grn_vendor_receipt.sql adds an optional company-scoped vendor reference to immutable inventory documents. Existing rows remain null and existing PO receipts continue to resolve their vendor from the purchase order.

Tests: npx vitest run addons/ask_grn_picking/addon.test.ts server/stock-documents.test.ts server/vendor-bills.test.ts.

Vendor GRN Billing | ASKERP Docs