How to display integers in the center of tree view in odoo10

Modify the addons/web/static/src/less/list_view.less code, change the right in lines 102 to 105 to center, and then upgrade the web module to take effect globally.

    .o_list_number {
        text-align: right;
        white-space: nowrap;
    }

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324686434&siteId=291194637