This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<group> | |
<span class="o_form_label o_td_label" name="address_name"> | |
Addresse | |
</span> | |
<div class="o_address_format"> | |
<field name="street" placeholder="Rue..." class="o_address_street"/> | |
<field name="street2" placeholder="Rue2..." class="o_address_street"/> | |
<field name="zip_id" options="{'create_name_field': 'city', 'no_open': True, 'no_create': True}" | |
placeholder="City completion" class="oe_edit_only"/> | |
<field name="city" placeholder="Cite" class="o_address_city"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#odoo server | |
upstream odoo { | |
server odoo:8069; | |
} | |
upstream odoochat { | |
server odoo:8072; | |
} | |
map $http_upgrade $connection_upgrade { | |
default upgrade; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#odoo server | |
upstream odoo { | |
server odoo:8069; | |
} | |
upstream odoochat { | |
server odoo:8072; | |
} | |
map $http_upgrade $connection_upgrade { | |
default upgrade; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[options] | |
addons_path = /mnt/extra-addons, | |
admin_passwd = admin_password | |
db_host = postgres | |
db_user = odoo | |
db_password = password | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.9' | |
services: | |
odoo: | |
container_name: odoo | |
image: odoo:16.0 | |
volumes: | |
- ./extra-addons:/mnt/extra-addons | |
- ./etc/odoo:/etc/odoo | |
- odoo-web-data:/var/lib/odoo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>List uploaded files</title> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | |
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous"> | |
</head> | |
<body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Storage; | |
use App\Models\Files; | |
class FilesController extends Controller |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Contact Form</title> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"> | |
<style> | |
/* The switch - the box around the slider */ | |
.switch { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Models\Parameters; | |
class ParametersController extends Controller | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function store(Request $request) | |
{ | |
$this->validate($request, [ | |
'name' => 'required', | |
'email' => 'required', | |
'message' => 'required', | |
'g-recaptcha-response' => 'required|recaptchav3:contact,0.5' | |
]); |
NewerOlder