ERPNext Technical Training, Ahmedabad/Gandhinagar, Gujarat

ERPNext Technical Training, Gandhinagar, Gujarat, India

Date : 8th and 9th December, 2017

Participants : @rmehta, @revant_one

Venue : check link below

Tickets : INR 1000 to meet lunch and refreshment expenses.

(Note: You can pay at the event too)


As part of 2 day event, Hotels module (Beta) was developed.
Training was focused to encourage PR based development.
It covers general things required to create a feature in ERPNext.

  • Feature development
  • Docs
  • Tests
  • Git / Pull Requests

Topics / Commit Log

  • Starting New Module
  • Hotel Settings Added
  • Make invoice on Hotel Reservation
  • Hotel Room validation for overbooking
  • Added test fixtures and test for Hotels
  • Added Tests for Hotels
    • Overbooking
    • Pricing not set
  • [WIP] Documentation Hotel Room and Screenshot
  • Added Calendar view for Hotel Room Reservation
  • Added Report - Hotel Room Occupancy

Refer to the Pull Request for details and code.



What’s the status of the hotel module ?

I have a client that has a hotel as part of their group of companies and is looking at erpnext .

Any way I can help to move this forward ?


It is still in under review. It’s only on PR.
Feature helpful for starter. You can book rooms, make invoices from room bookings etc.

Other functionality of you need you can add more features to PR.


Please we are trying to install this on our instance to demo. Is there a link to use?

Best regards

It’s on the mentioned pull request


I wanted to install it know my instance but cannot see the installation file …

It’s on fork of erpnext. You’ll have to test the pull request

Hello @revant_one

I have tried follow the steps and i am stuck on the error message below after running 'git fetch mntechnique consolidation:consolidation ’

fatal: Couldn’t find remote ref consolidation

Any idea how i fix this?

For hotels you have to check hotels branch on my fork

i.e revant:hotels
remote revant GitHub - revant/erpnext: World's best free and open source ERP.
branch hotels

Please see error message below

bench get-app GitHub - revant/erpnext: World's best free and open source ERP. app erpnext
INFO:bench.utils:git clone GitHub - revant/erpnext: World's best free and open source ERP. --depth 1 --origin upstream
fatal: destination path ‘erpnext’ already exists and is not an empty directory.
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/.bench/bench/”, line 40, in cli
File “/usr/local/lib/python2.7/dist-packages/click/”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/frappe/.bench/bench/commands/”, line 32, in get_app
get_app(git_url, branch=branch)
File “/home/frappe/.bench/bench/”, line 65, in get_app
cwd=os.path.join(bench_path, ‘apps’))
File “/home/frappe/.bench/bench/”, line 140, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: git clone GitHub - revant/erpnext: World's best free and open source ERP. --depth 1 --origin upstream