Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][ADD] res_partner_expense_link #1934

Open
wants to merge 1 commit into
base: 15.0
Choose a base branch
from

Conversation

Saran440
Copy link
Member

This module add link between partner and expense sheet
Selection_004

@Saran440 Saran440 force-pushed the 15.0-add-res_partner_expense_link branch from 916fbaf to e84b6f3 Compare December 17, 2024 05:21
@rousseldenis rousseldenis added this to the 15.0 milestone Dec 19, 2024
sheet_model = self.env["hr.expense.sheet"]
employee_model = self.env["hr.employee"]
for partner in self:
employee_partner = employee_model.search_read(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think those searches inside the loop are performant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants