콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
3965 화면

It seems reodering rules need to be manually created on every stock item. This seems absurd. Please help me understand why this is even an option.

If a company needs to manufacture something, they create a manufacture order, and some items are out of stock. If one critical item does not have a reordering rule set, it will not get ordered, and the omission will not be picked up until it it time to assemble. At that time it is too late and everyone just hates odoo. 

Surely someone has a method to set reordering rules on all items

Or at least some way of highlighting inventory items that do not have reordering rules set.

아바타
취소
베스트 답변

It’s possible to use Automated Actions to setup Reordering Rules automatically at the time you create a product.

Start by enabling Developer mode and navigating to Settings / Technical / Automated Actions:

Click on CREATE and the following screen is displayed:

Action Name: Enter a description (e.g. Set reorder Point)

Model: Product (product.product)

Trigger Condition: On Creation

Apply on: Product Type = ‘product’ 

Action To Do: Create a New Record

Create / Write Target Model: Minimum Inventory Rule (stock.warehouse.orderpoint)

Data to Write

Minimum Quantity(stock.warehouse.orderpoint)Value0
Maximum Quantity(stock.warehouse.orderpoint)Value10
Product(stock.warehouse.orderpoint)Python expressionrecord.id

You can enter whatever values you want for minimum and maximum quantity in the first two lines, but the third line (for the product) must be exactly as shown above.

You can also create this as a Server Action to setup Reordering Rules for existing products

https://odootricks.tips/automated-actions-reordering-rules/


아바타
취소
관련 게시물 답글 화면 활동
1
1월 19
3936
1
12월 24
3051
1
1월 23
3916
1
12월 22
6295
1
10월 20
9249