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

We're currently implementing Odoo at our company. So far we've created all "Stockable products", with route set to "Buy" and wish to update the products' list with reordering rules, to automatically trigger the creation of RFQs when quantities on SO exceed the available stock.

Our CSV template includes the following fields:

  • id

  • Active

  • Company

  • Lead Time

  • Lead Type

  • Maximum Quantity

  • Minimum Quantity

  • Qty Multiple

  • Warehouse

The improt test fails with "missing Location", however we can't map the location to values Odoo recognizes.

Exporting those fields from our test instance yields "WH/Stock", yet the same value fails the import check. If we click on the available values - as per the suggestion from the above error message - "WH/Stock" is red, and the other alternatives seem either irrelevant (e.g. vendors, customers...) or fail the test (e.g. WH).

Our inventory module isn't configured to manage several locations either - though I wonder if  "Location" in this case refers to something else.

Are we supposed to configure something prior to importing reordering rules?

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

You need to put a "location_id" field.  See an example:   

Warehouselocation_id
ALM. MATERIA PRIMA

Physical Locations/AMP/Stock

We have imported more than 1400 reordering rules.   Greetings
Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Hello Laura,

Thanks for that, it seems to do the trick. I got the same error at first, but it turns out I had missed to type "Physical Locations" in a case sensitive fashion.

Also, we had missed the "Product" field with the product's name.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 10 23
2830
2
thg 8 22
3830
0
thg 3 19
2862
1
thg 4 17
4735
1
thg 12 24
3040