You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
2.0 KiB
42 lines
2.0 KiB
<?xml version="1.0"?>
|
|
<odoo>
|
|
<!-- Inherited Form view for the -->
|
|
<record id="view_partner_form" model="ir.ui.view">
|
|
<field name="name">res.partner.form.inherit.customer.credit.payment.website</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
<field eval="1" name="priority"/>
|
|
<field name="arch" type="xml">
|
|
<data>
|
|
<div name="button_box" position="inside">
|
|
<button class="oe_stat_button" type="object"
|
|
name="credit_details"
|
|
icon="fa-usd">
|
|
<field string="Credit" name="credit_amount" widget="statinfo"/>
|
|
</button>
|
|
</div>
|
|
<xpath expr="//page[@name='sales_purchases']/group" position="inside">
|
|
<group name="container_row_stock" priority="6">
|
|
<group string="Allow Credit Payment" name="credit_payment" colspan="2">
|
|
<field name="allow_credit_amount"/>
|
|
</group>
|
|
</group>
|
|
</xpath>
|
|
<xpath expr="/form/sheet/notebook/page[@name='sales_purchases']" position="after">
|
|
<page name="customer_credit_details" string="Customer Credit Details">
|
|
<group string="Update Customer Credit History">
|
|
</group>
|
|
<field name="cust_credit_line_ids" nolabel="1">
|
|
<tree create="false">
|
|
<field name="approve_date"/>
|
|
<field name="amount"/>
|
|
<field name="previous_credit_amount"/>
|
|
<field name="updated_amount"/>
|
|
</tree>
|
|
</field>
|
|
</page>
|
|
</xpath>
|
|
</data>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|