Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4727 มุมมอง

hello guys, i have automated action to make all of the invoices will be validated every 10 mins but when i run manually the action this error always shows up "Cannot create moves for different companies" then i check it and execute it manually it needs the user with same current company with the moves company.. anyone can help me? thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Dear

you need to change the accounts in the inventory adjustment location to the second company because inventory adjustment stock account input and outgoing are per company.

1- go to inventory

2- configuration - location

3- inventory adjustment and change stock valuation account income and outgoing. 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Solution:

1. Switch to super user and run the action.

2. Use sudo in your method

Actually you have multi company scenario and you run the action for current user which may be the member of current company.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
เม.ย. 25
1172
12
ม.ค. 17
14256
2
เม.ย. 16
4113
Hide "validate" button on invoice แก้ไขแล้ว
3
มี.ค. 15
5836
1
มี.ค. 15
9204