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.
| # 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 |