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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
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.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
4
abr 25
|
1193 | ||
|
12
ene 17
|
14280 | ||
|
2
abr 16
|
4137 | ||
Hide "validate" button on invoice
Resuelto
|
|
3
mar 15
|
5860 | |
|
1
mar 15
|
9224 |