Add oca-web submodule with 68 web modules

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ernad Husremovic 2025-08-30 17:27:15 +02:00
parent af56672c08
commit 53fddf87c8
2469 changed files with 101716 additions and 0 deletions

View file

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template
id="web_layout_pwa"
name="Web layout PWA"
inherit_id="web.webclient_bootstrap"
>
<xpath expr="//t[@t-call-assets='web.assets_common']" position="before">
<!-- Add link rel manifest -->
<link rel="manifest" t-attf-href="/web_pwa_oca/manifest.webmanifest" />
<!-- Add iOS meta tags and icons -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<t
t-set="pwa_name"
t-value="request.env['ir.config_parameter'].sudo().get_param('pwa.manifest.name')"
/>
<meta name="apple-mobile-web-app-title" t-att-content="pwa_name" />
<link
rel="apple-touch-icon"
href="/web_pwa_oca/static/img/icons/icon-152x152.png"
/>
<!-- Add meta theme-color -->
<t
t-set="pwa_theme_color"
t-value="request.env['ir.config_parameter'].sudo().get_param('pwa.manifest.theme_color')"
/>
<meta name="theme-color" t-att-content="pwa_theme_color" />
</xpath>
</template>
</odoo>