Geographic Hierarchy - Grevlin Price Intelligence Suite
by Grevlin Global Corp. https://grevlin.com$ 72.97
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) |
| Lines of code | 1407 |
| Technical Name |
grev_od_market_geo |
| License | OPL-1 |
| Website | https://grevlin.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) |
| Lines of code | 1407 |
| Technical Name |
grev_od_market_geo |
| License | OPL-1 |
| Website | https://grevlin.com |
|
Grevlin Price Intelligence Suite Geographic HierarchyBuild a structured geographic foundation for market price data collection — from continents down to individual markets.
|
|
|
|
Need Help?For support, contact us at odoo@grevlin.com Follow us on X: @GrevlinGlobal
|
Grevlin Price Intelligence Suite - Geographic Hierarchy
This module provides the geographic foundation for the Grevlin Price Intelligence Suite. It extends Odoo's standard address system with continent management, market locations, and GPS coordinates to support commodity price data collection across global markets.
Overview
The Geographic Hierarchy module establishes the location framework required for tracking commodity prices across markets worldwide. It extends Odoo's built-in res.country, res.country.state, and res.city models with additional fields and introduces two new models: grev.continent and grev.market.
Key Features
- Continent management with 7 pre-loaded continents (Africa, Asia, Europe, North America, South America, Oceania, Antarctica)
- Country extensions linking countries to continents with population data
- State/province extensions with population and economic region tracking
- City extensions with GPS coordinates (latitude/longitude)
- Market model supporting 7 market types with operating days and geolocation
- Multi-company support for market records
Installation
- Place the grev_od_market_geo folder in your Odoo addons path
- Update the module list from :menuselection:`Settings --> Technical --> Database Structure --> Update Apps List`
- Search for "Geographic Hierarchy" and click :guilabel:`Install`
Important
This module depends on base_address_extended. It will be installed automatically if not already present.
Configuration
Continents
Seven continents are pre-loaded during installation. To view or edit them:
- Navigate to :menuselection:`Market Price Intelligence --> Geographic Data --> Continents`
- Each continent has a name, code, and linked countries
Countries are automatically linked to their continent via the continent_id field added to res.country.
Markets
Markets represent physical locations where commodity prices are collected.
To create a market:
- Go to :menuselection:`Market Price Intelligence --> Geographic Data --> Markets`
- Click :guilabel:`Create`
- Fill in the required fields:
- :guilabel:`Name`: Market name (e.g., "Kampala Central Market")
- :guilabel:`Code`: Unique identifier
- :guilabel:`City`: Linked city record
- :guilabel:`Market Type`: One of wholesale, retail, farmgate, port, exchange, auction, border
- :guilabel:`Latitude` / :guilabel:`Longitude`: GPS coordinates
- :guilabel:`Operating Days`: Days the market is active
Tip
The :guilabel:`State`, :guilabel:`Country`, and :guilabel:`Continent` fields are automatically populated from the selected city via related fields.
Technical Reference
Models
| Model | Technical Name | Description |
|---|---|---|
| Continent | grev.continent | Geographic continent with country links |
| Country | res.country (inherit) | Extended with continent and population |
| State | res.country.state (inherit) | Extended with population and economic region |
| City | res.city (inherit) | Extended with population and GPS coordinates |
| Market | grev.market | Physical market location for price collection |
Market Types
| Value | Label |
|---|---|
| wholesale | Wholesale Market |
| retail | Retail Market |
| farmgate | Farmgate |
| port | Port / Terminal |
| exchange | Commodity Exchange |
| auction | Auction |
| border | Border Market |
See also
- Commodity Catalog module for product taxonomy
- Price Collection module for price record management
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