[REF] account, hr_org_chart: use correct sub-assets
Some variables were placed at the beginning of the backend helper. While it was working, the normal convention is to place them at the end of the variables helper. closes odoo/odoo#28203
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
$o-account-action-col-width: 15px !default;
|
||||
$o-account-main-table-borders-padding: 3px !default;
|
||||
$o-account-light-border: 1px solid #bbb !default;
|
||||
$o-account-initial-line-background: #f0f0f0 !default;
|
||||
$o-account-info-color: #44c !default;
|
||||
$o-account-action-col-width: 15px;
|
||||
$o-account-main-table-borders-padding: 3px;
|
||||
$o-account-light-border: 1px solid #bbb;
|
||||
$o-account-initial-line-background: #f0f0f0;
|
||||
$o-account-info-color: #44c;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="_assets_backend_helpers" inherit_id="web._assets_backend_helpers">
|
||||
<xpath expr="//link" position="before">
|
||||
<template id="_assets_primary_variables" inherit_id="web._assets_primary_variables">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/account/static/src/scss/variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
$o-hr-org-chart-bg: white !default;
|
||||
$o-hr-org-chart-border-color: $o-brand-secondary !default;
|
||||
$o-hr-org-chart-bg: white;
|
||||
$o-hr-org-chart-border-color: $o-brand-secondary;
|
||||
|
||||
$o-hr-org-chart-entry-v-gap: 6px !default;
|
||||
$o-hr-org-chart-entry-pic-size: 46px !default;
|
||||
$o-hr-org-chart-entry-line-w: 1px !default;
|
||||
$o-hr-org-chart-entry-border-color: darken($o-hr-org-chart-bg, 25%) !default;
|
||||
$o-hr-org-chart-entry-v-gap: 6px;
|
||||
$o-hr-org-chart-entry-pic-size: 46px;
|
||||
$o-hr-org-chart-entry-line-w: 1px;
|
||||
$o-hr-org-chart-entry-border-color: darken($o-hr-org-chart-bg, 25%);
|
||||
|
||||
// MIXINS
|
||||
@mixin o-hr-org-chart-line {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="_assets_backend_helpers" inherit_id="web._assets_backend_helpers">
|
||||
<xpath expr="//link" position="before">
|
||||
<template id="_assets_primary_variables" inherit_id="web._assets_primary_variables">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/hr_org_chart/static/src/scss/variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user