ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Restriction on Multiple Scheduling


#22

oh sorry i thought you are modifying python file

this way i think is little bit difficult to manage such condition

cant you just change your python code ?


#23

Hello @AkshayJadhao

Sorry about that.

I think I’m not sure if I able to change it
Since I’m new with the ERP.

Thank you for your help on this.

Regards,
@Foxdemon96


#24

its ok

but to manage such condition’s you must have to modify codding so you need to explore how to do it i hope you can do soon :slight_smile:


#25

Hello @AkshayJadhao

Thank you so much for your help.

I have one question

Can you give me any tips regarding on changing py code

by accessing using putty so I able to see all codes that I need to change.

Regards,
@Foxdemon96


#26

ya its simple you have to navigate to your set up directory

for example my setup in development

so i will do

cd developement

next

cd frappe-bench
cd apps
cd erpnext ( if no custom app installed then deafult erpnext or your app name)
cd meeting
cd doctype

now you should able to see the list of files in which you should find meeting.py something like this

now you have to edit it by any editor (i prefer nano editor)

sudo nano meeting.py

now file will open in your putty terminal

now you can edit it and save it and reload your setup

:slight_smile:


#27

Hello @AkshayJadhao

Thank you so much.

You helped me a lot.

Regards,
@Foxdemon96


#28

Hello @AkshayJadhao

is it okay to create meeting.py since I don’t have this, to overwrite existing code.

or I should edit hooky.py to add some codes.

sorry about that… :smiley:

Regards,
@Foxdemon96


#29

Hello @AkshayJadhao

I try to add codes inline with
def add_event(e, date):
but it seems like error persist.

Is it okay to input to the last part of meeting.py

Regards,
@Foxdemon96


#30

first find meeting directory in that there must be meeting.py already available


#31

Hello @AkshayJadhao

I was able to find meeting.py on frappe directory.

Anyway,

Thank you so much.

Sorry for being nuisance.

Regards,
@Foxdemon96


#32

its ok everyone learn this way :slight_smile:


#33

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)


#34

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)


#35

Hello @AkshayJadhao

I received IndentationError: expected an indented block

upon changing on meeting.py

regards,
@Foxdemon96


#36

hii
please share screenshots of your problem.


#37

Hi @lokesh

Thank you,

I already make it on this code

I just receive indentation.

but my problem right now i want to add for location meeting upon scheduling.

I don’t have idea yet since locationmeeting.doctype link to meeting.py

Thanks.

Regards.
@Foxdemon96


#38

Hello you can add field location in your meeting doctype.


#39

Hello @lokesh

Yes I already did it.

Regards.
@Foxdemon96


#40

I dont get your problem please explain it further.


#42

watch all video series