Invoicing and Accounting

PiggyPro creates invoices from farm actions and links them back to Odoo Accounting.

When PiggyPro Creates Invoices

PiggyPro does not ask users to enter invoices manually from a separate consumer app. Instead, invoices are created from farm records inside Odoo:

  • Slaughter records can create a customer invoice when the record is completed
  • Batch disposal can create invoices for multiple pigs in one action
  • Single pig disposal can create a one-off invoice
  • Each invoice stays linked to the original pig or batch record

Key Features

Invoice Management

  • Create customer invoices from farm records
  • Link invoices to slaughter or disposal actions
  • Track invoice totals inside Odoo Accounting
  • Use the standard Odoo invoice workflow
  • Search and filter invoices in the accounting module

Operational Flow

  • Complete the farm record first
  • Generate the invoice from the action button
  • Review the linked customer invoice in Odoo
  • Use invoice counters on batch and slaughter screens
  • Keep sales and farm records tied together

Accounting Visibility

  • Review invoice lines before posting
  • Use Odoo customer records for buyers
  • Keep invoice origin references visible
  • Post invoices through the normal accounting workflow
  • Report on farm sales from accounting records

Source Records

  • View created invoices from the source action
  • Track total porkers sold where relevant
  • Track total kilograms sold where weight is used
  • Keep batch references on generated invoices
  • Avoid duplicate manual invoice entry

How to Create an Invoice

Step 1: Complete the record

  1. Open the slaughter or disposal record in PiggyPro
  2. Make sure the action is complete
  3. Enter the buyer, sale date, weights, and quantities
  4. Save the record before creating the invoice

Step 2: Create the invoice

  1. Click the Create Invoice button
  2. Let PiggyPro generate the Odoo customer invoice
  3. Open the invoice from the smart button or related invoice link
  4. Review invoice lines before posting if needed

Step 3: Review accounting

  1. Confirm the invoice is linked to the farm record
  2. Check porkers sold and kilograms sold where relevant
  3. Post the invoice through the normal Odoo workflow
  4. Use standard accounting reports for finance follow-up

What PiggyPro Tracks on Invoices

Invoice Data

  • Customer name and invoice origin
  • Porkers sold on a line or record
  • Kilograms sold where the disposal flow uses weight
  • Batch reference for batch disposals
  • Invoice count and invoice link on the source record

Related Odoo Screens

  • PiggyPro -> Pigs -> Pig Batches
  • PiggyPro -> Pigs -> Pig records
  • PiggyPro -> Reports -> Farm Dashboard
  • Accounting -> Invoices for the final posted customer invoice

Tips and Best Practices

  • Create the farm record first, then create the invoice from that record
  • Review invoice lines before posting the accounting document
  • Use customer records consistently so buyer history stays clean
  • Check linked invoice counters before creating another invoice
  • Use Odoo Accounting reports for finance follow-up