2
0

[IMP]Add some optional fields to loan tree view

This commit is contained in:
matteo.tognini 2023-09-25 13:59:09 +02:00
parent a733d0f596
commit c1f2276a4b
2 changed files with 8 additions and 5 deletions

View File

@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" /> <meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
<title>Account Loan management</title> <title>Account Loan management</title>
<style type="text/css"> <style type="text/css">
/* /*
:Author: David Goodger (goodger@python.org) :Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ :Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Copyright: This stylesheet has been placed in the public domain. :Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils. Default cascading style sheet for the HTML output of Docutils.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
customize this style sheet. customize this style sheet.
*/ */
@ -403,7 +403,7 @@ Moreover, you can check the pending amount to be paid and reduce the debt.</p>
</ul> </ul>
</div> </div>
<div class="section" id="usage"> <div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1> <h1><a class="toc-backref" href="#id1">Usage</a></h1>
<p>To use this module, you need to:</p> <p>To use this module, you need to:</p>
<ol class="arabic simple"> <ol class="arabic simple">
<li>Go to <cite>Invoicing / Accounting &gt; Accounting &gt; Loans</cite></li> <li>Go to <cite>Invoicing / Accounting &gt; Accounting &gt; Loans</cite></li>

View File

@ -20,10 +20,13 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<tree> <tree>
<field name="name" /> <field name="name" />
<field name="partner_id" optional="hide" />
<field name="company_id" /> <field name="company_id" />
<field name="is_leasing" /> <field name="is_leasing" />
<field name="state" /> <field name="state" />
<field name="rate" optional="hide" />
<field name="loan_amount" optional="hide" /> <field name="loan_amount" optional="hide" />
<field name="pending_principal_amount" optional="hide" />
<field name="periods" optional="hide" /> <field name="periods" optional="hide" />
<field name="start_date" optional="hide" /> <field name="start_date" optional="hide" />
</tree> </tree>