Odoo Help


How to print stock location on product label

Chaaya Chares
on 1/7/14, 11:10 PM 2,820 views

This is for OpenERP 7, under Warehousing, Product Labels:

How can I print the stock location on the product label?

Currently labels print product code, price, description, barcode. I want to add another row showing the location of each item (i.e. Rack, Row, Case as shown on the Inventory tab for each product.)

Any help would be very much appreciated.


Ralf Steinhardt
On 9/4/14, 1:41 PM

You have to edit 2 files in the folder openerp/addons/product/reports

product_label.xsl for the layout

product_label.xml for the necessary database fields

open product_label.xml and add the following lines:

<loc_rack type="field" name="loc_rack"/>

<loc_case type="field" name="loc_case"/>

<loc_row type="field" name="loc_row"/>

open product_label.xsl and add the following line around 80:

<xsl:value-of select="loc_rack"/><xsl:value-of select="loc_case"/><xsl:value-of select="loc_row"/>

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 1/7/14, 11:10 PM
Seen: 2820 times
Last updated: 3/16/15, 8:10 AM