diff options
| author | trisusilo48 <tri.susilo@altama.co.id> | 2025-02-24 09:33:28 +0700 |
|---|---|---|
| committer | trisusilo48 <tri.susilo@altama.co.id> | 2025-02-24 09:33:28 +0700 |
| commit | f0d995cc220cefffe65ce308ee234528ddc0d6ed (patch) | |
| tree | f2686554be59796d85c2c9442e10515919f09ced /indoteknik_custom | |
| parent | 92222d326692652b2c4146e0e6040c74f75d4abc (diff) | |
biteship
Diffstat (limited to 'indoteknik_custom')
| -rw-r--r-- | indoteknik_custom/models/public_holiday.py | 4 | ||||
| -rw-r--r-- | indoteknik_custom/views/public_holiday.xml | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/indoteknik_custom/models/public_holiday.py b/indoteknik_custom/models/public_holiday.py index 70b7c53a..851d9080 100644 --- a/indoteknik_custom/models/public_holiday.py +++ b/indoteknik_custom/models/public_holiday.py @@ -6,6 +6,6 @@ class PublicHoliday(models.Model): _description = 'Public Holidays' name = fields.Char(string='Holiday Name', required=True) - start_date = fields.Date('Start Holiday Date', required=True) - end_date = fields.Date('End Holiday Date', required=True) + start_date = fields.Date('Date Holiday', required=True) + # end_date = fields.Date('End Holiday Date', required=True) # company_id = fields.Many2one('res.company', 'Company') diff --git a/indoteknik_custom/views/public_holiday.xml b/indoteknik_custom/views/public_holiday.xml index d0b9c5d5..146c5b0b 100644 --- a/indoteknik_custom/views/public_holiday.xml +++ b/indoteknik_custom/views/public_holiday.xml @@ -22,7 +22,6 @@ <group> <field name="name"/> <field name="start_date"/> - <field name="end_date"/> </group> </sheet> </form> @@ -36,7 +35,6 @@ <tree string="Public Holidays"> <field name="name"/> <field name="start_date"/> - <field name="end_date"/> </tree> </field> </record> |
