Showing posts with label products. Show all posts
Showing posts with label products. Show all posts

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.

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.

01 June 2009

product_price_update v1.05

Please note that product_price_update has been moved to extra-addons. This new version doesn't update the product if the newly calculated price == old price.
The new behavior is useful for synchronizing applications that check the last write date. Maybe the speed has been improved, too.

02 March 2009

New module: product_price_update

I have rewritten the extra-addons/product_listprice_upgrade module, it can be downloaded with 'bzr branch lp:~gdukai/openobject-addons/product_price_update'.

It has several improvements over the original:
-Possible to update any price type not just the list price.
-Correctly uses recursion and checks to update a price only one time even if parent and child categories are selected.
-Rewritten using the new osv_memory objects (the old module used wizard.interface).
-Corrects a menu duplication.

If you don't know what it is for, read my previous post. This module could also be interesting to see how the old type wizard looks like reimplemented in osv_memory.

Better price control

The basic setup of OpenERP has a very simple pricelist setup: manually set the list prices of the products and use them for the sales orders. Many companies use a cost price + margin% = list price formula. To work like this, we could easly modify the default public pricelist (sales pricelist) to be based on the cost price and add some percentage to that.
But this is usually not enough, for two reasons:
  • The prices calculated by the sales pricelist can only be seen when creating new sales order lines. Nothing updates the list price field on the products.
  • The sales prices change with every purchase because it changes the cost price they are based on. Many companies don't want to change prices every hour or so.
The solution: use the product_listprice_upgrade module in extra-addons. We need the original public pricelist that is based on the list price. Plus we have to create a new one of the type 'internal' and set it up to be based on the cost price + margin formula. The wizard in the listprice_upgrade module under the Pricelist menu will update the list price for the products we choose. This has to be run every time we decide to have new list prices.

p.s. There's a better module than product_listprice_upgrade, read this post.