mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
pre-commit update
This commit is contained in:
committed by
Alexis de Lattre
parent
9ed2ef34ee
commit
c5e28848ad
@@ -1,21 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
© 2014-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<record id="view_order_form" model="ir.ui.view">
|
||||
<field name="name">account_payment_sale.sale_order.form</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="payment_term_id" position="after">
|
||||
<field name="payment_mode_id"
|
||||
domain="[('payment_type', '=', 'inbound')]"
|
||||
options="{'no_open': True, 'no_create': True}"/>
|
||||
<record id="view_order_form" model="ir.ui.view">
|
||||
<field name="name">account_payment_sale.sale_order.form</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="payment_term_id" position="after">
|
||||
<field
|
||||
name="payment_mode_id"
|
||||
domain="[('payment_type', '=', 'inbound')]"
|
||||
options="{'no_open': True, 'no_create': True}"
|
||||
/>
|
||||
</field>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<template id="report_sale_payment_mode" inherit_id="sale.report_saleorder_document">
|
||||
<xpath expr="//p[@t-if='doc.payment_term_id.note']" position="after">
|
||||
<p t-if="doc.payment_mode_id.note" id="payment_mode_note">
|
||||
@@ -9,5 +8,4 @@
|
||||
</p>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user