Integra el Menú Principal v4 y unifica la firma

Trae a main la rama launcher-v4:

- El lanzador rediseñado a v4: bloques de vidrio sobre el degradado beige,
  cabecera de casa y barra, fila de control maestro con Contactos y
  Empleados, y sin anillo de foco por decisión de diseño.
- La firma «Powered by Collina Systems» en las dos pantallas que la llevan.

Verificado en Chrome (23 comprobaciones contra los valores del diseño) y
con la navegación probada bloque por bloque. beyond_base en verde, 40
pruebas, sin warnings nuevos.

OJO, dos consecuencias visibles al desplegar: la cuenta técnica pierde el
acceso a Facturación, Ajustes, Aplicaciones y Asistencias desde esta
pantalla —quedan solo por URL—, y la fila de control maestro no la verá
ningún rol Beyond, porque Contactos y Empleados están tras
base.group_system.

Los 5 fallos + 1 error de beyond_branch siguen ahí y esta rama no los
toca: uno es podredumbre de la base de desarrollo y cinco son el hueco del
IVA 16%, que se reproduce en una base recién instalada. Pendiente de
decisión.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jorem JuárezandClaude Opus 5 committed 2026-08-23 22:21:54 -06:00
commit 78c86a2eab
5 files changed
+314 -210

No files matched your search

