跳至内容
菜单
此问题已终结
1 回复
7104 查看

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

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
9月 23
3841
2
11月 24
1190
2
8月 24
4214
4
11月 23
6269
1
11月 23
2418