I use Ubuntu’s Uncomplicated firewall because it is available on Ubuntu and it's very simple.
if ufw is not installed by default be sure to install it first.
| diff --git a/odoo/fields.py b/odoo/fields.py | |
| index e4b153f3982..76caf1f38c5 100644 | |
| --- a/odoo/fields.py | |
| +++ b/odoo/fields.py | |
| @@ -333,6 +333,7 @@ class Field(MetaField('DummyField', (object,), {})): | |
| def __getattr__(self, name): | |
| """ Access non-slot field attribute. """ | |
| + print(name) | |
| try: |
| # Recompute amount_total for account.invoice | |
| env.add_todo(model._fields['amount_total'], object) | |
| model.recompute() | |
| # where | |
| # object - recordset of instances to recompute field for | |
| # model - recordset instances model |
| import os | |
| import sys | |
| import logging | |
| from odoo.service import server | |
| from odoo.tools import misc | |
| """ | |
| Import this file from one loaded Odoo addon. | |
| Update line 20 with path to odoo launcher. |
| /* | |
| * Copyright (C) 2015, Ajax.org B.V. | |
| * This software is available under the Cloud9 SDK License, available from | |
| * https://github.com/c9/core/blob/master/LICENSE. | |
| */ | |
| var net = require("net"); | |
| var debuggedProcessHost = "{DEBUGGED_PROCESS_HOST}"; | |
| var debuggedProcessPort = parseInt("{DEBUGGED_PROCESS_PORT}", 10); |
_____ _ _ _ _____ _ _
|_ _| | | | | | | _ | | | (_)
| | _ __ ___| |_ __ _| | | | | | | __| | ___ ___ _ _ __
| || '_ \/ __| __/ _` | | | | | | |/ _` |/ _ \ / _ \ | | '_ \
_| || | | \__ \ || (_| | | | \ \_/ / (_| | (_) | (_) | | | | | |
\___/_| |_|___/\__\__,_|_|_| \___/ \__,_|\___/ \___/ |_|_| |_|
_ _______ _ _ _ _ _ _ _