Skip to Content
Menu
This question has been flagged
1 Atsakyti
3466 Rodiniai

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

Portretas
Atmesti

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

Best Answer

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
kov. 24
1475
1
liep. 23
3161
0
liep. 23
25
1
gruod. 24
2442
1
gruod. 23
2390