Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3399 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мар. 24
1475
1
июл. 23
3083
0
июл. 23
25
1
дек. 24
2382
1
дек. 23
2304