Exporting custom print formats

Hi Guys ,

How to export custom print formats , for a custom script I usually add fixtures = [“Custom Script”] to hooks.py file , the same way will adding fixtures = [“Custom Print”] work in this regard ?

Thanks

Add this in your apps hooks.py

fixtures = ["Print Format"]

1 Like

Try fixtures = [“Print Format”]

1 Like

Thanks a lot @KanchanChauhan and @shivkumar . It works like a charm . By the way I have custom scripts for standard erpnext apps , adding fixtures = [“Custom Script”] only exports the web form and not my custom scripts any help ?

Thanks

@Muthu is your problem simply a question of syntax in hooks.py? To export multiple fixtures this may help Doubt regarding exporting fixtures - #8 by johnskywalker

2 Likes

@clarkej . Thanks a bunch