| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) • Purchase (purchase) • Inventory (stock) |
| Community Apps Dependencies | Show |
| Lines of code | 14295 |
| Technical Name |
grev_od_farm_infrastructure |
| License | OPL-1 |
| Website | https://www.grevlin.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) • Purchase (purchase) • Inventory (stock) |
| Community Apps Dependencies | Show |
| Lines of code | 14295 |
| Technical Name |
grev_od_farm_infrastructure |
| License | OPL-1 |
| Website | https://www.grevlin.com |
🏭 Farm Infrastructure ManagementBuild, finance, share and measure every farm asset you own ✅ Odoo 19.0 Community / Enterprise | Add-on for Contract Farming |
|
|
|
Need Help?Email support@grevlin.com | X @GrevlinGlobal 🎁 30 days free support included |
Farm Infrastructure Management
The Farm Infrastructure Management module takes farm infrastructure projects from planning to operational asset, supports multi-funder financing, runs shared booking workflows for mechanization-as-a-service, manages lease-to-own financing with amortization, schedules maintenance, and produces monthly KPI snapshots and lifetime ROI reports.
Overview
This module assumes Contract Farming is installed and extends the same grev.contract.farming.farm registry with infrastructure asset links. It is designed for organizations that finance shared equipment, run asset-leasing programs for farmers, or operate cooperative mechanization services.
Key Features
- Project Lifecycle — planning → approved → construction → completed → operational, with cancellation blocked once operational. Completion auto-creates the asset record.
- Multi-Funder Financing — track funded and disbursed amounts from grants, CSR, donors, governments, loans and farmer co-contributions. Impact conditions can be flagged and verified.
- Asset Registry — type, value, ownership (company / farmer / leased / shared), install date, expected lifetime, operational status.
- Shared Bookings — hourly-rate booking workflow with overlap detection, operator assignment, and multi-state payment tracking.
- Lease Agreements — fixed, production-based, and revenue-share models with monthly / quarterly / seasonal / annual payment frequencies.
- Lease-to-Own — down payment, financed principal, residual value, monthly amortization. One-click ownership transfer at zero balance.
- Maintenance — preventive, corrective and emergency maintenance with planned / in-progress / completed states and daily due alerts.
- Monthly KPI Snapshots — booked vs capacity hours, utilization %, booking and lease revenue, maintenance cost, net margin and rating.
- SQL ROI Report — net return and payback years per asset.
Configuration
Infrastructure Types
Define the equipment types your organization tracks:
- Navigate to :menuselection:`Farm Infrastructure --> Configuration --> Infrastructure Types`
- Click :guilabel:`Create`
- Enter the type code, name and sector (crop, livestock, aquaculture, dairy, horticulture)
- Click :guilabel:`Save`
Note
The module ships with 9 seeded types: greenhouse, fish pond, RAS tank, poultry house, irrigation system, solar pump, grain silo, cold storage, milking equipment.
Security
This module relies on multi-company record rules only — no custom security groups are defined. Access is controlled by company membership and the underlying contract farming groups inherited from grev_od_commodity_base.
Usage
Creating an Infrastructure Project
- Navigate to :menuselection:`Farm Infrastructure --> Projects`
- Click :guilabel:`Create`
- Select the farm and infrastructure type
- Enter the budget and planned dates
- Add funding sources in the dedicated tab
- Click :guilabel:`Approve` then :guilabel:`Start Construction`
- When construction is finished, click :guilabel:`Complete` — the asset record is auto-created
Tip
Funding coverage % and the funding gap are computed from the project's funding sources, so you can spot under-funded projects at a glance.
Running a Lease-to-Own Agreement
- Navigate to :menuselection:`Farm Infrastructure --> Leases`
- Click :guilabel:`Create`
- Select the asset and lessee farmer
- Tick :guilabel:`Lease to Own`
- Enter the down payment, residual value, annual interest rate and term in months
- Save — the financed principal, monthly installment, total interest and total to pay are computed automatically
- Click :guilabel:`Activate`
- Record payments as the lessee pays each installment
- When the remaining balance reaches zero, click :guilabel:`Transfer Ownership` to flip the asset's ownership type to farmer
Scheduling Maintenance
- Navigate to :menuselection:`Farm Infrastructure --> Maintenance`
- Click :guilabel:`Create` and pick the asset
- Choose maintenance type (preventive / corrective / emergency)
- Enter the planned date and estimated cost
- Click :guilabel:`Start` then :guilabel:`Complete`
- Set the next maintenance date to receive automatic alerts
Reading KPI Snapshots and ROI
- Monthly KPI snapshots are built automatically by cron every 7 days.
- Open :menuselection:`Farm Infrastructure --> Asset KPIs` to inspect utilization, revenue, cost and margin per period.
- Open :menuselection:`Farm Infrastructure --> ROI Analysis` for the SQL view with net return and payback years per asset.
Technical Details
Models
grev.farm.infra.project
Project lifecycle with funding aggregation and auto asset creation.
grev.farm.infra.funding.source
Multi-funder source records attached to projects.
grev.farm.infra.asset
Registered physical asset with shared booking flag and quick views.
grev.farm.infra.asset.kpi
Monthly KPI snapshot with utilization, revenue, margin and rating.
grev.farm.infra.booking
Shared asset booking with conflict detection and payment state.
grev.farm.infra.lease
Lease agreement with payment tracking and lease-to-own financing.
grev.farm.infra.lease.payment
Individual lease payment record.
grev.farm.infra.maintenance
Preventive / corrective / emergency maintenance record.
grev.farm.infra.type
Master list of infrastructure equipment types.
grev.farm.infra.roi.report
SQL view (_auto = False) for asset ROI and payback years.
Scheduled Actions
- Maintenance Due Alert — daily activity creation for overdue maintenance.
- Lease Expiry Alert — daily 30-day-warning activities.
- Build Asset KPIs — every 7 days, rebuilds monthly snapshots.
See Also
- :doc:`../../grev_od_contract_farming/doc/index` — required dependency
- Farm Advisory, Farm Veterinary — sibling farm productivity modules
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module