account
This commit is contained in:
9
accountant/models/account_move.py
Normal file
9
accountant/models/account_move.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from odoo import models
|
||||
|
||||
|
||||
class AccountMove(models.Model):
|
||||
_inherit = 'account.move'
|
||||
|
||||
def _get_invoice_in_payment_state(self):
|
||||
# OVERRIDE to enable the 'in_payment' state on invoices.
|
||||
return 'in_payment'
|
||||
Reference in New Issue
Block a user