Skip to content

Commit

Permalink
[ADD] account_ux: add optional ref in
Browse files Browse the repository at this point in the history
account.view_account_payment_tree
  • Loading branch information
rov-adhoc committed Dec 18, 2023
1 parent cec95ce commit 5c0d1e2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions account_ux/README.rst
Expand Up @@ -46,6 +46,7 @@ Several Improvements to accounting:

#. Add amount_total and amount_untaxed in the invoice tree view as optional and hide fields
#. Make Debit Note Origin field visible and editable by the user in the account.move form view. This will help to link new debit notes with the original invoice when this ones were not created from invoices "Add Debit Note" action button directly.
#. Add field 'ref' in view_account_payment_tree.

Installation
============
Expand Down
1 change: 1 addition & 0 deletions account_ux/__manifest__.py
Expand Up @@ -45,6 +45,7 @@
'views/account_partial_reconcile_views.xml',
'views/account_account_views.xml',
'views/account_move_views.xml',
'views/account_payment_views.xml',
],
'demo': [
],
Expand Down
13 changes: 13 additions & 0 deletions account_ux/views/account_payment_views.xml
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record model="ir.ui.view" id="view_account_payment_tree_personalization">
<field name="name">account.payment.tree.personalization</field>
<field name="model">account.payment</field>
<field name="inherit_id" ref="account.view_account_payment_tree"/>
<field name="arch" type="xml">
<field name="amount_company_currency_signed" position="after">
<field name="ref" string="Memo" optional="hide"/>
</field>
</field>
</record>
</odoo>

0 comments on commit 5c0d1e2

Please sign in to comment.