Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4027 Представления

I am facing an efficiency issue when I try to pay an invoice for a Customer(with 50 contacts or more). When invoice is paid for a customer with no contacts, the time taken to finish the job is significantly low

Now I am trying to figure out where processing of contacts in the Customer is done and why?

For instance:
Customer(with 50 contacts) - 1.5 mins
Customer(with no contact) - 0.25 mins

I need to figure out a way to reduce the amount of time taken for processing payment for an Invoice

Аватар
Отменить
Автор Лучший ответ

Found the issue with last_reconciliation_date being set for all contacts of a partner and removed the value propagation to all Child records

 def _commercial_fields(self, cr, uid, context=None):
        return super(res_partner, self)._commercial_fields(cr, uid, context=context) + \
            ['debit_limit', 'property_account_payable', 'property_account_receivable', 'property_account_position', 'property_payment_term', 'property_supplier_payment_term', 'last_reconciliation_date']

Note: This issue has been resolved with current git v7.0
Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
окт. 23
1007
1
апр. 22
1760
1
апр. 25
136
3
янв. 25
3769
2
июн. 25
2174