Project

General

Profile

Redmineup CRM and Invoices and Finances

Added by A F about 1 year ago

Hello I am running these three plugins from Redmineup and I find that when I add a payment to an Invoice and at the same time adding it to finance table I get an error. From the production log I can see the following:

I, [2023-03-22T10:42:35.282091 #1087336] INFO -- : [966fce40-7f49-40b8-9e6f-8948b2a5cf55] Completed 500 Internal Server Error in 146ms (ActiveRecord: 48.9ms | Allocations: 15333)
F, [2023-03-22T10:42:35.284484 #1087336] FATAL -- : [966fce40-7f49-40b8-9e6f-8948b2a5cf55]
[966fce40-7f49-40b8-9e6f-8948b2a5cf55] NoMethodError (undefined method `invoices' for #<Operation:0x0000558a98f90b78>):
[966fce40-7f49-40b8-9e6f-8948b2a5cf55]
[966fce40-7f49-40b8-9e6f-8948b2a5cf55] plugins/redmine_contacts_invoices/app/models/invoice_payment.rb:110:in `create_operation'
[966fce40-7f49-40b8-9e6f-8948b2a5cf55] plugins/redmine_contacts_invoices/app/models/invoice_payment.rb:97:in `actualize_operation'
[966fce40-7f49-40b8-9e6f-8948b2a5cf55] plugins/redmine_contacts_invoices/app/controllers/invoice_payments_controller.rb:58:in `create'
[966fce40-7f49-40b8-9e6f-8948b2a5cf55] lib/redmine/sudo_mode.rb:61:in `sudo_mode'


Replies (1)

RE: Redmineup CRM and Invoices and Finances - Added by Dimitar RedmineUP 11 months ago

Hello,

Thanks for the shared logs.

More investigation is needed. Please contact our support team at . Thanks.

Best Regards,
Dimitar from the RedmineUP Support Team

    (1-1/1)