-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3c6d09
commit f270e42
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2023 Quartile Limited | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Account Invoice View Adjust", | ||
"category": "Invoicing", | ||
"license": "AGPL-3", | ||
"author": "Quartile Limited", | ||
"website": "https://www.quartile.co", | ||
"version": "11.0.1.0.0", | ||
"depends": ['base', 'account'], | ||
"data": ["views/account_invoice_view_adj.xml"], | ||
"installable": True, | ||
} |
17 changes: 17 additions & 0 deletions
17
account_invoice_view_adj/views/account_invoice_view_adj.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<odoo> | ||
<data> | ||
<!-- Inherit the list view to add the 'Responsible' field --> | ||
<record id="view_account_invoice_supplier_tree_inherit" model="ir.ui.view"> | ||
<field name="name">account.invoice.supplier.tree.inherit</field> | ||
<field name="model">account.invoice</field> | ||
<field name="inherit_id" ref="account.invoice_supplier_tree"/> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//tree/field[@name='state']" position="before"> | ||
<!-- Adding the 'Responsible' field --> | ||
<field name="user_id" string="担当者"/> | ||
</xpath> | ||
</field> | ||
</record> | ||
</data> | ||
</odoo> |