Odoo Help

0

Displaying Journal Name in Customer Invoices - Tree view

By
Mike
on 4/21/16, 5:36 PM 527 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?

1
Ray Carnes
On 4/23/16, 9:27 PM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 4/21/16, 5:36 PM
Seen: 527 times
Last updated: 5/11/16, 3:59 PM