Skip to content

Conversation

@Tisho99
Copy link
Contributor

@Tisho99 Tisho99 commented Jun 14, 2024

In the vendor bills of the base account module you can select any bank account that belongs to the vendor company, even if the selected vendor is an individual contact of the company.

I think that the bank account field in the purchase should behave the same way. Currently you can not select a bank account if the selected vendor is an individual.

Links of account module:

https://github.com/odoo/odoo/blob/1df4efd64c353bbc6b21f01b7ef12308bdfc9780/addons/account/models/account_move.py#L333
https://github.com/odoo/odoo/blob/1df4efd64c353bbc6b21f01b7ef12308bdfc9780/addons/account/views/account_move_views.xml#L937
https://github.com/odoo/odoo/blob/1df4efd64c353bbc6b21f01b7ef12308bdfc9780/addons/account/models/account_move.py#L1406

T-6102

@Tisho99 Tisho99 changed the title [IMP] account_payment_purchase: let indivual partners have bank accounts in puchase [17.0] [IMP] account_payment_purchase: let indivual partners have bank accounts in puchase Jun 14, 2024
@Tisho99 Tisho99 marked this pull request as ready for review June 14, 2024 12:38
@HaraldPanten
Copy link

@pedrobaeza Doesn't it make sense to you? 🤔

@pedrobaeza pedrobaeza added this to the 17.0 milestone Jul 25, 2024
@HaraldPanten
Copy link

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-1294-by-HaraldPanten-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 138ac82 into OCA:17.0 Jul 25, 2024
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 69b07c5. Thanks a lot for contributing to OCA. ❤️

@HaraldPanten HaraldPanten deleted the 17.0-imp-account_payment_purchase branch July 25, 2024 14:16
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.

4 participants