Skip to Content
Menu

Year Picker

by
Odoo
v 18.0 Third Party 5
Download for v 18.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 169
Technical Name year_picker
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 169
Technical Name year_picker
LicenseLGPL-3

Year Picker Widget

Allows users to easily select specific year within Odoo.

Usage

Step 1 — Define a Date Field

Add a Date type field in your Python model:

fiscal_year = fields.Date(string="Fiscal Year")

Step 2 — Use the Widget in XML View

Open your form view and apply the widget="year" to your date field:

<field name="fiscal_year" widget="year"/>

Step 3 — Save and Reload

Save your XML view, upgrade the module, and open the form view. You’ll now see a clean and intuitive year picker field!

Support & Contact

💻 Developer: Malaika Gohar
📧 Email: malaikagohar2003@gmail.com
LinkedIn: linkedin.com/in/malaikagohar

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.