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

add user_author in create recurrence invoice #31219

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

Conversation

atm-jpb
Copy link
Contributor

@atm-jpb atm-jpb commented Oct 1, 2024

Fix: Carry over author ID from recurring invoice template in createRecurringInvoices method

Problem Description

In the createRecurringInvoices method of the facture-rec class, when creating an invoice from a recurring invoice template, the author's ID was not properly carried over to the new invoice. This could lead to a loss of information about the invoice's origin and complicate user action tracking.

Proposed Solution

This PR fixes the issue by ensuring that the author ID from the recurring invoice template is correctly copied to the fk_user_author field of the new invoice during its creation in the createRecurringInvoices method.

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

Successfully merging this pull request may close these issues.

1 participant