Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
1636 Ansichten

Hello, 


i have an issue with my custom module. When i try to import it, i get this error "custom_action is not a valid action on sale.order".


my https://github.com/service-KT/ksf_sales


Thank you

Avatar
Verwerfen
Beste Antwort

Hi Hoang

Do you have an old code with "custom_action" or manually added a server action where the code has "custom_action"

the best is to run your code in a new empty database just to disclose previous code impact

hope this helps

Daniel

Avatar
Verwerfen

Odoo studio does not support importing module with python code, you can import only odoo studio customisation file
If you need to customize your odoo with python then you need to move to onPremise or odoo.sh

Beste Antwort

Bbbbd

Avatar
Verwerfen
Autor Beste Antwort

Hello, 

I said "custom_action" to be more understandable, without reading the code.

The real error message is "action_payment_receive is not a valid action on sale.order".

I think my __init__.py are all good. I'm actually using odoo cloud and import a zip by the studio. I dont know if there is an impact than host my own instance. 

And the database is new, i didnt alter it.


Thank you

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Sept. 25
1961
1
Aug. 25
1608
1
Aug. 25
607
0
Juli 25
749
0
Juli 25
1289