Files
goodie/frontend/stock/static/src/scss/report_stock_rule.scss
Marc 8741282322 Eliminate Python dependency: embed frontend assets in odoo-go
- Copy all OWL frontend assets (JS/CSS/XML/fonts/images) into frontend/
  directory (2925 files, 43MB) — no more runtime reads from Python Odoo
- Replace OdooAddonsPath config with FrontendDir pointing to local frontend/
- Rewire bundle.go, static.go, templates.go, webclient.go to read from
  frontend/ instead of external Python Odoo addons directory
- Auto-detect frontend/ and build/ dirs relative to binary in main.go
- Delete obsolete Python helper scripts (tools/*.py)

The Go server is now fully self-contained: single binary + frontend/ folder.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 23:09:12 +02:00

135 lines
2.8 KiB
SCSS

.o_report_stock_rule {
.table > :not(:first-child) {
border-top: $border-width * 2 solid currentColor;
}
.table {
--table-border-color: #{$o-gray-300};
}
.o_report_stock_rule_rule {
display: flex;
flex-flow: row nowrap;
}
.o_report_stock_rule_legend {
display: flex;
flex-flow: row wrap;
max-width: 1000px;
}
.o_report_stock_rule_legend_line {
flex: 0 1 auto;
display: flex;
flex-flow: row nowrap;
width: 29%;
margin-right: 20px;
margin-left: 20px;
margin-top: 15px;
min-width: 200px;
>.o_report_stock_rule_legend_label {
flex: 1 1 auto;
width: 30%;
min-width: 100px;
}
>.o_report_stock_rule_legend_symbol {
flex: 1 1 auto;
width: 70%;
}
}
.o_report_stock_rule_putaway {
>p {
text-align: center;
color: black;
font-weight: normal;
font-size: 12px
}
}
.o_report_stock_rule_line {
flex: 1 1 auto;
height: 20px;
>line {
stroke: black;
stroke-width: 1;
}
}
.o_report_stock_rule_arrow {
flex: 0 0 auto;
height: 20px;
width: 20px;
>svg {
>line {
stroke: black;
stroke-width: 1;
}
>polygon {
fill: black;
fill-opacity: 0.5;
stroke: black;
stroke-width: 1;
}
}
}
.o_report_stock_rule_vertical_bar {
flex: 0 0 auto;
height: 20px;
width: 2px;
>svg {
>line {
stroke: black;
stroke-width: 2;
}
}
}
.o_report_stock_rule_rule_name {
text-align: center;
}
.o_report_stock_rule_symbol_cell {
border: none !important;
>div {
max-width: 200px;
height: 20px;
}
}
.o_report_stock_rule_rule_main {
height: 100%;
padding-top: 2px;
}
.o_report_stock_rule_location_header {
text-align: center;
>a {
display: block;
&:hover {
text-decoration: none;
cursor: pointer;
background-color: #efefef;
}
>div {
color: black;
}
}
}
.o_report_stock_rule_rule_cell {
padding:0 !important;
>a {
display: block;
&:hover {
text-decoration: none;
cursor: pointer;
background-color: #efefef;
}
}
}
.o_report_stock_rule_rtl {
transform: scaleX(-1);
}
}