Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup instructions, better README #10

Open
subins2000 opened this issue Jan 9, 2020 · 5 comments
Open

Setup instructions, better README #10

subins2000 opened this issue Jan 9, 2020 · 5 comments
Assignees

Comments

@subins2000
Copy link
Member

No description provided.

@subins2000
Copy link
Member Author

@subins2000 @outoftune2000 do this

@yozachar
Copy link

yozachar commented Oct 1, 2020

Quick question: Can this be used with any other ERP at present?

@subins2000
Copy link
Member Author

subins2000 commented Oct 1, 2020

Hi @joe733, it'll depend on how attendance is implemented in the ERP. Our college uses OpenERP and the attendance implementation is done through models (Idk exactly how implementation is done on the server) : https://github.com/FOSSersVAST/vaasu/blob/master/get.py#L20

What we did is trace the background browser requests when we check attendance on the ERP website and automated it into a script.

So using the same code of VAASU and changing libvaasu.py to a different ERP situation, you can make it work.

The file get.py is a simple demo of the working and is not part of the bot

@yozachar
Copy link

yozachar commented Oct 3, 2020

@subins2000 thanks for the elaborate reply. Are you referring to Odoo, when you say OpenERP?

What we did is trace the background browser requests when we check attendance on the ERP website and automated it into a script.

That's clever!

So using the same code of VAASU and changing libvaasu.py to a different ERP situation, you can make it work.

My college uses Linways. Heard they use PHP :/ (I've no idea 'bout it)
I need to check how it's working behind.. Thanks for the info.

@subins2000
Copy link
Member Author

Are you referring to Odoo, when you say OpenERP?

From the looks of it, I don't think our ERP site has been upgraded to the new version of Odoo, it still most likely uses Python2 😬 OpenERP is in Python2 iirc.

My college uses Linways. Heard they use PHP :/ (I've no idea 'bout it)

The easiest way to do this is the one mentioned before, trace and automate :) You can reuse the bot code, you'll only have to change libvaasu.py.

subins2000 added a commit that referenced this issue Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants