This question has been flagged
1 Reply
3005 Views

I have created some new journals. When invoices are marked as paid a payment method is selected. These can be seen in the Form view but the Tree view shows the default "Sales Journal" regardless of payment method.

This is the syntax displaying the Journal name in the Form view:

<field name="journal_id" groups="base.group_user"/>

I'm using the same syntax in the Tree view but get different results.

Any suggestions?

Avatar
Discard
Best Answer

The Journal you are selecting on the Customer Payment is the journal_id of the Customer Payment, not the Customer Invoice, and it already shows on the Tree view of Customer Payments.

Since there can be 0, 1 or multiple payments for an Invoice, it wouldn't work to show the Payment Journal on Invoices - Tree Views are not used to show multiple values in the same field.

Avatar
Discard