Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Can I show the Payment Date(s) for my Customer Invoices? Odoo 19

形象
odoo
1 备注
形象
丢弃
形象
odoo
-

Hello,
Currently, invoices do not display the payment date at the view level. You’ll need to implement a customization to include it.

1 答案
0
形象
odoo
最佳答案

You want to create a new Menu that displays records from the account.partial.reconcile model, with custom fields added to pull additional information.

An example:

Here you can see

  • INV/2025/00001 was paid with two payments of $500 each
  • INV/2025/00003 was partially paid with a payment of $200
  • INV/2025/00004 and INV/2025/00005 were paid with the same $1,200 payment
  • INV/2025/00006 was paid with a payment of $10,000 that has an unapplied balance


This approach leverages several additional custom fields:


With XML like this:

<list create="0">
    <field name="x_type" column_invisible="1"/>
    <field name="debit_move_id" string="Invoice Number"/>
    <field name="x_partner" string="Customer"/>
    <field name="x_date" string="Invoice Date"/>
    <field name="x_total" widget="monetary"
options="{'currency_field': 'debit_currency_id'}"/>
    <field name="debit_currency_id" column_invisible="1"/>
    <field name="x_status_in_payment" string="Status" widget="badge"
decoration-info="x_status_in_payment == 'draft'"
decoration-danger="x_status_in_payment == 'cancel'"
decoration-muted="x_status_in_payment in ('posted', 'sent', 'partial')"
decoration-success="x_status_in_payment in ('in_payment', 'paid', 'reversed')"/>
    <field name="x_payment"/>
    <field name="max_date" string="Date"/>
    <field name="x_payment_amount" />
    <field name="credit_amount_currency" string="Applied"/>
    <field name="credit_currency_id" column_invisible="1"/>
</list>


The Window Action would need to filter for just Customer related payments, since we use this same model for Vendor Payments:


Your Odoo Digital Advisor or Odoo Partner can help you if you don't have the technical skills to make these modifications to your database.

形象
丢弃