Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
7089 Widoki

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.

Charles

Awatar
Odrzuć
Najlepsza odpowiedź

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"/>

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
wrz 23
3810
2
lis 24
1171
2
sie 24
4194
4
lis 23
6260
1
lis 23
2410