Public Access
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b003c221ce | ||
|
|
79f2a71d49 | ||
|
|
729289ef71 | ||
|
|
06ed942f8b | ||
|
|
3d1473a2d5 | ||
|
|
e926f850f7 |
No files matched your search
@@ -1,5 +1,21 @@
|
||||
{
|
||||
"posts": [
|
||||
{
|
||||
"id": "6-tips-to-leverage-the-latest-odoo-management-app-update",
|
||||
"date": "2026-10-08",
|
||||
"area": "news",
|
||||
"headline": "6 Tips to Leverage the Latest Odoo Management App Update",
|
||||
"teaser": "We've just rolled out a major update to the management app preinstalled on your ODOO4project service. Along with a fresh",
|
||||
"link": "blog/posts/6-tips-to-leverage-the-latest-odoo-management-app-update.html"
|
||||
},
|
||||
{
|
||||
"id": "odoo-20-is-live-on-our-servers-with-an-mcp-server-and-free-backups",
|
||||
"date": "2026-10-06",
|
||||
"area": "news",
|
||||
"headline": "Odoo 20 Is Live on Our Servers — With an MCP Server and Free Backups",
|
||||
"teaser": "Two weeks. That is how long it took us to bring up Odoo 20 on our servers, with all of the new features that come with i",
|
||||
"link": "blog/posts/odoo-20-is-live-on-our-servers-with-an-mcp-server-and-free-backups.html"
|
||||
},
|
||||
{
|
||||
"id": "odoo-community-is-going-online-on-odoo4projects",
|
||||
"date": "2026-09-28",
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
<!doctype html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>6 Tips to Leverage the Latest Odoo Management App Update | ODOO4projects</title>
|
||||
<meta name="description" content="We've just rolled out a major update to the management app preinstalled on your ODOO4project service. Along with a fresh new look, we've added several powe" />
|
||||
<link rel="canonical" href="https://odoo4projects.com/blog/posts/6-tips-to-leverage-the-latest-odoo-management-app-update.html" />
|
||||
<meta property="og:title" content="6 Tips to Leverage the Latest Odoo Management App Update" />
|
||||
<meta property="og:description" content="We've just rolled out a major update to the management app preinstalled on your ODOO4project service. Along with a fresh new look, we've added several powe" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:image" content="https://image.office.odoo4projects.com/img/20_4server.png" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<link rel="icon" href="../../images/favicon.ico" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Inter+Tight:wght@500;600;700;800&display=swap" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
|
||||
<link rel="stylesheet" href="../../style.css" />
|
||||
<style>
|
||||
body { background: #0d1b2e; }
|
||||
.blog-post { max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem 6rem; color: #171c26; background: #faf7f1; min-height: 100vh; }
|
||||
.blog-post h1 { font-family: 'Marcellus', Georgia, serif; font-size: 2.4rem; font-weight: 400; margin: 0 0 0.5rem; color: #0d1b2e; }
|
||||
.blog-post .post-meta { font-family: Inter, sans-serif; font-size: 0.82rem; color: rgba(23,28,38,0.6); margin-bottom: 2rem; }
|
||||
.blog-post .post-meta .badge { display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #c9a227; margin-right: 0.75rem; }
|
||||
.blog-post .post-image { width: 100%; border-radius: 0.75rem; margin-bottom: 2rem; box-shadow: 0 2px 8px rgba(13,27,46,0.08); }
|
||||
.blog-post p { font-family: Inter, sans-serif; font-size: 1rem; line-height: 1.7; margin-bottom: 1.2rem; }
|
||||
.blog-post h2 { font-family: 'Marcellus', Georgia, serif; font-size: 1.6rem; font-weight: 400; margin: 2rem 0 0.75rem; color: #0d1b2e; }
|
||||
.blog-post h3 { font-family: 'Marcellus', Georgia, serif; font-size: 1.25rem; font-weight: 400; margin: 1.5rem 0 0.5rem; color: #0d1b2e; }
|
||||
.blog-post ul, .blog-post ol { font-family: Inter, sans-serif; font-size: 1rem; line-height: 1.7; margin-bottom: 1.2rem; padding-left: 1.5rem; }
|
||||
.blog-post li { margin-bottom: 0.3rem; }
|
||||
.blog-post a { color: #8a6f1f; text-decoration: underline; }
|
||||
.blog-post strong { font-weight: 600; }
|
||||
.blog-post blockquote { border-left: 3px solid #c9a227; padding-left: 1rem; margin-left: 0; color: rgba(23,28,38,0.7); font-style: italic; }
|
||||
.back-link { display: inline-block; margin-top: 2rem; font-family: 'Marcellus', Georgia, serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; color: #c9a227; text-decoration: none; }
|
||||
.back-link:hover { text-decoration: underline; }
|
||||
@media (max-width: 600px) { .blog-post h1 { font-size: 1.7rem; } .blog-post { padding: 2rem 1rem 4rem; } }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main class="blog-post">
|
||||
<span class="badge">news</span>
|
||||
<h1>6 Tips to Leverage the Latest Odoo Management App Update</h1>
|
||||
<div class="post-meta">Oct 08, 2026</div>
|
||||
<img src="https://image.office.odoo4projects.com/img/20_4server.png" alt="6 Tips to Leverage the Latest Odoo Management App Update" class="post-image" loading="lazy" />
|
||||
<div class="post-body">
|
||||
<p>We've just rolled out a major update to the management app preinstalled on your ODOO4project service. Along with a fresh new look, we've added several powerful features to make managing your Odoo hosting easier. Here are six practical tips to help you get the most out of them.</p>
|
||||
|
||||
<h3>1. Automate hosting tasks with the new MCP server</h3>
|
||||
<p>The new MCP server lets your agent control your Odoo hosting directly. You can restart the server, upload modules, add or check domains, manage backups, and read logfiles—all without manual intervention. <strong>Tip:</strong> Configure your agent to handle routine maintenance so you can focus on development.</p>
|
||||
|
||||
<h3>2. Download and archive logfiles for easier troubleshooting</h3>
|
||||
<p>You can now download and archive logfiles directly from the app. <strong>Tip:</strong> When debugging an issue, download the relevant logfile to analyze it locally. Archive older logs regularly to keep your system organized and reduce clutter.</p>
|
||||
|
||||
<h3>3. Take advantage of the free backup schema</h3>
|
||||
<p>We've added a free backup schema for everyone to improve data security. <strong>Tip:</strong> Make sure backups are scheduled and test restoring from a backup occasionally to ensure your data is safe.</p>
|
||||
|
||||
<h3>4. Explore the improved AI server management backend</h3>
|
||||
<p>The AI server management backend has been upgraded. <strong>Tip:</strong> Spend a few minutes navigating the new interface—you'll find streamlined workflows that make server management more intuitive.</p>
|
||||
|
||||
<h3>5. Install modules faster with improved GIT support</h3>
|
||||
<p>Module installation via GIT has been improved. <strong>Tip:</strong> Use GIT to install or update modules more efficiently, especially when you need to manage versions or deploy across multiple environments.</p>
|
||||
|
||||
<h3>6. Get instant help from the AI support bot</h3>
|
||||
<p>Our AI support bot has also been improved. <strong>Tip:</strong> When you run into a question, ask the bot first—it's a quick way to get answers without leaving your workflow.</p>
|
||||
|
||||
<p>These updates are designed to save you time and give you more control over your Odoo hosting. Ready to try them out? <a href="https://ODOO4projects.com">Start your free trial on ODOO4projects.com</a>.</p>
|
||||
</div>
|
||||
<a href="../../index.html#blog" class="back-link">← Back to the Blog</a>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,52 @@
|
||||
<!doctype html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Odoo 20 Is Live on Our Servers — With an MCP Server and Free Backups | ODOO4projects</title>
|
||||
<meta name="description" content="Two weeks. That is how long it took us to bring up Odoo 20 on our servers, with all of the new features that come with it. It is live now.But the version u" />
|
||||
<link rel="canonical" href="https://odoo4projects.com/blog/posts/odoo-20-is-live-on-our-servers-with-an-mcp-server-and-free-backups.html" />
|
||||
<meta property="og:title" content="Odoo 20 Is Live on Our Servers — With an MCP Server and Free Backups" />
|
||||
<meta property="og:description" content="Two weeks. That is how long it took us to bring up Odoo 20 on our servers, with all of the new features that come with it. It is live now.But the version u" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:image" content="https://image.office.odoo4projects.com/img/ODOO_20_chatter.png" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<link rel="icon" href="../../images/favicon.ico" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Inter+Tight:wght@500;600;700;800&display=swap" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
|
||||
<link rel="stylesheet" href="../../style.css" />
|
||||
<style>
|
||||
body { background: #0d1b2e; }
|
||||
.blog-post { max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem 6rem; color: #171c26; background: #faf7f1; min-height: 100vh; }
|
||||
.blog-post h1 { font-family: 'Marcellus', Georgia, serif; font-size: 2.4rem; font-weight: 400; margin: 0 0 0.5rem; color: #0d1b2e; }
|
||||
.blog-post .post-meta { font-family: Inter, sans-serif; font-size: 0.82rem; color: rgba(23,28,38,0.6); margin-bottom: 2rem; }
|
||||
.blog-post .post-meta .badge { display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #c9a227; margin-right: 0.75rem; }
|
||||
.blog-post .post-image { width: 100%; border-radius: 0.75rem; margin-bottom: 2rem; box-shadow: 0 2px 8px rgba(13,27,46,0.08); }
|
||||
.blog-post p { font-family: Inter, sans-serif; font-size: 1rem; line-height: 1.7; margin-bottom: 1.2rem; }
|
||||
.blog-post h2 { font-family: 'Marcellus', Georgia, serif; font-size: 1.6rem; font-weight: 400; margin: 2rem 0 0.75rem; color: #0d1b2e; }
|
||||
.blog-post h3 { font-family: 'Marcellus', Georgia, serif; font-size: 1.25rem; font-weight: 400; margin: 1.5rem 0 0.5rem; color: #0d1b2e; }
|
||||
.blog-post ul, .blog-post ol { font-family: Inter, sans-serif; font-size: 1rem; line-height: 1.7; margin-bottom: 1.2rem; padding-left: 1.5rem; }
|
||||
.blog-post li { margin-bottom: 0.3rem; }
|
||||
.blog-post a { color: #8a6f1f; text-decoration: underline; }
|
||||
.blog-post strong { font-weight: 600; }
|
||||
.blog-post blockquote { border-left: 3px solid #c9a227; padding-left: 1rem; margin-left: 0; color: rgba(23,28,38,0.7); font-style: italic; }
|
||||
.back-link { display: inline-block; margin-top: 2rem; font-family: 'Marcellus', Georgia, serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; color: #c9a227; text-decoration: none; }
|
||||
.back-link:hover { text-decoration: underline; }
|
||||
@media (max-width: 600px) { .blog-post h1 { font-size: 1.7rem; } .blog-post { padding: 2rem 1rem 4rem; } }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main class="blog-post">
|
||||
<span class="badge">News</span>
|
||||
<h1>Odoo 20 Is Live on Our Servers — With an MCP Server and Free Backups</h1>
|
||||
<div class="post-meta">Oct 06, 2026</div>
|
||||
<img src="https://image.office.odoo4projects.com/img/ODOO_20_chatter.png" alt="Odoo 20 Is Live on Our Servers — With an MCP Server and Free Backups" class="post-image" loading="lazy" />
|
||||
<div class="post-body">
|
||||
<p>Two weeks. That is how long it took us to bring up Odoo 20 on our servers, with all of the new features that come with it. It is live now.</p><p>But the version upgrade is not the whole story. Alongside it, we shipped a set of updates to our management console — the place where you manage your Odoo hosting from inside Odoo itself.</p><h2>An MCP Server for Your Agent</h2><p>The biggest addition is an MCP server that lets your agent control your Odoo hosting directly. That means an agent can:</p><ul><li>Restart the server</li><li>Upload modules</li><li>Add and check domains</li><li>Manage your backups</li><li>Read the logfiles</li></ul><p>Instead of clicking through menus to handle routine hosting tasks, you can hand them to an agent and stay focused on your actual work.</p><h2>Logfiles You Can Keep</h2><p>Logfiles can now be downloaded and archived. When something needs investigating, you can pull the logs and hold on to them, rather than scrolling through a live view and hoping the relevant lines are still there by the time you look.</p><h2>Free Backups for Everyone</h2><p>We also added a free backup scheme for every customer. Backups are the least glamorous part of hosting and the one you miss most when they are gone. Having a baseline in place for everyone meaningfully improves data security across the board.</p><h2>Better AI Server Management</h2><p>Finally, we improved our AI server management backend — the layer that connects the agent-facing tools to the underlying hosting infrastructure. It is now more capable and better suited to the way these tools are actually used.</p><h2>What It Adds Up To</h2><p>Odoo 20 running on our servers, a console that manages your Odoo from within Odoo, an MCP server that opens hosting tasks up to your agent, downloadable and archivable logfiles, a free backup scheme, and a stronger AI management backend. All of it is available now.</p><p>Take a look at our homepage and sign up for a trial to see how it works in practice.</p>
|
||||
</div>
|
||||
<a href="../../index.html#blog" class="back-link">← Back to the Blog</a>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
+108
-3
@@ -30,6 +30,63 @@
|
||||
]
|
||||
}
|
||||
</script>
|
||||
<script type="application/json" id="agent-skills">
|
||||
{
|
||||
"skills": [
|
||||
{
|
||||
"name": "spin_up_free_trial",
|
||||
"description": "Spin up a free trial of ODOO4projects.",
|
||||
"when_to_use": [
|
||||
"User wants to create an ODOO4projects free trial",
|
||||
"User asks to spin up or provision a trial",
|
||||
"User asks to try ODOO4projects"
|
||||
],
|
||||
"offer": {
|
||||
"type": "free_trial",
|
||||
"available": true
|
||||
},
|
||||
"mcp": {
|
||||
"server": "https://n8n.odoo4projects.com/mcp/trial"
|
||||
},
|
||||
"server_locations": [
|
||||
{
|
||||
"name": "Manchester",
|
||||
"id": "manchester"
|
||||
},
|
||||
{
|
||||
"name": "Sydney",
|
||||
"id": "sydney"
|
||||
},
|
||||
{
|
||||
"name": "Mumbai",
|
||||
"id": "mumbai"
|
||||
},
|
||||
{
|
||||
"name": "São Paulo",
|
||||
"id": "sao-paulo"
|
||||
},
|
||||
{
|
||||
"name": "Meppel",
|
||||
"id": "meppel"
|
||||
},
|
||||
{
|
||||
"name": "Boston",
|
||||
"id": "boston"
|
||||
}
|
||||
],
|
||||
"workflow": [
|
||||
"Use the ODOO4projects trial MCP server to create the free trial.",
|
||||
"If the user specifies a server location, use that location.",
|
||||
"If no server location is specified, ask the user which available location they prefer.",
|
||||
"After signup, the user will receive a confirmation email.",
|
||||
"The user must confirm the trial using the confirmation email.",
|
||||
"After the trial is confirmed, the user will receive their ODOO4projects credentials."
|
||||
],
|
||||
"instruction": "When the user requests a free trial, use the ODOO4projects trial MCP server to provision it. Do not claim that the trial is fully activated until the required email confirmation has been completed. Explain that the user will receive a confirmation email after signup and, once confirmed, will receive their credentials."
|
||||
}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link rel="preconnect" href="https://cdnjs.cloudflare.com" crossorigin />
|
||||
@@ -124,7 +181,24 @@
|
||||
.oca-icon-link:hover{color:var(--brass-bright);transform:scale(1.2)}
|
||||
.oca-empty{text-align:center;padding:2rem;color:rgba(255,255,255,.4);font-style:italic;display:none}
|
||||
.oca-loading{text-align:center;padding:2rem;color:rgba(255,255,255,.4);font-size:.88rem}
|
||||
@media(max-width:600px){.oca-table td,.oca-table th{padding:.5rem .65rem;font-size:.8rem}}
|
||||
/* Custom Quote Modal */
|
||||
.ow-sub{font-size:.95rem;color:rgba(255,255,255,.7);margin-bottom:1.5rem}
|
||||
.ow-panel input[type="text"],.ow-panel textarea{width:100%;padding:.8rem 1rem;border-radius:var(--radius);border:1px solid var(--line-brass);background:rgba(255,255,255,.05);color:#171c26;font-family:Inter,sans-serif;font-size:.88rem;outline:none;transition:border-color .2s,background .2s;box-sizing:border-box}
|
||||
.ow-panel input[type="text"]:focus,.ow-panel textarea:focus{border-color:var(--brass);background:rgba(255,255,255,.08)}
|
||||
.ow-panel textarea{min-height:100px;resize:vertical}
|
||||
.ow-panel textarea::placeholder{color:rgba(23,28,38,.3)}
|
||||
.ow-panel input[type="email"]::placeholder{color:rgba(23,28,38,.3)}
|
||||
.ow-close{background:var(--midnight);border:1px solid var(--line);color:#fff;font-size:2rem;cursor:pointer;line-height:1;position:absolute;right:1rem;top:1rem;transition:color .2s,background .2s;border-radius:var(--radius);width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center}
|
||||
.ow-close:hover{color:var(--brass);background:var(--midnight-2)}
|
||||
/* Custom Quote Modal overrides for biz-field inside ow-panel */
|
||||
#customQuoteModal .biz-field label{color:#171c26}
|
||||
#customQuoteModal .biz-field textarea{color:#171c26}
|
||||
#customQuoteModal .biz-field textarea::placeholder{color:rgba(23,28,38,.3)}
|
||||
#customQuoteModal .biz-field input[type="email"]{color:#171c26}
|
||||
#customQuoteModal .biz-field input[type="email"]::placeholder{color:rgba(23,28,38,.3)}
|
||||
#customQuoteModal .biz-field input[type="text"]{color:#171c26}
|
||||
#customQuoteModal .biz-field input[type="text"]::placeholder{color:rgba(23,28,38,.3)}
|
||||
@media(max-width:600px){.oca-table td,.oca-table th{padding:.5rem .65rem;font-size:.8rem}.ow-panel{left:5%;right:5%}.ow-close{top:.5rem;right:.5rem;font-size:1.6rem}}
|
||||
</style>
|
||||
<link rel="stylesheet" href="style.css" media="print" onload="this.media='all'" />
|
||||
<noscript><link rel="stylesheet" href="style.css" /></noscript>
|
||||
@@ -287,7 +361,7 @@
|
||||
<!-- Pricing -->
|
||||
<section class="section-dark" id="pricing">
|
||||
<div class="container">
|
||||
<p class="section-kicker">Rates & Suites</p>
|
||||
<p class="section-kicker">Order & Pricing</p>
|
||||
<h2 class="section-title">Your Plan, Your Timing: Upgrade Anytime</h2>
|
||||
<div class="pricing-server-row">
|
||||
<label for="pricingServerLocation">Server Location</label>
|
||||
@@ -369,7 +443,7 @@
|
||||
<div class="price-save"></div>
|
||||
</div>
|
||||
<p class="desc">"My house! My Horse! My Server!"</p>
|
||||
<a href="javascript:void(0)" class="btn btn-brass btn-empire" data-plan="Empire" data-price="950.00" data-is-empire="true">Get Custom Quote</a>
|
||||
<a href="javascript:void(0)" class="btn btn-brass btn-empire">Get Custom Quote</a>
|
||||
<ul>
|
||||
<li><i class="fas fa-check" style="color: var(--success)"></i> Our service on your server</li>
|
||||
<li><i class="fas fa-check" style="color: var(--success)"></i> All modules & features</li>
|
||||
@@ -418,6 +492,37 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Custom Quote Modal -->
|
||||
<div id="customQuoteModal" class="ow-overlay" onclick="if(event.target===this)closeCustomQuoteModal()">
|
||||
<div id="customQuotePanel" class="ow-panel" style="display:none">
|
||||
<button class="ow-close" onclick="closeCustomQuoteModal()">×</button>
|
||||
<div class="ow-content">
|
||||
<h2 class="ow-title">Get Custom Quote</h2>
|
||||
<p class="ow-sub">Tell us about your needs and we'll prepare a tailored offer.</p>
|
||||
<form id="customQuoteForm" class="biz-form" style="text-align:left">
|
||||
<div class="biz-field">
|
||||
<label for="cqName">Name</label>
|
||||
<input type="text" id="cqName" placeholder="Your full name" required />
|
||||
</div>
|
||||
<div class="biz-field">
|
||||
<label for="cqEmail">Email</label>
|
||||
<input type="email" id="cqEmail" placeholder="your@email.com" required />
|
||||
</div>
|
||||
<div class="biz-field">
|
||||
<label for="cqRequirements">Your Requirements</label>
|
||||
<textarea id="cqRequirements" placeholder="Describe your requirements (how many users? onsite, cloud? how many workers?)" required></textarea>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-brass btn-lg">Submit Request</button>
|
||||
</form>
|
||||
<div class="biz-success" id="customQuoteSuccess" style="display:none">
|
||||
<i class="fas fa-check-circle"></i>
|
||||
<h3>Request received</h3>
|
||||
<p>We'll review your requirements and get back to you shortly.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Blog -->
|
||||
<section class="blog-section blog-section-light" id="blog">
|
||||
<div class="container">
|
||||
|
||||
+1
-1
@@ -164,7 +164,7 @@ Please note: it does not cover general Odoo usage or functional questions.
|
||||
|
||||
<script>
|
||||
// Configuration - use your webhook
|
||||
const WEBHOOK = 'https://002-001-5dd6e535-4d1c-46bc-9bd9-42ad4bc5f082.odoo4projects.com/webhook/702862fd-dd17-4a34-8efb-e9056d2c50df/chat';
|
||||
const WEBHOOK = 'https://n8n.odoo4projects.com/webhook/960d7f0f-d0ef-42a5-a8f1-79db6a7d70bd/chat';
|
||||
|
||||
const messagesEl = document.getElementById('messagesInner');
|
||||
const input = document.getElementById('messageInput');
|
||||
|
||||
@@ -530,8 +530,9 @@ var si = 0,
|
||||
if (bestServer) {
|
||||
[trialLoc, pricingLoc].forEach(function(el) {
|
||||
if (el) {
|
||||
var cityVal = bestServer.host.replace('api.', '').replace('.odoo4projects.com', '');
|
||||
for (var i = 0; i < el.options.length; i++) {
|
||||
if (el.options[i].value === bestServer.host) {
|
||||
if (el.options[i].value === cityVal) {
|
||||
el.selectedIndex = i;
|
||||
break;
|
||||
}
|
||||
@@ -795,10 +796,74 @@ var si = 0,
|
||||
|
||||
document.querySelectorAll('.btn-empire').forEach(function(btn) {
|
||||
btn.addEventListener('click', function() {
|
||||
var plan = this.getAttribute('data-plan');
|
||||
var price = parseFloat(this.getAttribute('data-price'));
|
||||
var isEmpire = this.getAttribute('data-is-empire') === 'true';
|
||||
if (plan) openOrderWidget(plan, price, isEmpire);
|
||||
openCustomQuoteModal();
|
||||
});
|
||||
});
|
||||
|
||||
/* ---- Custom Quote Modal ---- */
|
||||
function openCustomQuoteModal() {
|
||||
document.getElementById('customQuotePanel').style.display = 'block';
|
||||
document.getElementById('customQuoteModal').style.display = 'flex';
|
||||
}
|
||||
function closeCustomQuoteModal() {
|
||||
document.getElementById('customQuoteModal').style.display = 'none';
|
||||
document.getElementById('customQuoteForm').reset();
|
||||
document.getElementById('customQuoteSuccess').style.display = 'none';
|
||||
}
|
||||
document.addEventListener('keydown', function(e) {
|
||||
if (e.key === 'Escape') {
|
||||
var modal = document.getElementById('customQuoteModal');
|
||||
if (modal && modal.style.display === 'flex') {
|
||||
closeCustomQuoteModal();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/* Submit custom quote form */
|
||||
var customQuoteForm = document.getElementById('customQuoteForm');
|
||||
if (customQuoteForm) {
|
||||
customQuoteForm.addEventListener('submit', function(e) {
|
||||
e.preventDefault();
|
||||
var name = document.getElementById('cqName').value.trim();
|
||||
var email = document.getElementById('cqEmail').value.trim();
|
||||
var requirements = document.getElementById('cqRequirements').value.trim();
|
||||
|
||||
if (!name || !email || !requirements) return;
|
||||
|
||||
var submitBtn = customQuoteForm.querySelector('.btn-lg');
|
||||
submitBtn.textContent = 'Sending...';
|
||||
submitBtn.disabled = true;
|
||||
|
||||
fetch('https://n8n.odoo4projects.com/webhook/ODOO4projects/crm', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify(UTM.inject({
|
||||
name: name,
|
||||
email: email,
|
||||
requirements: requirements
|
||||
}))
|
||||
}).then(function() {
|
||||
customQuoteForm.style.display = 'none';
|
||||
document.getElementById('customQuoteSuccess').style.display = 'block';
|
||||
submitBtn.textContent = 'Submit Request';
|
||||
submitBtn.disabled = false;
|
||||
}).catch(function() {
|
||||
submitBtn.textContent = 'Submit Request';
|
||||
submitBtn.disabled = false;
|
||||
var errorMsg = document.createElement('div');
|
||||
errorMsg.style.marginTop = '1rem';
|
||||
errorMsg.style.color = '#dc3545';
|
||||
errorMsg.textContent = 'Something went wrong. Please try again.';
|
||||
customQuoteForm.appendChild(errorMsg);
|
||||
setTimeout(function() { if(errorMsg.parentNode) errorMsg.parentNode.removeChild(errorMsg); }, 3000);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/* Attach "Get Custom Quote" click handlers to Empire buttons */
|
||||
document.querySelectorAll('.btn-empire').forEach(function(btn) {
|
||||
btn.addEventListener('click', function() {
|
||||
openCustomQuoteModal();
|
||||
});
|
||||
});
|
||||
})();
|
||||
@@ -3,7 +3,7 @@
|
||||
const baseUrl = '/static/agent-odoo4projects';
|
||||
const config = {
|
||||
cssUrl: `${baseUrl}/agent.css`, // CSS file
|
||||
api: `https://002-001-5dd6e535-4d1c-46bc-9bd9-42ad4bc5f082.odoo4projects.com/webhook/702862fd-dd17-4a34-8efb-e9056d2c50df/chat`, // Backend webhook endpoint
|
||||
api: `https://n8n.odoo4projects.com/webhook/960d7f0f-d0ef-42a5-a8f1-79db6a7d70bd/chat`, // Backend webhook endpoint
|
||||
buttonImage: `${baseUrl}/images/4.svg`, // Chat toggle button image
|
||||
logoImage: `${baseUrl}/images/logo.svg`, // Logo image for chat widget
|
||||
preamble: '🤔 This is the ODOO4Projects sales agent 🛠️. Besides Sales, he can help revert module installations or restart your server using your UUID and a confirmation email. 📬 For human follow-up, leave your email.' // Initial bot message
|
||||
|
||||
@@ -663,7 +663,7 @@ img { max-width: 100%; height: auto; vertical-align: middle; }
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.ow-close:hover { background: var(--cream); color: var(--ink); }
|
||||
.ow-content { padding: 2rem; }
|
||||
.ow-content { padding: 2rem; color: var(--ink); }
|
||||
.ow-title { font-family: Marcellus, Georgia, serif; font-size: clamp(1rem, 2vw, 1.24rem); margin-bottom: 0.5rem; color: var(--midnight); }
|
||||
.ow-price { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1rem; }
|
||||
.ow-price .ow-price-amount { font-size: 1rem; font-weight: 600; color: var(--midnight); }
|
||||
|
||||
Reference in new issue
Block a user