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.
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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/21/16, 5:36 PM|
|Seen: 302 times|
|Last updated: 5/11/16, 3:59 PM|