跳至內容
選單
此問題已被標幟
1 回覆
3427 瀏覽次數

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

頭像
捨棄

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

最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 24
1475
1
7月 23
3116
0
7月 23
25
1
12月 24
2404
1
12月 23
2322