跳至內容
選單
此問題已被標幟
2 回覆
7581 瀏覽次數

I'm (truly) brand new to Odoo.

I'm looking for how the maintenance module is related to the inventory module. In other words, I have a number of products in inventory (screws, washers, and nuts), as well as a number of tools (drivers and wrenches). I see how I can reference the tools while performing a maintenance request, I don't see how I can use the products (and therefore have them removed from inventory). 

Am I going about this all wrong?

頭像
捨棄

Hello @Aaron did you have any solutions for your problem?

最佳答案

1. Create a SCRAP location called "Consumed in Maintenance"

2. Scrap each Product you "use"

3. (for extra credit) Add a button to the Maintenance Request to help the user SCRAP, auto populating the correct location for them:






Something like this would do the trick (if you are worried about hardcoding action and location id's  -  check out the EVAL attribute for XML files):

<button string="CONSUME PRODUCT" 
name="594"
type="action" 
context="{'default_scrap_location_id': 168,}"/>

頭像
捨棄
最佳答案

I have the same concern. Was there any solutions ?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 25
1091
1
6月 25
917
1
6月 25
951
2
6月 25
1668
1
5月 25
1707