Add pay, block and unblock payment buttons to invoice lines to pay
It can be useful for the user to be able to create payment for invoice lines directly from the invoice form.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Add pay buttons on invoice lines to pay
|
||||
|
||||
Version 6.8.0 - 2023-05-01
|
||||
--------------------------
|
||||
|
||||
@@ -119,7 +119,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.button" id="move_line_pay_button">
|
||||
<field name="name">pay</field>
|
||||
<field name="string">Pay Lines</field>
|
||||
<field name="string">Pay</field>
|
||||
<field name="model" search="[('model', '=', 'account.move.line')]"/>
|
||||
</record>
|
||||
<record model="ir.model.button-res.group" id="move_line_pay_button_group_payment">
|
||||
|
||||
@@ -4,5 +4,9 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='amount']" position="after">
|
||||
<field name="payment_amount"/>
|
||||
<button name="pay"/>
|
||||
<button name="payment_block"/>
|
||||
<button name="payment_unblock"/>
|
||||
<field name="payment_blocked" tree_invisible="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user