Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
To pytanie zostało zamknięte z powodu: niezwiązane z tematem lub nieaktualne
przez Alec na 24.07.2024 13:31:22
1 Odpowiedz
1029 Widoki

Hello,

So, a while back I had created a custom app with the use of Odoo Studio and now I'm wanting to replace it with a custom addon so that I can make further customizations that I can't using Odoo Studio.

I've exported the studio_customization folder from Odoo Studio. I've located all the files that the specific app im talking about is associated with. I've noticed there isn't a python file with models but there is a xml file called ir_model.xml and ir_model_fields.xml.

Without breaking my app, how can I create a new addon using the same names for my model and fields and everything else so that I can switch from using the Odoo Studio custom app to the new app I create in addons?

Awatar
Odrzuć
Autor

Niyas, thank you for responding. Just a quick couple of questions..will only putting the custom fields in the new model suffice or do i need to put in all the base fields that it has when it was created in Studio? Also, will I need to create the views or will the existing ones that it has from Studio work?

Najlepsza odpowiedź

Hi,
First thing, you need to do is define the fields again in the module from python fields, ensure all the related fields/computed fields logic is set, then remove dependency from the studio application in the manifest.

Once it is done, try installing it in a test db where studio is not there and see how it goes.

Thanks

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
kwi 24
953
4
mar 24
3091
4
maj 25
1747
2
maj 25
4991
1
mar 25
1062