This question has been flagged
1 Reply
3533 Views

I am using Purchase Receipts and these automatically create a Payment when validated.  

This payment is recorded with the MANUAL type instead of CHECK.

This means the AMOUNT IN WORDS is left blank, and does not print on the check.  

How can I resolve this?    

Avatar
Discard
Best Answer

You can create an Automated Action to update the AMOUNT IN WORDS no matter what the payment type is.  

This field is hidden if the Payment Method is not CHECK, so you are just populated a field that will never be seen by the user.  

Code:

for record in records:
record['check_amount_in_words'] = record.currency_id.amount_to_text(record.amount)
Avatar
Discard