跳至内容
菜单
此问题已终结
1 回复
3387 查看

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
3047
0
7月 23
25
1
12月 24
2364
1
12月 23
2288