Skip to content

[16.0] account_payment_partner: Don't void the bank on account move if no payment mode #1408

@rousseldenis

Description

@rousseldenis

If no payment mode is set on the account move, the partner bank is voided if already filled in.

https://github.com/OCA/bank-payment/pull/1094/files#diff-560b5e454acd270e25223d56b85967eaec36fe9a08eac999124990650aa32f6cR114

I think this assertion is true for computed fields not stored... :

Now that partner_bank_id is a computed field, we shouldn't set its value
to False if the move is not a vendor bill or doesn't have a payment mode.

So, I will do a fix for that

@grindtildeath

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstalePR/Issue without recent activity, it'll be soon closed automatically.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions