Skip to content

Commit 5cb6b9d

Browse files
committed
[FIX] hvac_services: set the user_id to admin
Steps to reproduce the issue: 1. Delete the user with ID = the value for `base.partner_admin` 2.install `hvac_services` Current behavior before PR: Odoo will set the `user_id` on the project to be the same value as the `base.partner_admin`, which is a partner, not a user. Desired behavior after PR is merged: We use the admin `res.user` for the project's `user_id` field instead of the `res.partner` opw-5171513 closes #1270 X-original-commit: c9a64d9 Signed-off-by: Vallaeys Valentin (vava) <[email protected]> Signed-off-by: Ezzuldin Zaky (ezza) <[email protected]>
1 parent efadecc commit 5cb6b9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hvac_services/data/project_project.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<field name="allow_worksheets" eval="True"/>
1717
<field name="worksheet_template_id" ref="worksheet_template"/>
1818
<field name="allow_quotations" eval="True"/>
19-
<field name="user_id" ref="base.partner_admin"/>
19+
<field name="user_id" ref="base.user_admin"/>
2020
<field name="allow_recurring_tasks" eval="True"/>
2121
</record>
2222
</odoo>

0 commit comments

Comments
 (0)