<template id="qunit_suite" inherit_id="web.qunit_suite">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/academy/static/src/js/tools.js"></script>
<script type="text/javascript" src="/academy/static/tests/academy_tests.js"></script>
<script type="text/javascript" src="/academy/static/tests/academy_tests_field.js"></script>
</xpath>
</template>
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
| <openerp> | |
| <data> | |
| <template id="graph_template"> | |
| <t t-call="website.layout"> | |
| <head> | |
| <title>Graph Web Controller Example</title> | |
| </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
| #!/usr/bin/env python3 | |
| # Run me with sudo ./version.py > result | |
| import csv | |
| import sys | |
| import os | |
| import re | |
| class VersionAnalyzer: | |
| def __init__(self): | |
| self.out = csv.writer(sys.stdout) |
Pos order py
@api.model
def _order_fields(self, ui_order):
res = super()._order_fields(ui_order)
res['carrier_id'] = ui_order.get('carrier_id', False)
return resModels js
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
| # Example config file for ansible -- https://ansible.com/ | |
| # ======================================================= | |
| # Nearly all parameters can be overridden in ansible-playbook | |
| # or with command line flags. Ansible will read ANSIBLE_CONFIG, | |
| # ansible.cfg in the current working directory, .ansible.cfg in | |
| # the home directory, or /etc/ansible/ansible.cfg, whichever it | |
| # finds first | |
| # For a full list of available options, run ansible-config list or see the |
apt install nginx
apt install libnginx-mod-rtmp
apt install ffmpeg
apt install stunnel4vim /etc/nginx/nginx.conf
- Remove http {} and mail {}
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
| # -*- coding: utf-8 -*- | |
| # Part of Odoo. See LICENSE file for full copyright and licensing details. | |
| from odoo import api, models | |
| from odoo.http import request | |
| class Http(models.AbstractModel): | |
| _inherit = 'ir.http' |
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.3' | |
| services: | |
| app: | |
| build: | |
| context: . | |
| dockerfile: services/app/Dockerfile | |
| ports: | |
| - 5000:5000 | |
| networks: |