@@ -28,6 +28,11 @@
// · The rule colour graduated (login v1): #DCD8CE was the launcher's
// decorative rule under the title and is now also the login's field
// borders, so it left beyond_launcher.scss as $beyond-line.
// · Launcher v4 added a blue (#3D6A8A, Inventario), two golds (#C69B3A and
// #A87F22, Tableros) and three beiges (#F2EEE4/#EAE4D6/#DFD6C2, the radial
// ground). NONE graduated: all five are the colour-coding and the ground of
// one screen. The login and the kiosk bring their own surfaces; no second
// screen has asked for a beige. They stay local in beyond_launcher.scss.
//
// TYPOGRAPHY — the designs use Manrope. The @font-face rules and the
// $beyond-font-family token live in scss/beyond_fonts.scss, which is listed in
@@ -1,55 +1,106 @@
// =============================================================================
// C-005/C-006 · Beyond launcher v3 (ADR-005)
// C-005/C-006 · Beyond launcher v4 (ADR-005)
//
// Faithful translation of the signed-off "Menú Principal". Every colour,
// radius, size, gap, duration and font weight below comes from that file; the
// few rules that have no counterpart there are marked ENGINEERING and explain
// what they protect against — the design only covers the nominal case.
// Faithful translation of the signed-off "Menú Principal v4". Unlike v3, the
// design arrived as real CSS, so every colour, gradient, radius, blur, shadow
// and duration below is copied from it rather than reconstructed. The rules
// that have no counterpart there are marked ENGINEERING and say what they
// protect against — the design is one artboard and this sits on top of Odoo's
// real apps dropdown.
//
// It is still the native apps dropdown, restyled: the popover is forced full
// screen with :has() + !important, which beats the inline positioning the
// popover service writes. :has() is supported by the target browsers
// (BRIEF §8).
//
// Local, on purpose: the four block colours below are this screen's
// colour-coding, not brand colours, so they are NOT tokens in
// scss/beyond_variables.scss. That file's rule is that a colour graduates to a
// token when a SECOND screen needs it — which is how the purple became
// $beyond-kiosco once the kiosk page and the QR dialog started using it. The
// blue, gold and grey are new in v3 and no second screen uses them yet.
// WHAT CHANGED FROM v3, beyond the paint:
// · The solid colour-coded blocks became glass — a white gradient over the
// module's own tint over $beyond-surface, with a blurred backdrop, a white
// hairline and a shadow in the module's colour. Hover and pressed no
// longer swap a hex: they deepen the same tint.
// · The title "MENÚ PRINCIPAL" is gone; the header is the house and the rule.
// · Contactos left the big blocks and joined Empleados in a new master row
// of small buttons. Row 2 is now two blocks, not three.
// · Tableros went from grey to gold.
// · The catch-all tile row is GONE. See the note over .beyond_launcher_master.
//
// One colour left this file the other way (login v1): the #DCD8CE of the rule
// under the title is now also the login field borders, so it graduated to
// $beyond-line. The orange above stayed put even though the login's error text
// is the same hex — same value, unrelated meaning, and a shared token would
// fuse "Panel General" with "something went wrong".
// PALETTE — the rule in scss/beyond_variables.scss is that a colour graduates
// to a token when a SECOND screen needs it. Nothing graduated in v4 and one
// thing was re-checked:
// · The blue (#3D6A8A) and the two golds (#C69B3A icon, #A87F22 label) are
// this screen's colour-coding for Inventario and Tableros. One screen.
// · The three beiges of the radial gradient are this screen's ground. The
// login and the kiosk have their own; nothing else wants a beige.
// · #C55A22 stays local even though the login's error text is the same hex:
// same value, unrelated meaning (see beyond_variables.scss).
// · The greens, the purple, the inks, $beyond-surface and $beyond-line ARE
// tokens and are used as such — the design happens to reuse them exactly.
// Two v3 locals died with the redesign: the old grey of Tableros (#55606E) and
// the gold of the Contactos block (#A8802C). Neither is referenced any more.
// =============================================================================
// "Panel General"
$beyond-launcher-panel: #C55A22;
$beyond-launcher-panel-hover: #B14E1B;
$beyond-launcher-panel-active: #984115;
// "Inventario"
$beyond-launcher-inventario: #3D6A8A;
$beyond-launcher-inventario-hover: #345C79;
$beyond-launcher-inventario-active: #2C4E67;
// "Contactos"
$beyond-launcher-contactos: #A8802C;
$beyond-launcher-contactos-hover: #957025;
$beyond-launcher-contactos-active: #7F5F1F;
// "Tableros" — the bars and the word are two different golds in the design.
$beyond-launcher-tableros: #C69B3A;
$beyond-launcher-tableros-ink: #A87F22;
// "Tableros"
$beyond-launcher-tableros: #55606E;
$beyond-launcher-tableros-hover: #4A545F;
$beyond-launcher-tableros-active: #3F4750;
// The ground: a radial wash from the top centre.
$beyond-launcher-bg-alto: #F2EEE4;
$beyond-launcher-bg-medio: #EAE4D6;
$beyond-launcher-bg-bajo: #DFD6C2;
// The glass: a white hairline and the sheen that sells the material.
$beyond-launcher-vidrio-borde: rgba(255, 255, 255, 0.85);
$beyond-launcher-vidrio-alto: rgba(255, 255, 255, 0.95);
$beyond-launcher-vidrio-bajo: rgba(255, 255, 255, 0.35);
// Manrope and $beyond-font-family now live in scss/beyond_fonts.scss: the login
// screen needs the same face from web.assets_frontend, and one copy of six
// @font-face rules is enough. That file is listed before this one in
// web.assets_backend, so the variable below is already defined here.
// -----------------------------------------------------------------------------
// The glass of a block.
//
// Three stacked layers, exactly as the design writes them: a white gradient on
// top for the sheen, the module's tint under it, and $beyond-surface at the
// bottom so the stack is opaque. Only the two top layers move between rest,
// hover and pressed; the shadow does not change.
//
// The tint opacities are a parameter and not a constant because the design
// gives Tableros a heavier hand (0.20/0.30/0.38 against everyone else's
// 0.15/0.24/0.30): the gold is the lightest of the five and needs it to read.
// -----------------------------------------------------------------------------
@mixin beyond-vidrio($tinte, $reposo: 0.15, $hover: 0.24, $activo: 0.30) {
background:
linear-gradient(150deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.22) 100%),
linear-gradient(0deg, rgba($tinte, $reposo), rgba($tinte, $reposo)),
$beyond-surface;
box-shadow:
inset 0 1px 0 $beyond-launcher-vidrio-alto,
inset 0 -1px 0 $beyond-launcher-vidrio-bajo,
0 16px 38px rgba($tinte, $reposo);
&:hover {
background:
linear-gradient(150deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 100%),
linear-gradient(0deg, rgba($tinte, $hover), rgba($tinte, $hover)),
$beyond-surface;
}
&:active {
background:
linear-gradient(150deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.15) 100%),
linear-gradient(0deg, rgba($tinte, $activo), rgba($tinte, $activo)),
$beyond-surface;
}
}
// -----------------------------------------------------------------------------
// Full-screen shell
// -----------------------------------------------------------------------------
@@ -67,15 +118,49 @@ $beyond-launcher-tableros-active: #3F4750;
border-radius: 0;
display: flex;
flex-direction: column;
background: $beyond-surface;
background: radial-gradient(120% 90% at 50% 0%,
$beyond-launcher-bg-alto 0%,
$beyond-launcher-bg-medio 55%,
$beyond-launcher-bg-bajo 100%);
color: $beyond-ink;
font-family: $beyond-font-family;
-webkit-font-smoothing: antialiased;
// Nothing scrolls: the design absorbs a short viewport in the icons,
// which shrink with min(140px, 22vh) inside rows that can squash.
overflow: hidden;
// Nothing scrolls: the design absorbs a short viewport in the icons, which
// shrink with the 22vh cap inside rows that can squash.
//
// !important like the geometry above, and for the same reason: the popover
// service writes `overflow-y: auto` INLINE, next to the top/max-height it
// also writes. v3 declared this without !important and quietly lost the
// vertical axis — the screen was one short viewport away from scrolling
// instead of squashing.
overflow: hidden !important;
// The title block
// -------------------------------------------------------------------------
// FOCUS — there is none, anywhere on this screen, and that is the design's
// decision, not an oversight.
//
// Leave it alone. It looks like the classic accessibility bug and it is the
// first thing a reviewer "fixes"; v4 was signed off with the ring removed
// on purpose, so if it needs to come back that is a design change with a
// new artboard, not a patch here. Note the cost so the decision stays
// informed: this screen cannot be driven by sight with the keyboard. It
// still WORKS by keyboard — the dropdown's own arrow/enter navigation is
// untouched — you just cannot see where you are.
//
// :focus and :focus-visible both, and !important, because the reset has to
// beat Bootstrap's .dropdown-item:focus and Odoo's own o-dropdown rules.
// -------------------------------------------------------------------------
.beyond_block,
.beyond_mbtn {
&:focus,
&:focus-visible {
outline: none !important;
}
}
// -------------------------------------------------------------------------
// Header: the house and the rule. v4 dropped the title.
// -------------------------------------------------------------------------
.beyond_launcher_header {
flex: none;
display: flex;
@@ -83,14 +168,14 @@ $beyond-launcher-tableros-active: #3F4750;
align-items: center;
gap: 8px;
padding: 22px 22px 10px;
}
.beyond_launcher_title {
font-size: 34px;
font-weight: 800;
letter-spacing: 0.16em;
text-transform: uppercase;
color: $beyond-ink;
svg {
transition: transform 220ms ease;
&:hover {
transform: scale(1.18);
}
}
}
.beyond_launcher_rule {
@@ -101,7 +186,9 @@ $beyond-launcher-tableros-active: #3F4750;
background: $beyond-line;
}
// The signature, at the foot
// -------------------------------------------------------------------------
// The signature, at the foot. v4 moved it from muted grey to full ink.
// -------------------------------------------------------------------------
.beyond_launcher_brand {
flex: none;
display: flex;
@@ -112,74 +199,47 @@ $beyond-launcher-tableros-active: #3F4750;
font-size: 13px;
font-weight: 600;
letter-spacing: 0.04em;
color: $beyond-ink-muted;
color: $beyond-ink;
}
}
// ENGINEERING — a row with no apps for this role must not leave a ghost
// strip. :has() rather than :empty so template whitespace cannot fool it.
// The catch-all row is empty for every Beyond role, so this is what keeps
// the screen down to the design's six blocks.
.beyond_launcher_band:not(:has(.beyond_block)):not(:has(.beyond_tile)) {
// This is what makes the master row disappear for a Beyond role, which is
// every role: Contactos and Empleados are behind base.group_system.
.beyond_launcher_band:not(:has(.beyond_block)),
.beyond_launcher_master:not(:has(.beyond_mbtn)) {
display: none;
}
// Two rows of three. Both grow, so the blocks split the height evenly.
// Two rows. Both grow, so the blocks split whatever height is left.
.beyond_launcher_band {
display: flex;
gap: 6px;
}
.beyond_launcher_row1,
.beyond_launcher_row2 {
flex: 1;
min-height: 0;
display: flex;
gap: 6px;
}
.beyond_launcher_row1 { padding: 8px 6px 0; }
.beyond_launcher_row2 { padding: 6px 6px 8px; }
// Catch-all row: fixed height under the blocks, so the six blocks keep
// splitting whatever is left.
.beyond_launcher_tiles {
flex: none;
height: 128px;
align-items: center;
gap: 8px;
padding: 0 6px;
// ENGINEERING — the row catches every unmapped app, so it can grow
// past the viewport. Scrolling sideways keeps them reachable without
// breaking the fixed band. Centring is done with auto margins rather
// than justify-content on purpose: centred flex content overflows in
// BOTH directions, pushing the first tiles off the left edge where
// scrolling cannot reach them. Auto margins collapse to 0 once there
// is no free space, so the row simply starts at the left.
justify-content: flex-start;
overflow-x: auto;
.beyond_tile:first-child { margin-inline-start: auto; }
.beyond_tile:last-child { margin-inline-end: auto; }
}
// Reset: DropdownItem renders an <a.dropdown-item>, so Bootstrap's block
// layout, padding, colour and nowrap have to go before the design's own
// box takes over.
// layout, padding, colour and nowrap have to go before the design's own box
// takes over. This is the <a> equivalent of the design's `all: unset`.
.beyond_block,
.beyond_tile {
.beyond_mbtn {
box-sizing: border-box;
display: flex !important;
flex-direction: column;
align-items: center;
width: auto;
background: none;
border: 0;
text-align: center;
text-decoration: none;
cursor: pointer;
}
// -------------------------------------------------------------------------
// Main band: three colour-coded blocks sharing the width
// The blocks
// -------------------------------------------------------------------------
.beyond_block {
flex: 1;
@@ -188,7 +248,9 @@ $beyond-launcher-tableros-active: #3F4750;
justify-content: center;
gap: 28px;
padding: 18px 12px;
border: 1.5px solid $beyond-launcher-vidrio-borde;
border-radius: 28px;
backdrop-filter: blur(16px);
transition: flex-grow 220ms ease, background 180ms ease;
&:hover,
@@ -196,12 +258,16 @@ $beyond-launcher-tableros-active: #3F4750;
flex-grow: 1.18;
}
// Keyboard only. A plain :focus also fires on click, and since the QR
// block answers in place the launcher stays up with a ring around
// whatever the pointer last hit.
&:focus-visible {
outline: 4px solid $beyond-ink;
outline-offset: -6px;
svg {
flex: 0 1 auto;
min-height: 0;
max-height: 100%;
// The design says `width: min(140px, 22vh)`. Written as a pair
// because Sass evaluates a bare min() itself and refuses to compare
// px with vh; the used width is identical.
width: 140px;
max-width: 22vh;
height: auto;
}
}
@@ -209,83 +275,90 @@ $beyond-launcher-tableros-active: #3F4750;
font-size: 28px;
font-weight: 800;
letter-spacing: -0.02em;
color: #FFFFFF;
}
.beyond_block_venta {
background: $beyond-primary;
&:hover { background: $beyond-primary-dark; }
&:active { background: $beyond-primary-darker; }
@include beyond-vidrio($beyond-primary);
.beyond_block_name { color: $beyond-primary; }
}
.beyond_block_panel {
background: $beyond-launcher-panel;
&:hover { background: $beyond-launcher-panel-hover; }
&:active { background: $beyond-launcher-panel-active; }
@include beyond-vidrio($beyond-launcher-panel);
.beyond_block_name { color: $beyond-launcher-panel; }
}
.beyond_block_qr {
background: $beyond-kiosco;
&:hover { background: $beyond-kiosco-dark; }
&:active { background: $beyond-kiosco-darker; }
@include beyond-vidrio($beyond-kiosco);
.beyond_block_name { color: $beyond-kiosco; }
}
.beyond_block_inventario {
background: $beyond-launcher-inventario;
&:hover { background: $beyond-launcher-inventario-hover; }
&:active { background: $beyond-launcher-inventario-active; }
}
.beyond_block_contactos {
background: $beyond-launcher-contactos;
&:hover { background: $beyond-launcher-contactos-hover; }
&:active { background: $beyond-launcher-contactos-active; }
@include beyond-vidrio($beyond-launcher-inventario);
.beyond_block_name { color: $beyond-launcher-inventario; }
}
.beyond_block_tableros {
background: $beyond-launcher-tableros;
&:hover { background: $beyond-launcher-tableros-hover; }
&:active { background: $beyond-launcher-tableros-active; }
@include beyond-vidrio($beyond-launcher-tableros, 0.20, 0.30, 0.38);
.beyond_block_name { color: $beyond-launcher-tableros-ink; }
}
// -------------------------------------------------------------------------
// Catch-all tiles (~132x98, well over the 48px touch floor)
// Master row
//
// Two curated buttons, and only two. v3 ended in a catch-all strip that
// rendered every app the launcher had not mapped; v4 replaced it with this,
// so the strip is gone. That is a real loss of reach for the technical
// account (base.group_system): Facturación, Ajustes, Aplicaciones and
// Asistencias no longer have a door on this screen and are reachable only
// by URL. Deliberate — the design is the six doors and nothing else — but
// written down because it is the kind of thing that gets discovered at the
// worst moment.
//
// Both buttons sit behind base.group_system, so for every Beyond role this
// row renders empty and the rule above collapses it.
// -------------------------------------------------------------------------
.beyond_tile {
.beyond_launcher_master {
flex: none;
width: 132px;
padding: 14px 0;
gap: 10px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 2px 6px 6px;
}
.beyond_mbtn {
// 124 x ~85: comfortably over the 48px touch floor (CLAUDE.md).
width: 124px;
padding: 12px 0;
border: 1.5px solid transparent;
border-radius: 20px;
transition: background 140ms ease;
gap: 8px;
background: none;
transition: background 140ms ease, border-color 140ms ease;
&:hover,
&:focus-visible {
background: $beyond-surface-hover;
&:active {
background:
linear-gradient(150deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.22) 100%),
$beyond-surface;
border-color: $beyond-launcher-vidrio-borde;
}
svg {
width: 36px;
height: 36px;
}
}
.beyond_tile_name {
.beyond_mbtn_name {
font-size: 13px;
font-weight: 700;
color: $beyond-ink-soft;
// ENGINEERING — these names are whatever the app is called; clip them
// rather than let a long one wrap and push the tile out of the band.
// ENGINEERING — the two names are ours and short, but the box is fixed
// at 124px; clip rather than let a translation wrap and shove the row.
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.beyond_tile_icon {
width: 42px;
height: 42px;
object-fit: contain;
}
}
@@ -1,35 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<!--
C-005/C-006 · Beyond launcher v3 (ADR-005).
C-005/C-006 · Beyond launcher v4 (ADR-005).
Still an extension of the native apps menu, not a new screen: the
grid button becomes a house and the dropdown is forced full screen
from the stylesheet. Navigation stays native (DropdownItem,
onSelected, getMenuItemHref, data-menu-xmlid), so hotkeys, keyboard
navigation and group filtering are untouched.
Still an extension of the native apps menu, not a new screen: the grid
button becomes a house and the dropdown is forced full screen from the
stylesheet. Navigation stays native (DropdownItem, onSelected,
getMenuItemHref, data-menu-xmlid), so hotkeys, keyboard navigation and
group filtering are untouched.
v3 is the signed-off "Menú Principal": a title, two rows of three
equal colour-coded blocks, and the signature at the foot. Blocks are
written out one by one rather than looped because each carries its
own inline SVG and its own colour.
v4 is the signed-off "Menú Principal v4": a header of house + rule, two
rows of glass blocks, a master row of two small buttons, and the
signature at the foot. Blocks are written out one by one rather than
looped because each carries its own inline SVG and its own colour.
Six blocks cover everything a Beyond role can see: Punto de venta,
Panel General, Kiosco, Inventario, Contactos y Tableros. What is not a
block lives inside Panel General (Sucursales, Clientes, Catálogo,
Precios por sucursal, Captura, Personal, Checador).
THE MAP — seven apps, and only seven:
Under them the row of small tiles stays as a catch-all, and for a
Beyond role it is always EMPTY — the stylesheet then hides it and the
screen is the design's six blocks, nothing else. It only fills up for
Collina's technical account (base.group_system), which is the one that
still sees Facturación, Empleados, Asistencias, Aplicaciones y
Ajustes: those are hidden from the roles by the menu cleanups, and the
launcher is the only app switcher the web client has, so without this
row that account would have no way in but typing the URL.
Fila 1 Venta point_of_sale.menu_point_root
Panel General beyond_branch.menu_beyond_root
QR beyond_attendance_qr.menu_kiosco_app
Fila 2 Inventario stock.menu_stock_root
Tableros spreadsheet_dashboard.…_menu_root
Maestro Contactos contacts.menu_contacts
Empleados hr.menu_hr_root
Apps are matched by xmlid string, never imported: a module that is
not installed simply never matches (no hard dependency).
What is not a door here lives inside Panel General (Sucursales,
Clientes, Catálogo, Precios por sucursal, Captura, Personal, Checador).
WHAT v4 REMOVED, and it matters: v3 ended in a catch-all strip that
rendered every installed app the launcher had not mapped, so the
technical account (base.group_system) could still reach Facturación,
Ajustes, Aplicaciones y Asistencias from here. v4 replaces that strip
with the two curated master buttons, so those four now have no door on
this screen and are reachable only by URL (/odoo/settings, /odoo/apps).
Deliberate; see the note in beyond_launcher.scss.
Conversaciones (mail.menu_root_discuss) is not mapped and must not be:
it sits behind base.group_no_one by data/menu_cleanup.xml (C-001) and
only exists in developer mode.
Apps are matched by xmlid string, never imported: a module that is not
installed simply never matches (no hard dependency).
-->
<t t-name="beyond_base.NavBar.AppsMenu"
t-inherit="web.NavBar.AppsMenu"
@@ -50,7 +61,10 @@
</xpath>
<xpath expr="//DropdownItem[@t-foreach='apps']" position="replace">
<div class="beyond_launcher_header">
<span class="beyond_launcher_title">Menú Principal</span>
<svg width="38" height="38" viewBox="0 0 24 24" fill="none" aria-hidden="true">
<path d="M3.2 10.1 12 3.2l8.8 6.9v9.1a1.6 1.6 0 0 1-1.6 1.6H4.8a1.6 1.6 0 0 1-1.6-1.6v-9.1Z" stroke="#23201D" stroke-width="1.7" stroke-linejoin="round"/>
<path d="M9.2 20.8v-5.4a2.8 2.8 0 0 1 5.6 0v5.4" stroke="#23201D" stroke-width="1.7" stroke-linejoin="round"/>
</svg>
<span class="beyond_launcher_rule"/>
</div>
@@ -64,9 +78,9 @@
onSelected="() => this.onNavBarDropdownItemSelection(app)"
attrs="{ href: getMenuItemHref(app), 'data-menu-xmlid': app.xmlid, 'data-section': app.id }"
>
<svg width="140" height="140" style="flex: 0 1 auto; min-height: 0; max-height: 100%; width: min(140px, 22vh); height: auto;" viewBox="0 0 48 48" fill="none" aria-hidden="true">
<path d="M11 16h26l3.2 25.3A3.5 3.5 0 0 1 36.7 45H11.3a3.5 3.5 0 0 1-3.5-3.7L11 16Z" fill="#FFFFFF"/>
<path d="M11 16h13v29H11.3a3.5 3.5 0 0 1-3.5-3.7L11 16Z" fill="#FFFFFF" fill-opacity="0.55"/>
<svg viewBox="0 0 48 48" fill="none" aria-hidden="true">
<path d="M11 16h26l3.2 25.3A3.5 3.5 0 0 1 36.7 45H11.3a3.5 3.5 0 0 1-3.5-3.7L11 16Z" fill="#0E6B57"/>
<path d="M11 16h13v29H11.3a3.5 3.5 0 0 1-3.5-3.7L11 16Z" fill="#0E6B57" fill-opacity="0.55"/>
<path d="M16.5 16a7.5 7.5 0 0 1 15 0" stroke="#FFFFFF" stroke-width="4.5" fill="none" stroke-linecap="round"/>
</svg>
<span class="beyond_block_name">Venta</span>
@@ -79,12 +93,12 @@
onSelected="() => this.onNavBarDropdownItemSelection(app)"
attrs="{ href: getMenuItemHref(app), 'data-menu-xmlid': app.xmlid, 'data-section': app.id }"
>
<svg width="140" height="140" style="flex: 0 1 auto; min-height: 0; max-height: 100%; width: min(140px, 22vh); height: auto;" viewBox="0 0 48 48" fill="none" aria-hidden="true">
<rect x="4" y="8" width="40" height="32" rx="5" fill="#FFFFFF"/>
<rect x="9" y="20" width="13" height="15" rx="2.5" fill="#C55A22"/>
<rect x="26" y="20" width="13" height="7" rx="2.5" fill="#C55A22" fill-opacity="0.55"/>
<rect x="26" y="30" width="13" height="5" rx="2.5" fill="#C55A22" fill-opacity="0.55"/>
<rect x="9" y="13" width="30" height="3.5" rx="1.75" fill="#C55A22" fill-opacity="0.35"/>
<svg viewBox="0 0 48 48" fill="none" aria-hidden="true">
<rect x="4" y="8" width="40" height="32" rx="5" fill="#C55A22"/>
<rect x="9" y="20" width="13" height="15" rx="2.5" fill="#FFFFFF"/>
<rect x="26" y="20" width="13" height="7" rx="2.5" fill="#FFFFFF" fill-opacity="0.7"/>
<rect x="26" y="30" width="13" height="5" rx="2.5" fill="#FFFFFF" fill-opacity="0.7"/>
<rect x="9" y="13" width="30" height="3.5" rx="1.75" fill="#FFFFFF" fill-opacity="0.55"/>
</svg>
<span class="beyond_block_name">Panel General</span>
</DropdownItem>
@@ -100,13 +114,13 @@
onSelected="() => this.onNavBarDropdownItemSelection(app)"
attrs="{ href: getMenuItemHref(app), 'data-menu-xmlid': app.xmlid, 'data-section': app.id }"
>
<svg width="140" height="140" style="flex: 0 1 auto; min-height: 0; max-height: 100%; width: min(140px, 22vh); height: auto;" viewBox="0 0 48 48" fill="none" aria-hidden="true">
<rect x="6" y="4" width="36" height="27" rx="4" fill="#FFFFFF"/>
<rect x="21" y="31" width="6" height="8" fill="#FFFFFF" fill-opacity="0.55"/>
<rect x="13" y="39" width="22" height="5" rx="2.5" fill="#FFFFFF" fill-opacity="0.55"/>
<circle cx="24" cy="17.5" r="4.5" fill="#8C4A72"/>
<path d="M31.5 10a10.5 10.5 0 0 1 0 15" stroke="#8C4A72" stroke-width="3" fill="none" stroke-linecap="round"/>
<path d="M16.5 10a10.5 10.5 0 0 0 0 15" stroke="#8C4A72" stroke-width="3" fill="none" stroke-linecap="round"/>
<svg viewBox="0 0 48 48" fill="none" aria-hidden="true">
<rect x="6" y="4" width="36" height="27" rx="4" fill="#8C4A72"/>
<rect x="21" y="31" width="6" height="8" fill="#8C4A72" fill-opacity="0.55"/>
<rect x="13" y="39" width="22" height="5" rx="2.5" fill="#8C4A72" fill-opacity="0.55"/>
<circle cx="24" cy="17.5" r="4.5" fill="#FFFFFF"/>
<path d="M31.5 10a10.5 10.5 0 0 1 0 15" stroke="#FFFFFF" stroke-width="3" fill="none" stroke-linecap="round"/>
<path d="M16.5 10a10.5 10.5 0 0 0 0 15" stroke="#FFFFFF" stroke-width="3" fill="none" stroke-linecap="round"/>
</svg>
<span class="beyond_block_name">QR</span>
</DropdownItem>
@@ -122,32 +136,14 @@
onSelected="() => this.onNavBarDropdownItemSelection(app)"
attrs="{ href: getMenuItemHref(app), 'data-menu-xmlid': app.xmlid, 'data-section': app.id }"
>
<svg width="140" height="140" style="flex: 0 1 auto; min-height: 0; max-height: 100%; width: min(140px, 22vh); height: auto;" viewBox="0 0 48 48" fill="none" aria-hidden="true">
<path d="M24 5l18 9v20l-18 9-18-9V14l18-9Z" fill="#FFFFFF"/>
<path d="M6 14l18 9v20L6 34V14Z" fill="#FFFFFF" fill-opacity="0.55"/>
<path d="M6 14l18 9 18-9" stroke="#3D6A8A" stroke-width="2.5"/>
<svg viewBox="0 0 48 48" fill="none" aria-hidden="true">
<path d="M24 5l18 9v20l-18 9-18-9V14l18-9Z" fill="#3D6A8A"/>
<path d="M6 14l18 9v20L6 34V14Z" fill="#3D6A8A" fill-opacity="0.55"/>
<path d="M6 14l18 9 18-9" stroke="#FFFFFF" stroke-width="2.5"/>
</svg>
<span class="beyond_block_name">Inventario</span>
</DropdownItem>
</t>
<t t-foreach="apps" t-as="app" t-key="app.id">
<DropdownItem
t-if="app.xmlid === 'contacts.menu_contacts'"
class="{ 'o_app': true, 'beyond_block': true, 'beyond_block_contactos': true }"
onSelected="() => this.onNavBarDropdownItemSelection(app)"
attrs="{ href: getMenuItemHref(app), 'data-menu-xmlid': app.xmlid, 'data-section': app.id }"
>
<svg width="140" height="140" style="flex: 0 1 auto; min-height: 0; max-height: 100%; width: min(140px, 22vh); height: auto;" viewBox="0 0 48 48" fill="none" aria-hidden="true">
<rect x="8" y="5" width="32" height="38" rx="6" fill="#FFFFFF"/>
<rect x="4" y="13" width="7" height="4" rx="2" fill="#FFFFFF" fill-opacity="0.55"/>
<rect x="4" y="22" width="7" height="4" rx="2" fill="#FFFFFF" fill-opacity="0.55"/>
<rect x="4" y="31" width="7" height="4" rx="2" fill="#FFFFFF" fill-opacity="0.55"/>
<circle cx="24" cy="19" r="5.5" fill="#A8802C"/>
<path d="M14.5 34c1.6-5 5-7.6 9.5-7.6s7.9 2.6 9.5 7.6h-19Z" fill="#A8802C"/>
</svg>
<span class="beyond_block_name">Contactos</span>
</DropdownItem>
</t>
<t t-foreach="apps" t-as="app" t-key="app.id">
<DropdownItem
t-if="app.xmlid === 'spreadsheet_dashboard.spreadsheet_dashboard_menu_root'"
@@ -155,31 +151,52 @@
onSelected="() => this.onNavBarDropdownItemSelection(app)"
attrs="{ href: getMenuItemHref(app), 'data-menu-xmlid': app.xmlid, 'data-section': app.id }"
>
<svg width="140" height="140" style="flex: 0 1 auto; min-height: 0; max-height: 100%; width: min(140px, 22vh); height: auto;" viewBox="0 0 48 48" fill="none" aria-hidden="true">
<rect x="6" y="27" width="9" height="15" rx="2" fill="#FFFFFF" fill-opacity="0.45"/>
<rect x="19" y="17" width="9" height="25" rx="2" fill="#FFFFFF" fill-opacity="0.7"/>
<rect x="32" y="7" width="9" height="35" rx="2" fill="#FFFFFF"/>
<svg viewBox="0 0 48 48" fill="none" aria-hidden="true">
<rect x="6" y="27" width="9" height="15" rx="2" fill="#C69B3A" fill-opacity="0.45"/>
<rect x="19" y="17" width="9" height="25" rx="2" fill="#C69B3A" fill-opacity="0.7"/>
<rect x="32" y="7" width="9" height="35" rx="2" fill="#C69B3A"/>
</svg>
<span class="beyond_block_name">Tableros</span>
</DropdownItem>
</t>
</div>
<!-- Catch-all. Nothing designed goes here: the six blocks above
are the screen. Anything else the user can see lands here
with its native icon so it stays reachable. -->
<div class="beyond_launcher_band beyond_launcher_tiles">
<t t-set="beyondBlocks"
t-value="['point_of_sale.menu_point_root', 'beyond_branch.menu_beyond_root', 'beyond_attendance_qr.menu_kiosco_app', 'stock.menu_stock_root', 'contacts.menu_contacts', 'spreadsheet_dashboard.spreadsheet_dashboard_menu_root']"/>
<!-- Master row. Two curated buttons, both behind base.group_system,
so for every Beyond role this renders empty and the stylesheet
collapses it. -->
<div class="beyond_launcher_master">
<t t-foreach="apps" t-as="app" t-key="app.id">
<DropdownItem
t-if="!beyondBlocks.includes(app.xmlid)"
class="{ 'o_app': true, 'beyond_tile': true }"
t-if="app.xmlid === 'contacts.menu_contacts'"
class="{ 'o_app': true, 'beyond_mbtn': true }"
onSelected="() => this.onNavBarDropdownItemSelection(app)"
attrs="{ href: getMenuItemHref(app), 'data-menu-xmlid': app.xmlid, 'data-section': app.id }"
>
<img t-if="app.webIconData" class="beyond_tile_icon" t-att-src="app.webIconData" alt=""/>
<span class="beyond_tile_name" t-esc="app.name"/>
<svg viewBox="0 0 48 48" fill="none" aria-hidden="true">
<rect x="7" y="6" width="34" height="36" rx="5" fill="#23201D"/>
<rect x="16" y="6" width="2" height="36" fill="#F6F5F1" fill-opacity="0.35"/>
<circle cx="29" cy="20" r="5.5" fill="#F6F5F1"/>
<path d="M19 35c1.6-4.8 5.2-7.2 10-7.2S37.4 30.2 39 35H19Z" fill="#F6F5F1"/>
</svg>
<span class="beyond_mbtn_name">Contactos</span>
</DropdownItem>
</t>
<t t-foreach="apps" t-as="app" t-key="app.id">
<DropdownItem
t-if="app.xmlid === 'hr.menu_hr_root'"
class="{ 'o_app': true, 'beyond_mbtn': true }"
onSelected="() => this.onNavBarDropdownItemSelection(app)"
attrs="{ href: getMenuItemHref(app), 'data-menu-xmlid': app.xmlid, 'data-section': app.id }"
>
<svg viewBox="0 0 48 48" fill="none" aria-hidden="true">
<circle cx="24" cy="16" r="7.5" fill="#23201D"/>
<path d="M9 41c1.7-8 7.6-12.2 15-12.2S37.3 33 39 41H9Z" fill="#23201D"/>
<circle cx="10" cy="20" r="4.8" fill="#23201D" fill-opacity="0.45"/>
<path d="M1 38c.9-5 4.4-7.7 9.4-7.7V38H1Z" fill="#23201D" fill-opacity="0.45"/>
<circle cx="38" cy="20" r="4.8" fill="#23201D" fill-opacity="0.45"/>
<path d="M47 38c-.9-5-4.4-7.7-9.4-7.7V38H47Z" fill="#23201D" fill-opacity="0.45"/>
</svg>
<span class="beyond_mbtn_name">Empleados</span>
</DropdownItem>
</t>
</div>
+3 -1
View File
@@ -74,7 +74,9 @@ class TestBeyondLogin(HttpCase):
self.assertIn('beyond_login_brand', self.html)
self.assertIn('/beyond_base/static/img/logo_login.png', self.html)
self.assertIn('Iniciar sesión', self.html)
self.assertIn('Tecnología de Collina Systems', self.html)
# La firma es la misma que la del Menú Principal, en inglés y a
# propósito (ver views/login_templates.xml).
self.assertIn('Powered by Collina Systems', self.html)
def test_sin_el_envoltorio_de_odoo(self):
"""Ni la tarjeta de 300px, ni el logo de la compañía encima, ni el pie
+8 -1
View File
@@ -102,8 +102,15 @@
<span class="beyond_login_title">Iniciar sesión</span>
</xpath>
<!-- La firma va en inglés en las dos pantallas que la llevan, esta y el
Menú Principal (webclient/beyond_launcher.xml). Es una excepción
deliberada a la regla 4 de CLAUDE.md — «español en toda cadena
visible» —, decidida el 23-ago-2026: es la marca de Collina, no
una cadena de la interfaz, y valía más que fuera la misma en
ambas que traducida en una y no en la otra. Si cambia, cambian
las dos. -->
<xpath expr="//form[@role='form']" position="after">
<span class="beyond_login_sign">Tecnología de Collina Systems</span>
<span class="beyond_login_sign">Powered by Collina Systems</span>
</xpath>
<!-- See note 1 at the top of this file. -->