Hijri(Islamic) Calendar Date Widget

by
Odoo

54.00

v 17.0 Third Party 17
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 327
Technical Name hijri_islamic_calendar
LicenseAGPL-3
Websitehttp://www.bisolv.com
Versions 15.0 16.0 17.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 327
Technical Name hijri_islamic_calendar
LicenseAGPL-3
Websitehttp://www.bisolv.com
Versions 15.0 16.0 17.0

Overview

This module adds widget for the Hijri Date Picker. If you need any help, please contact abdullah@bisolv.com.

Readonly Screen
Edit Screen
USAGE:

Add widget="date_hijri" for Char Field. Then that field will be transformed as Hijri Picker. Applicable only in Form view.

Advanced Features (Optional)

Conversion between Hijri and Gregorian

The module comes with an optional built-in feature for converting between Hijri and Gregorian dates. Two fields have been created to accommodate Hijri and Gregorian input. If you change date of one field will automatically update the other field. This conversion process is happened by the Python package hijri-converter, and you can install it by executing the command pip3 install hijri-converter in the terminal."

STEP 1: Set up two fields - one designated for Gregorian date in the Date() field type, and another for Hijri date in the Char() field type.
STEP 2: In the XML view, Apply the context {'conversion_field_type': 'gregorian'} to the Gregorian field and {'conversion_field_type': 'hijri'} to the Hijri field.
STEP 3: Write an onchange function within the same model that defines the fields. Subsequently, call the onchange_hijri_fields() function, passing the technical name of the Gregorian field as gregorian_field and the technical name of the Hijri field as hijri_field. There is no need to define the onchange_hijri_fields() function.
If you follow these steps, the date will be converted automatically.

Odoo Hijri, Odoo Hijri Date, Odoo Hijri Date Picker, Odoo Islamic Date, Odoo Islamic Date Picker,

Need Support ?

Please contact to abdullah@bisolv.com for support, query and further customizations.
NB: You should have at least access to the server to receive support.

Scan for Skype chat.


www.bisolv.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.