تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4705 أدوات العرض

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
4
أبريل 25
1111
12
يناير 17
14231
2
أبريل 16
4088
3
مارس 15
5810
1
مارس 15
9193