Giter Site home page Giter Site logo

rbnkoirala / nepalidate Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 57 KB

This Frappe application allows you to use Nepali Date on the Frappe Framework

Home Page: https://github.com/rbnkoirala/nepalidate/wiki

License: MIT License

Python 37.31% JavaScript 32.01% CSS 30.68%
bikram-sambat bikram-samvat custom-app frappe frappe-app frappe-framework nepal nepali-calendar nepali-date-converter erpnext

nepalidate's People

Contributors

ajiragroup avatar rbnkoirala avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

nepalidate's Issues

runtime error

image

### Route

Form/Nepali Date Demo/Nepali Date Demo

### Traceback

Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 110, in application
response = frappe.api.handle(request)
File "apps/frappe/frappe/api/init.py", line 49, in handle
data = endpoint(**arguments)
File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 49, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 85, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/init.py", line 1683, in call
return fn(*args, **newargs)
File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
return func(*args, **kwargs)
File "apps/frappe/frappe/desk/form/load.py", line 34, in getdoc
doc = frappe.get_doc(doctype, name)
File "apps/frappe/frappe/init.py", line 1266, in get_doc
doc = frappe.model.document.get_doc(*args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 80, in get_doc
controller = get_controller(doctype)
File "apps/frappe/frappe/model/base_document.py", line 69, in get_controller
site_controllers[doctype] = import_controller(doctype)
File "apps/frappe/frappe/model/base_document.py", line 99, in import_controller
raise ImportError(
ImportError: Nepali Date Demo

### Request Data

{
"type": "GET",
"args": {
"doctype": "Nepali Date Demo",
"name": "Nepali Date Demo"
},
"headers": {},
"error_handlers": {},
"url": "/api/method/frappe.desk.form.load.getdoc",
"request_id": null
}

### Response Data

{
"exception": "ImportError: Nepali Date Demo",
"exc_type": "ImportError"
}

Feature request: Apply to all date fields.

This current version works by adding a new date data field. Would it be possible to integrate the conversion by replacing the date picker-showing both AD and BS dates together, recording AD date in system while also displaying BS date below or beside the original date field ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.