Restriction on Multiple Scheduling

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:

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

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:

1 Like

Hello @AkshayJadhao

Thank you so much.

You helped me a lot.

Regards,
@Foxdemon96

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

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

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

1 Like

Hello @AkshayJadhao

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

Anyway,

Thank you so much.

Sorry for being nuisance.

Regards,
@Foxdemon96

its ok everyone learn this way :slight_smile:

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

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

Hello @AkshayJadhao

I received IndentationError: expected an indented block

upon changing on meeting.py

regards,
@Foxdemon96

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

Hello you can add field location in your meeting doctype.

Hello @lokesh

Yes I already did it.

Regards.
@Foxdemon96

watch all video series

Sorry about that.

I’ve created meeting doctype and locationmeeting doctype

but I’m using meeting doctype for scheduling meeting

on meeting doctype

I link locationmeeting doctype

compose of color, code, and description

Thanks.

Regards,
@Foxdemon96

Ok. Then now what is the problem?

Hi @lokesh

for example,

Location = US
Location = PH

I Created Meeting on Location US at start 7AM to 8AM for the month of november 2019.

Then one of my team Create same details.

Then

I
Created Meeting on Location US at start 8AM to 9AM for the month of november 2019.
Then

Thanks.

Regards.
@Foxdemon96

First meeting is already created on us with time 7 to 8, if you or your team wants to create another meeting then timing or location should be different. If you dont want this
frappe.msgprint("Sorry! please try again meeting exist already on this date ");

msg to be shown then just remove it from your code.