Skip to content

Conversation

@rov-adhoc
Copy link
Contributor

When creating a downpayment invoice for a sale order and then changing its company using the "Change Company" wizard and do not have a specific downpayment account in the product category, the account used in future invoices (to deduct the downpayment) could belong to the wrong company.

This happened when the product's category lacked a specific downpayment account and the default income account was not shared across companies.

This fix ensures that the account assigned to the downpayment deduction line in the final invoice belongs to the invoice's company. It fetches the proper account from the product's template, taking fiscal position into account.

@roboadhoc
Copy link

When creating a downpayment invoice for a sale order and then
changing its company using the "Change Company" wizard and
do not have a specific downpayment account in the product category, the
account used in future invoices (to deduct the downpayment)
could belong to the wrong company.

This happened when the product's category lacked a specific
downpayment account and the default income account was not
shared across companies.

This fix ensures that the account assigned to the downpayment
deduction line in the final invoice belongs to the invoice's
company. It fetches the proper account from the product's
template, taking fiscal position into account.
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.

2 participants