Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. Metagraph Management v 13.0
  4. Sales Conditions FAQ

Metagraph Management

by ABDENNACER Elbasri
Odoo
v 13.0 Third Party 12
Download for v 13.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Invoicing (account)
• Purchase (purchase)
• Website (website)
• Discuss (mail)
Lines of code 1158
Technical Name constellationnetwork_metagraph
LicenseLGPL-3
Versions 13.0 14.0 15.0 16.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Invoicing (account)
• Purchase (purchase)
• Website (website)
• Discuss (mail)
Lines of code 1158
Technical Name constellationnetwork_metagraph
LicenseLGPL-3
Versions 13.0 14.0 15.0 16.0

Constellation Network Metagraph Integration for Odoo ERP

Project Description

This project integrates Constellation Network's DAG-based payment method into the Odoo ERP system, enabling secure and transparent transactions. Additionally, it enhances supply chain management using metagraph technology, offering a transparent and efficient way to handle transactions across the supply chain.

Demo

You can access the live demo of the project at:

  • Demo URL: https://metagraph.maktab.ma/web
  • Username: demo
  • Password: nacer

Video

Watch the project demonstration on YouTube:

  • Short Video (4 minutes): https://www.youtube.com/watch?v=BxcnlLiw2aU
  • Full Video (22 minutes): https://www.youtube.com/watch?v=G5mytFuCvFg

Installation and Configuration

Prerequisites

  • Odoo 14+
  • Python 3.6+
  • PostgreSQL

Steps to Install

  1. Clone the Repository:
    git clone https://github.com/elbasri/constellationnetwork_metagraph.git
    cd constellationnetwork_metagraph
            
  2. Install Required Python Dependencies:

    Use pip to install necessary dependencies:

    pip install -r requirements.txt
  3. Configure Odoo:

    Place the module in your Odoo custom addons directory.

    Update your Odoo configuration file (odoo.conf) to include the custom addons directory:

    addons_path = /path/to/custom/addons,/path/to/odoo/addons
  4. Update Odoo:

    Restart your Odoo instance and update the module list from the Odoo interface. Install the constellationnetwork_metagraph module from the Apps menu.

Configuration

  1. Metagraph Configuration:
    • Navigate to Metagraph Management > Configurations.
    • Configure your wallet addresses and network URLs (Testnet, Integration, Mainnet).
  2. Payment Acquirer Setup:
    • Go to Website > Configuration > Payment Acquirers.
    • Add a new payment acquirer for DAG with the necessary credentials.

Main Features

  • DAG-based Payments:
    • Integration with Constellation Network to handle payments using DAG technology.
    • Supports Testnet, Integration, and Mainnet environments.
  • Supply Chain Transparency:
    • Leverages metagraph technology to enhance visibility and traceability in the supply chain.
    • Linked to Sale Orders, Purchase Orders, and Stock Pickings.
  • Graphical Reports:
    • View metagraph transaction statistics through a visual dashboard within Odoo.

Code Snippets

Metagraph Model Example:

class Metagraph(models.Model):
    _name = 'metagraph'
    _description = 'Metagraph'

    name = fields.Char(string='Metagraph Name', required=True)
    blockchain_status = fields.Selection([
        ('pending', 'Pending'),
        ('confirmed', 'Confirmed'),
        ('failed', 'Failed')
    ], string='Blockchain Status', default='pending')
    transaction_hash = fields.Char(string='Transaction Hash')
    amount = fields.Float(string='Amount')
    # Additional fields and methods...

Transaction Status Check Example:

def check_status(self):
    api = ConstellationAPI(self._get_base_url(), self._get_faucet_url(), self._get_check_status_url())
    status = self.retry_operation(api.get_metagraph_status, self.transaction_hash)
    if 'data' in status:
        data = status['data']
        self.blockchain_status = 'confirmed'
        self.transaction_hash = data.get('hash')
        # Additional logic...

License

This project is licensed under the LGPL-3 License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Contact

For any questions or issues, please contact Abdennacer Elbasri.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with