Skip to content

Commit

Permalink
TA#68921 [FIX] hr_working_space
Browse files Browse the repository at this point in the history
  • Loading branch information
majouda committed Aug 27, 2024
1 parent 91fe803 commit c830128
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .docker_files/odoo.conf
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test_report_directory = False
translate_modules = ['all']
unaccent = False
without_demo = False
workers = 2
workers = 0
xmlrpc = True
xmlrpc_interface =
xmlrpc_port = 8069
Expand Down
3 changes: 3 additions & 0 deletions gitoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@
branch: "14.0"
includes:
- base_view_inheritance_extension

- url: https://github.com/oca/hr-attendance
branch: "14.0"
2 changes: 1 addition & 1 deletion hr_working_space/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
'name': 'HR Working Space',
'version': '1.1.0',
'version': '1.2.0',
'author': 'Numigi',
'maintainer': 'Numigi',
'license': 'LGPL-3',
Expand Down
1 change: 0 additions & 1 deletion hr_working_space/models/hr_attendance.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class HRWorkingSpace(models.Model):
working_space_id = fields.Many2one(
'hr.working.space',
string='Working Space',
required=True
)


Expand Down
4 changes: 2 additions & 2 deletions hr_working_space/views/hr_attendance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<field name="inherit_id" ref="hr_attendance.hr_attendance_view_form"/>
<field name="arch" type="xml">
<field name="employee_id" position="after">
<field name="working_space_id"/>
<field name="working_space_id" required="1" />
</field>
</field>
</record>
Expand All @@ -16,7 +16,7 @@
<field name="inherit_id" ref="hr_attendance.view_attendance_tree"/>
<field name="arch" type="xml">
<field name="employee_id" position="after">
<field name="working_space_id"/>
<field name="working_space_id" required="1" />
</field>
</field>
</record>
Expand Down

0 comments on commit c830128

Please sign in to comment.