콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5775 화면

We're using Odoo CE 12. Sometimes we have 100 lines to enter into sale orders, but after add lines one by one, the system starts to slow and shows very bad performance issue. After10 lines, you really feel that it's about to be a turtle. It seems, every line entered, onchange functions are fired for recalculation of amount total, tax…

Is there a way to speed up that process? If so, how can we achieve this?

아바타
취소
베스트 답변

Hi,

For better performance and to avoid loading issues there is many things you can do.

If the system is not configured properly with performance optimization you feel such issues, for performance optimization you can check below points.


1. Multi processing by enabling workers

2. Long polling port

3. Indexing of the table etc. 


Thanks

아바타
취소

Disabling onchanges on the order lines itself is also an option possible (with onchange='0' on the treeview definition)

작성자

1) Yenthe, if you mean a line like the following:

"<field name="invoice_line_ids" onchange="0" nolabel="1"... />"

it seems it did not work.

2) Niyas, I have 9 workers, 8072 longpolling port, but I don't know how the indexes are, how can I check and repair them?

Thanks to you all...

Dear Sir, I hope you are doing well.

May I ask you, Did you solve this issue ? If yes, could you tell me how ? as I face the same issue!

thank you

did you try "<field name="invoice_line_ids" on_change="0" nolabel="1"... />? (on_change with a "_")

https://www.odoo.com/documentation/12.0/reference/orm.html#onchange-updating-ui-on-the-fly

관련 게시물 답글 화면 활동
1
11월 20
6549
0
7월 25
1040
1
7월 25
879
0
2월 25
1920
1
10월 23
2057