Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
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
|Asked: 4/21/16, 5:36 PM|
|Seen: 330 times|
|Last updated: 5/11/16, 3:59 PM|