Using OpenERP Blocks

Last updated on
30 April 2025

OpenERP Blocks provides a rapid UI facility for the developers to create blocks for displaying OpenERP data or form for input the data into OpenERP.

This manual describes the functionality and how to create an OpenERP Blocks using the OpenERP blocks module.

How to create an OpenERP Block

Following steps describe the procedure to add a new OpenERP block to your Drupal page:

Requirements

  • A working OpenERP server installation - Please check the OpenERP Website for details.
  • A working Drupal installation
  • Name of the model you wish to retrieve data from - you may check the available model name using the OpenERP Workbench.
  • Fields of the model to be display on your block.

Options

You have 2 options for creating a new block:

  • Option I - If you do not need any special theming or any additional API that already provided by the normal Drupal installation, you may create a .php file under the OpenERP Blocks module's blocks repository folder (modules/openerp_blocks/blocks).
  • Option II - If you wish to add some advanced UI or theming or put your own code into the package, you may create a new module and implement the hook_openerp_blocks.

Simple Implementation

-- to be determined --

Create New Module

-- to be determined --

-- This document is still under progress, a lot of information is being added. Sorry for any inconvenience you may have. --

Help improve this page

Page status: Not set

You can: