Hi,
we are working with a standar Odoo 11 POS module, we use two payment methods (cash and card). We know that a pos order can be paid with both methods (50% - 50% por example), but we just need to show in the order header the first payment method used.
Payment lines are stored in the "statement_ids" of "pos.order", and the field we need to show is "journal_id".
We tried:
1. adding a field in the header "<field name="statement_ids.journal_id"/>
2. adding a field in the header "<field name="statement_ids[0].journal_id"/>
3. adding a new field in the pos.order model using the advanced properties (dependencies, etc.)
But no one seems to work.
Another good option could be to simple be able to add a filter in the "Sales Details" report to show the standard information filtered by the payment method. My customer needs to know the information displayed there (productos sold in a period) but they need to know the payment method used (taking into account they only use one method by order).
Hope someone could help me.
Thanks.