Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3440 Lượt xem

Does anyone know why these two invoices are shaded in red (an invoice and a credit note that are not related to each other)? 

Also, I have a few more invoices that are shaded in red; as far as I could see, everything is fine with them?


https://i.ibb.co/bR25HFN/Untitled.png

Ảnh đại diện
Huỷ bỏ

It means there's gap in the invoice sequence and users might want to resequence it.

Câu trả lời hay nhất

The responsible for the shaded in red is the decoration-danger set on the tree view for the computed field called made_sequence_hole(https://github\.com/odoo/odoo/blob/16\.0/addons/account/views/account_move_views\.xml\#L403\)\ is\ a\ boolean\ computed\ field\ wish\ is\ True\ by the\ following\ computed\ method 
https://github.com/odoo/odoo/blob/16.0/addons/account/models/account_move.py#L240

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 24
1475
1
thg 7 23
3135
0
thg 7 23
25
1
thg 12 24
2420
1
thg 12 23
2338