diff --git a/addons/laundry_management/views/account_move_views.xml b/addons/laundry_management/views/account_move_views.xml new file mode 100644 index 0000000..abc7870 --- /dev/null +++ b/addons/laundry_management/views/account_move_views.xml @@ -0,0 +1,30 @@ + + + + + + account.move.form.laundry + account.move + + + + + + + + + + + is_laundry_invoice or state != 'posted' or payment_state not in ('not_paid', 'partial', 'in_payment') or move_type not in ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt') or invoice_has_outstanding + + + + + is_laundry_invoice or state != 'posted' or payment_state not in ('not_paid', 'partial', 'in_payment') or move_type not in ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt') or not invoice_has_outstanding + + + + + +