25 November 2010

Asynchronous Messaging with OpenERP

We already have synchronous messaging with XML-RPC. Now a new module is created that provides a framework to make async messaging easy with OpenERP.

The module should be used for building integration solutions based on messaging patterns.
It provides:
- A framework for sending and receiving STOMP messages.
- A serializator/deserializator that creates and reads an XML representation of any OpenERP object.
The module is based on Cloves J. G. de Almeida's mbi module, especially the XML serializator.

There's also a demo module that has a pre-built interface to sending and receiving messages.

I've put the modules async_messaging and async_messaging_demo in stable 5.0 extra addons.

23 August 2010

Great improvements in label printing

Based on the work of Zikzakmedia, I extended the label printing capabilities of OpenERP. My goal was to provide quick high-volume product label printing.

The following improvements were made:
-Better usability like label language selection and default label format for every template.
-Refactoring to make it possible to easily add printing engines.
-Added a mako-RML engine to the existing mako-XSL:RML engine that has more possibilities in label design and eliminates an extra step that could be source of errors.
-Added a mako-SLCS engine to print to Bixolon label printers.
-Added an editable grid to fill in with products and label quantities to print plus a button on pickings to automatically fill in this grid from their data.

The modules that provide these functionalities:
-label: made by Zikzakmedia in stable 5.0 extra addons. Provides PDF printing with XSL:RML and RML.
-label_product in stable 5.0 extra addons
-label_slcs in stable 5.0 extra addons
-For label_slcs it is useful to install the printjob module from community addons that could send the generated commands directly to the printer. It's made by Pegueroles SCP & NaN.

17 August 2010

base_report_unicode v1.2

The base_report_unicode module has been updated to support <b>, <i> (bold and italic) tags. OpenERP by default ignores those if used with TrueType fonts.
The DejaVu fonts are also updated to the latest versions.

16 August 2010

Restrict access to moves, pickings and locations

I've just published a new module in community addons

This module allows filtering of pickings and stock inventories by location. It's useful to restrict stock workers to only see those pickings that are relevant to them.

Technically: pickings get their unused location_id, location_dest_id fields redefined to be filled in from their moves' data. Inventories get a location_ids field from their lines' data.

13 August 2010

Product related price list items

I've just published a new module called product_related_pricelis_items in stable 5.0 extra addons

A convenience wizard on the product form to show and edit only the price list items that are relevant. This means that you can choose a price list version from the product form and you get an editable grid with only those items that are defined for that product or it's categories (including some parents) or aren't restricted at all.

NOTE: Needs the --enable-code-actions parameter for the server.

12 August 2010

Customer credit limit control module

I've just published a new module in stable 5.0 extra addons

The Sale Order confirming button checks if the partner's
receivables minus payables plus the order's total
exceeds her credit limit.
If it does, it doesn't let the user to confirm the order.
Managers have an extra button to bypass the check but
of course the credit limit itself could be lifted, too.

System backup tool for OpenERP

I've just published a new module in community addons

This is a system backup tool that can be run from the OpenERP
user interface. It is meant for system administrators.
It doesn't do the backup itself but provides a convenient
framework to run python backup scripts. There are several
example scripts provided that can be run outside OpenERP
so they can be easily tested.
Backup scripts are called Tasks and they don't do device
mounting and unmounting but that's provided by the scripts
in the object Target.
The result of a backup operation is called a Job. There are
tar and rsync kind of jobs supported.