Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7150 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 23
3954
2
thg 11 24
1264
2
thg 8 24
4321
4
thg 11 23
6339
1
thg 11 23
2511