Fleet Management App

Hello,
This is my first app with frappe. It is a module that is currently in the making. So, not production ready. I would love your feedback on this.

to test it out use the following commands:
bench get-app fleet_management https://github.com/dalwadani/fleet_management
bench frappe --install_app fleet_management site1.local
browse the source here: https://github.com/dalwadani/fleet_management




Dhaifallah



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/5622ded8-d930-4d6e-ad23-8befabae8ec8%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
2 Likes
Daifallah - awesome :)

This has been on our list for quite some time.

Do you have a documentation on what you want to do with this? List of features, mockups etc?

best,
Rushabh



@rushabh_mehta

On 25-Aug-2014, at 6:38 pm, Dhaifallah Alwadani <da...@gmail.com> wrote:

Hello,
This is my first app with frappe. It is a module that is currently in the making. So, not production ready. I would love your feedback on this.

to test it out use the following commands:
bench get-app fleet_management https://github.com/dalwadani/fleet_management
bench frappe --install_app fleet_management site1.local




Dhaifallah



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/5622ded8-d930-4d6e-ad23-8befabae8ec8%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/86277298-496F-4D98-8C6A-AC361B4315B0%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
As for now, I am trying to implement these features:
  • Logging:
    • Odometer
    • Fuel (Most cars do not provide accurate reading so I am not sure how to do that.)
  • Scheduling:
    • Schedule maintenance  every X days or Y KM.
  • Tracking:
    • The vehicle status:
      • Active (is beeing used right now) 
      • Available. 
      • Out of service
    • The user (The employee who has the keys).
    • Location:
      • Automatically, GPS
      • Manually.
  • Integrate with ERPNEXT:
    • Add to Chart of accounts as assets.
    • Maintenance expenses.
    • Fuel expenses
    • Insurance expenses

This is just a rough list. I am not sure yet how the final version will look like.

Dhaifallah

On Monday, 25 August 2014 14:19:41 UTC+1, rushabh wrote:
Daifallah - awesome :)

This has been on our list for quite some time.

Do you have a documentation on what you want to do with this? List of features, mockups etc?

best,
Rushabh



@rushabh_mehta

On 25-Aug-2014, at 6:38 pm, Dhaifallah Alwadani <da...@gmail.com> wrote:

Hello,
This is my first app with frappe. It is a module that is currently in the making. So, not production ready. I would love your feedback on this.

to test it out use the following commands:
bench get-app fleet_management https://github.com/dalwadani/fleet_management
bench frappe --install_app fleet_management site1.local




Dhaifallah



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/5622ded8-d930-4d6e-ad23-8befabae8ec8%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/464d9ef6-8d60-41ef-9caa-80954a3eeeb6%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
1 Like
Great - you want to add that to the wiki so that someone can update.

Also do have a look at some of the other fleet management apps out there...

One of the other big things could be vehicle booking and a vehicle calendar



@rushabh_mehta

On 25-Aug-2014, at 8:48 pm, Dhaifallah Alwadani <da...@gmail.com> wrote:

As for now, I am trying to implement these features:
  • Logging:
    • Odometer
    • Fuel (Most cars do not provide accurate reading so I am not sure how to do that.)
  • Scheduling:
    • Schedule maintenance  every X days or Y KM.
  • Tracking:
    • The vehicle status:
      • Active (is beeing used right now) 
      • Available. 
      • Out of service
    • The user (The employee who has the keys).
    • Location:
      • Automatically, GPS
      • Manually.
  • Integrate with ERPNEXT:
    • Add to Chart of accounts as assets.
    • Maintenance expenses.
    • Fuel expenses
    • Insurance expenses

This is just a rough list. I am not sure yet how the final version will look like.

Dhaifallah

On Monday, 25 August 2014 14:19:41 UTC+1, rushabh wrote:
Daifallah - awesome :)

This has been on our list for quite some time.

Do you have a documentation on what you want to do with this? List of features, mockups etc?

best,
Rushabh



@rushabh_mehta

On 25-Aug-2014, at 6:38 pm, Dhaifallah Alwadani <da...@gmail.com> wrote:

Hello,
This is my first app with frappe. It is a module that is currently in the making. So, not production ready. I would love your feedback on this.

to test it out use the following commands:
bench get-app fleet_management https://github.com/dalwadani/fleet_management
bench frappe --install_app fleet_management site1.local




Dhaifallah



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/5622ded8-d930-4d6e-ad23-8befabae8ec8%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/464d9ef6-8d60-41ef-9caa-80954a3eeeb6%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/6D38D7F5-1A78-43B1-95E6-F81991E82802%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.

Hi Dhaifallah,
You did a great job. Bravo!
I installed your Fleet Management App. But it is giving me this error when i tried to open it.

Traceback (innermost last):
File “/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/app.py”, line 49, in application
response = frappe.handler.handle()
File “/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/handler.py”, line 66, in handle
execute_cmd(cmd)
File “/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/handler.py”, line 89, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/init.py”, line 529, in call
return fn(*args, **newargs)
File “/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/widgets/moduleview.py”, line 17, in get
data[0][“label”]: get_section_count(section=data[0])
IndexError: list index out of range

Thanks
Khalid

Hi,
ikhlas@Ikhlas:~/sajid/frappe-bench$ bench frappe --install_app fleet_management ikhlaserp
frappe app is not installed. Run the following command to install frappe
bench get-app frappe GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.92’, ‘console_scripts’, ‘bench’)()
File “/home/ikhlas/sajid/bench-repo/bench/cli.py”, line 46, in cli
return old_frappe_cli()
File “/home/ikhlas/sajid/bench-repo/bench/cli.py”, line 98, in old_frappe_cli
os.execv(f, [f] + sys.argv[2:])
OSError: [Errno 2] No such file or diretory

Will this app become part of the hosted Erpnext??

@becht_robert we still need to find time to test it. Also there needs to be a documentation to start with :smile:

Understand…

@rmehta any progress with the testing of this?

any progress on this issue?

@Pawan you want to try this?

Installed the app, the 2nd command on the latest bench is :
bench install -app fleet_management

@dalwadani how many of the features you listed have been finished and available for now if we install this app?thanks

Done preliminary testing on the app and reported issues in the repository in github

@dalwadani
Not able to install fleet management as per instruction in: GitHub - dalwadani/fleet_management: Frappe app for managing the organization fleet.

bench get-app fleet_management https://github.com/dalwadani/fleet_management
bench frappe --install_app fleet_management site1.local

Current Version:
ERPNext: v7.1.21
Frappe Framework: v7.1.23

@mayar,

can you share the error or traceback ?

try, bench install-app --site site1.local fleet_management.

Thanks, Makarand

1 Like
mayar@erpserver:~$ cd frappe-bench
mayar@erpserver:~/frappe-bench$ bench install-app --site production.local fleet_management
Error: no such option: --site
mayar@erpserver:~/frappe-bench$

@mayar,

sorry, it should be

bench use SITENAME

then

bench install-app APP_NAME.

you can also check the help using the bench install-app --help

Thanks, Makarand