Inventory Balance by Lot stock.quant tree,pivot {'search_default_internal_loc': 1, 'group_by': ['company_id', 'product_id', 'lot_id']} Expiry Alerts stock.lot tree,form [('expiration_date', '<=', (context_today() + datetime.timedelta(days=30)).strftime('%Y-%m-%d'))] Intercompany Balances account.move.line tree,pivot [('account_id.account_type', 'in', ['asset_receivable', 'liability_payable'])] {'group_by': ['company_id', 'partner_id']} Profit per Company account.move.line pivot [('account_id.account_type', 'in', ['income', 'income_other', 'expense_direct_cost', 'expense'])] {'group_by': ['company_id', 'account_id']}